From mboxrd@z Thu Jan 1 00:00:00 1970 From: contact.ng0@cryptolab.net Subject: [PATCH 6/9] gnu: Add python-pytest-httpbin-0.0.7. Date: Sat, 4 Feb 2017 16:35:03 +0000 Message-ID: <20170204163506.16758-7-contact.ng0@cryptolab.net> References: <20170204163506.16758-1-contact.ng0@cryptolab.net> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ca3JW-0005lH-0H for guix-devel@gnu.org; Sat, 04 Feb 2017 11:35:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ca3JS-0008Ax-74 for guix-devel@gnu.org; Sat, 04 Feb 2017 11:35:49 -0500 Received: from aibo.runbox.com ([91.220.196.211]:38684) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ca3JR-0008A9-WF for guix-devel@gnu.org; Sat, 04 Feb 2017 11:35:46 -0500 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1ca3JQ-0007xg-OH for guix-devel@gnu.org; Sat, 04 Feb 2017 17:35:44 +0100 In-Reply-To: <20170204163506.16758-1-contact.ng0@cryptolab.net> 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: guix-devel@gnu.org Cc: ng0 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)) +;; 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))))) + (define-public python-scripttest (package (name "python-scripttest") -- 2.11.0