[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 6/9] gnu: Add python-pytest-httpbin-0.0.7.
From: |
Maxim Cournoyer |
Subject: |
Re: [PATCH 6/9] gnu: Add python-pytest-httpbin-0.0.7. |
Date: |
Sun, 05 Feb 2017 15:22:20 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
address@hidden writes:
> From: ng0 <address@hidden>
>
> * gnu/packages/python.scm (python-pytest-httpbin-0.0.7): New variable.
> ---
> gnu/packages/python.scm | 23 +++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 9c3a031e1..7bdd371b5 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -1975,6 +1975,29 @@ thread running httpbin and provides your test with the
> URL in the fixture.")
> (define-public python2-pytest-httpbin
> (package-with-python2 python-pytest-httpbin))
>
> +;; Some packages like "searx" need this old version.
> +(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-flask" ,python2-flask)
> + ("python2-decorator" ,python2-decorator)
> + ("python2-httpbin" ,python2-httpbin)
> + ("python2-six" ,python2-six)))))
> +
Again, shouldn't those be propagated-inputs? Unless I missed something
this was the recommendation going forward for Python runtime dependencies.
> (define-public python-scripttest
> (package
> (name "python-scripttest")
signature.asc
Description: PGP signature
- [PATCH 9/9] gnu: python-requests: Add python-pysocks to propagated-inputs., (continued)
- [PATCH 9/9] gnu: python-requests: Add python-pysocks to propagated-inputs., contact . ng0, 2017/02/04
- [PATCH 4/9] gnu: Add python-pytest-httpbin., contact . ng0, 2017/02/04
- [PATCH 7/9] gnu: python-pytest: Update to 3.0.5., contact . ng0, 2017/02/04
- [PATCH 3/9] gnu: Add python-httpbin., contact . ng0, 2017/02/04
- [PATCH 2/9] gnu: Add python-gunicorn., contact . ng0, 2017/02/04
- [PATCH 8/9] gnu: python-requests: Update to 2.12.4., contact . ng0, 2017/02/04
- [PATCH 6/9] gnu: Add python-pytest-httpbin-0.0.7., contact . ng0, 2017/02/04
- Re: [PATCH 6/9] gnu: Add python-pytest-httpbin-0.0.7.,
Maxim Cournoyer <=
- [PATCH 5/9] gnu: Add python-pysocks., contact . ng0, 2017/02/04
- Re: Some searx requirements, ng0, 2017/02/04