From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muriithi Frederick Muriuki Subject: [PATCH 03/20] gnu: Add python-pytest-httpbin Date: Fri, 14 Apr 2017 13:13:03 +0300 Message-ID: <20170414101320.11755-3-fredmanglis@gmail.com> References: <20170414101320.11755-1-fredmanglis@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyyDq-0000gK-98 for guix-devel@gnu.org; Fri, 14 Apr 2017 06:12:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyyDp-00059Q-4n for guix-devel@gnu.org; Fri, 14 Apr 2017 06:12:58 -0400 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]:36109) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cyyDo-00059G-Up for guix-devel@gnu.org; Fri, 14 Apr 2017 06:12:57 -0400 Received: by mail-wr0-x243.google.com with SMTP id o21so11970126wrb.3 for ; Fri, 14 Apr 2017 03:12:56 -0700 (PDT) In-Reply-To: <20170414101320.11755-1-fredmanglis@gmail.com> 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: pjotr2017@thebird.nl * gnu/packages/python.scm (python-pytest-httpbin): New variable. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 618b965..73d217b 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -14030,3 +14030,31 @@ scenarios") (define-public python2-httpbin (package-with-python2 python-httpbin)) + +(define-public python-pytest-httpbin + ;; httpretty requires pytest-httpbin==0.0.7 + (package + (name "python-pytest-httpbin") + (version "0.0.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-httpbin" version)) + (sha256 + (base32 + "08ghq923dn33rllip3vap2p9fb680g0i96jdn5lcpfy8amq8mbq3")))) + (build-system python-build-system) + (propagated-inputs + `(("python-six" ,python-six) + ("python-httpbin" ,python-httpbin) + ("python-pytest" ,python-pytest))) + (home-page + "https://github.com/kevin1024/pytest-httpbin") + (synopsis + "Easily test your HTTP library against a local copy of httpbin") + (description + "Easily test your HTTP library against a local copy of httpbin") + (license license:expat))) + +(define-public python2-pytest-httpbin + (package-with-python2 python-pytest-httpbin)) -- 2.10.2