From: Muriithi Frederick Muriuki <fredmanglis@gmail.com>
To: 26524@debbugs.gnu.org
Subject: bug#26524: [PATCH 3/3] gnu: Add python2-httpretty
Date: Sun, 11 Jun 2017 04:07:18 +0300 [thread overview]
Message-ID: <20170611010718.31874-3-fredmanglis@gmail.com> (raw)
In-Reply-To: <20170611010718.31874-1-fredmanglis@gmail.com>
* gnu/packages/python.scm (python2-httpretty): New variable.
---
gnu/packages/python.scm | 51 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f4c7a49b6..b21297bd9 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -15299,3 +15299,54 @@ from your Flask project. It is a fork of Flask-Swagger.")
(define-public python2-flasgger
(package-with-python2 python-flasgger))
+
+(define-public python2-httpretty
+ (package
+ (name "python2-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" ,python2-sphinx-rtd-theme)
+ ("python-sphinx" ,python2-sphinx)
+ ("python-coverage" ,python2-coverage)
+ ("python-tornado" ,python2-tornado)
+ ("python-urllib3" ,python2-urllib3)
+ ("python-sure" ,python2-sure)
+ ("python-steadymark" ,python2-steadymark)
+ ("python-requests" ,python2-requests)
+ ("python-rednose" ,python2-rednose)
+ ("python-nose-randomly" ,python2-nose-randomly)
+ ("python-misaka" ,python2-misaka)
+ ("python-pytest-httpbin" ,python2-pytest-httpbin)
+ ("python-nose" ,python2-nose)))
+ (arguments
+ `(#:tests? #f
+ ;; Requires mock>=1.3.0 which requires a more up-to-date
+ ;; python-pbr. After updating these trying to build the
+ ;; package leads to failures in python-flake8 and other
+ ;; packages. The cascade of updates and failures this
+ ;; leads to, seems to not be worth having the test run.
+ #:python ,python-2
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build
+ 'patch-test-requirements
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Update requirements from dependecy==version
+ ;; to dependency>=version
+ (substitute* "development.txt"
+ (("==") ">="))
+ #t)))))
+ (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
+@code{fakeweb}.")
+ (license license:expat)))
--
2.13.0
next prev parent reply other threads:[~2017-06-11 1:08 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-15 18:59 bug#26524: Add conda and dependencies Frederick Muriithi
2017-04-23 13:21 ` Ricardo Wurmus
2017-04-27 12:34 ` Frederick Muriithi
2017-04-27 13:09 ` Ricardo Wurmus
2017-04-27 15:55 ` bug#26524: [PATCH 1/3] gnu: Add python-radon Muriithi Frederick Muriuki
2017-04-27 15:55 ` bug#26524: [PATCH 2/3] gnu: Add python-httpbin Muriithi Frederick Muriuki
2017-04-27 15:55 ` bug#26524: [PATCH 3/3] gnu: Add python-pytest-httpbin Muriithi Frederick Muriuki
2017-05-25 8:42 ` bug#26524: [PATCH] gnu: Add python-radon Frederick Muriithi
2017-05-27 17:47 ` Leo Famulari
2017-05-28 15:32 ` bug#26524: [PATCH 1/5] gnu: Add python-sure Muriithi Frederick Muriuki
2017-05-28 15:32 ` bug#26524: [PATCH 2/5] gnu: Add python2-couleur Muriithi Frederick Muriuki
2017-06-04 12:29 ` Marius Bakke
2017-05-28 15:32 ` bug#26524: [PATCH 3/5] gnu: Add python-misaka Muriithi Frederick Muriuki
2017-06-04 12:38 ` Marius Bakke
2017-05-28 15:32 ` bug#26524: [PATCH 4/5] gnu: Add python2-steadymark Muriithi Frederick Muriuki
2017-06-04 12:44 ` Marius Bakke
2017-05-28 15:32 ` bug#26524: [PATCH 5/5] gnu: Add python-nose-randomly Muriithi Frederick Muriuki
2017-06-04 12:54 ` Marius Bakke
2017-06-04 12:15 ` bug#26524: [PATCH 1/5] gnu: Add python-sure Marius Bakke
2017-06-11 1:07 ` bug#26524: [PATCH 1/3] gnu: python-sphinx-rtd-theme: Update to 0.2.4 Muriithi Frederick Muriuki
2017-06-11 1:07 ` bug#26524: [PATCH 2/3] gnu: Add python2-rednose Muriithi Frederick Muriuki
2017-06-11 1:07 ` Muriithi Frederick Muriuki [this message]
2017-06-12 19:33 ` [bug#26524] [PATCH 3/3] gnu: Add python2-httpretty Marius Bakke
2017-06-13 12:45 ` Frederick Muriithi
2017-06-14 18:05 ` Marius Bakke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170611010718.31874-3-fredmanglis@gmail.com \
--to=fredmanglis@gmail.com \
--cc=26524@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.