[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 17/20] gnu: Add python-httpretty
From: |
Muriithi Frederick Muriuki |
Subject: |
[PATCH 17/20] gnu: Add python-httpretty |
Date: |
Fri, 14 Apr 2017 13:13:17 +0300 |
* gnu/packages/python.scm (python-httpretty): New variable.
---
gnu/packages/python.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f2355bd..71ea495 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14385,3 +14385,47 @@ This is also for repeatable fuzzy data in tests -
factory boy uses faker for lot
(define-public python2-mock-1.3.0
(package-with-python2 python-mock-1.3.0))
+
+(define-public python-httpretty
+ (package
+ (name "python-httpretty")
+ (version "0.8.14")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "httpretty" version))
+ (sha256
+ (base32
+ "0vlp5qkyw3pxwwsg7xmdcfh1csvypvaz4m6abida8s4xmjxpdhc3"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-sphinx-rtd-theme" ,python-sphinx-rtd-theme-0.1.9)
+ ("python-sphinx" ,python-sphinx-1.3.3)
+ ("python-coverage" ,python-coverage-4.0.3)
+ ("python-tornado" ,python-tornado)
+ ("python-urllib3" ,python-urllib3-1.12)
+ ("python-sure" ,python-sure)
+ ("python-steadymark" ,python-steadymark)
+ ("python-requests" ,python-requests-2.8.1)
+ ("python-rednose" ,python-rednose-0.4.3)
+ ("python-nose-randomly" ,python-nose-randomly)
+ ("python-mock" ,python-mock-1.3.0)
+ ("python-misaka" ,python-misaka)
+ ("python-pytest-httpbin" ,python-pytest-httpbin)))
+ (arguments
+ `(;; One of ipdb's dependency keeps failing with a response
+ ;; of 410, "Gone"
+ ;; The dependency seems to have a name "texlive-texmf-2016"
+ ;; and seems to be one of texlive's dependencies
+ ;; As such, the tests for this will fail due to the missing
+ ;; dependency ("python-ipdb" ,python-ipdb)
+ #:tests? #f))
+ (home-page
+ "http://github.com/gabrielfalcao/httpretty")
+ (synopsis "HTTP client mock for Python")
+ (description "@code{httpretty} is a helper for faking web requests,
inspired by Ruby's
address@hidden")
+ (license license:expat)))
+
+(define-public python2-httpretty
+ (package-with-python2 python-httpretty))
--
2.10.2
- [PATCH 07/20] gnu: Add python-urllib3-1.12, (continued)
- [PATCH 07/20] gnu: Add python-urllib3-1.12, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 08/20] gnu: Add python-sure, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 09/20] gnu: Add python-couleur, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 10/20] gnu: Add python-misaka, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 11/20] gnu: Add python-steadymark, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 12/20] gnu: Add python-requests-2.8.1, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 13/20] gnu: Add python-rednose-0.4.3, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 14/20] gnu: Add python-nose-randomly, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 15/20] gnu: Add python-pbr-2.0.0, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 16/20] gnu: Add python-mock-1.3.0, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 17/20] gnu: Add python-httpretty,
Muriithi Frederick Muriuki <=
- [PATCH 18/20] gnu: Add python-pyyaml-3.11, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 19/20] gnu: Add python-requests-2.10.0, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 20/20] gnu: Add python-xenon, Muriithi Frederick Muriuki, 2017/04/14
- Re: [PATCH 01/20] gnu: Add python-radon, ng0, 2017/04/14
- Re: [PATCH 01/20] gnu: Add python-radon, Hartmut Goebel, 2017/04/15
- Re: [PATCH 01/20] gnu: Add python-radon, Leo Famulari, 2017/04/17