guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 11/11] gnu: Add python-pytest-httpbin-0.0.7.


From: ng0
Subject: Re: [PATCH 11/11] gnu: Add python-pytest-httpbin-0.0.7.
Date: Tue, 13 Sep 2016 01:43:59 +0000

ng0 <address@hidden> writes:

> * gnu/packages/python.scm (python-pytest-httpbin-0.0.7): New variable.
> ---
>  gnu/packages/python.scm | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 5f7f8e0..64135d2 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -1777,6 +1777,28 @@ thread running httpbin and provides your test with the 
> URL in the fixture.")
>                ("python2-httpbin" ,python2-httpbin)
>                ("python2-six" ,python2-six)))))
>  
> +(define-public python-pytest-httpbin-0.0.7
> +  (package
> +    (inherit python-pytest-httpbin)
> +    (version "0.0.7")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "pytest-httpbin" version))
> +       (sha256
> +        (base32
> +         "08ghq923dn33rllip3vap2p9fb680g0i96jdn5lcpfy8amq8mbq3"))))))
> +
> +(define-public python2-pytest-httpbin-0.0.7
> +  (package
> +    (inherit (package-with-python2
> +              (strip-python2-variant python-pytest-httpbin-0.0.7)))
> +    (inputs `(("python2-setuptools" ,python2-setuptools)
> +              ("python2-flask" ,python2-flask)
> +              ("python2-decorator" ,python2-decorator)
> +              ("python2-httpbin" ,python2-httpbin)
> +              ("python2-six" ,python2-six)))))
> +
>  (define-public python-pytest-runner
>    (package
>      (name "python-pytest-runner")
> -- 
> 2.10.0
>
>

I forgot to comment this when I reworked the patch:
This is needed for python-requests 2.10.0 and later (current: 2.11.1),
however I had to stop at this point for now because pytest needed an
update which leads to further problems.
All of this is to establish a base for packaging searx, an AGPL3 search
engine.
-- 
ng0
For non-prism friendly talk find me on http://www.psyced.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]