[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
- [PATCH 01/11] gnu: python-certifi: Update to 2016.8.31., ng0, 2016/09/12
- [PATCH 06/11] gnu: python-pygments: Update to 2.1.3., ng0, 2016/09/12
- [PATCH 11/11] gnu: Add python-pytest-httpbin-0.0.7., ng0, 2016/09/12
- [PATCH 05/11] gnu: python-pyasn1: Update to 0.1.9., ng0, 2016/09/12
- [PATCH 03/11] gnu: Add python-flask-babel., ng0, 2016/09/12
- [PATCH 10/11] gnu: Add python-pysocks., ng0, 2016/09/12
- [PATCH 08/11] gnu: Add python-httpbin., ng0, 2016/09/12