From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: <8737fs8bpv.fsf@gmail.com> References: <20170204163506.16758-1-contact.ng0@cryptolab.net> <20170204163506.16758-7-contact.ng0@cryptolab.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1caW8W-0002dt-4U for guix-devel@gnu.org; Sun, 05 Feb 2017 18:22:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1caW8V-0003Wp-52 for guix-devel@gnu.org; Sun, 05 Feb 2017 18:22:24 -0500 Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]:33730) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1caW8U-0003Wg-Ud for guix-devel@gnu.org; Sun, 05 Feb 2017 18:22:23 -0500 Received: by mail-pg0-x243.google.com with SMTP id 194so7382734pgd.0 for ; Sun, 05 Feb 2017 15:22:22 -0800 (PST) In-Reply-To: <20170204163506.16758-7-contact.ng0@cryptolab.net> (contact's message of "Sat, 4 Feb 2017 16:35:03 +0000") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: contact.ng0@cryptolab.net Cc: guix-devel@gnu.org, ng0 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable contact.ng0@cryptolab.net writes: > From: ng0 > > * 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)) >=20=20 > +;; 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") --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJ9WGpPiQCFQyn/CfEmDkZILmNWIFAliXs6wACgkQEmDkZILm NWLLBRAAjoey8m8MYbr8daLy5qlqRO/HLnvaZROBNJVaR/EJel0FAATLec4xK7MP FP5ELGIZ/i6GH0tEezvHQ0dDgfrpzGUaSW4XJIWYlNCceTHiEbwoeDLHuUoGoTYc RIiKaW5vLafyatgWY77mENTs0ZzU9A3oB3YGY6u/97YmKMrCNyjO6I1bg97rohIb PUUm4iIt1kWcJLEtbzf/OGTvkCtwpObwwOfVPuEp5M3e5xJ7WPiy/Ogop8i3pD8z WqwPVyfHKADx03u9gkLWKHBS/+TUczKlYKXRxmb0s9QlYYdc143zcqBzyTCY5XKH 4gwZlZU0VJQtR+klBsKhtWzJn6HMI/xYC8b57m3VOyuTpzbNCqHA+h0HoaOjNKQG feemyrcgXnwnhXqfISDvNi07osOsJ5gVeVnocfXu4PrACwpUpFZebJxENL/eEJzW IGa3BN34lNuSaRqqyBCydGwLZoeTl11oMPGtWaLtuJJEYFlvCeCa+TZ/xtzw1c9d hw7YwiG+x2ZNDw5+iWDHo/6hvMIssFgN3VgAyut8cs22fvU9mrp7BI12fMfELg5Y 3CYZphrV+xdpEhe8JPjli9NaOhsF8amPO9PBd7gS1XTVLSl4sxqaI4SqYS9n674h fAl3crsUXA3XrcuUuIz+va3dNrQpZH2VUYDlxx/2A8YeC4OvStc= =2JzO -----END PGP SIGNATURE----- --=-=-=--