all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#27383] [PATCH] Add python2-httpretty
@ 2017-06-15 16:05 Muriithi Frederick Muriuki
  2017-06-15 16:05 ` [bug#27384] [PATCH] gnu: " Muriithi Frederick Muriuki
  2017-08-01 12:28 ` bug#27383: patch committed June 17 Efraim Flashner
  0 siblings, 2 replies; 4+ messages in thread
From: Muriithi Frederick Muriuki @ 2017-06-15 16:05 UTC (permalink / raw)
  To: 27383

This is a dependency of conda.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#27384] [PATCH] gnu: Add python2-httpretty
  2017-06-15 16:05 [bug#27383] [PATCH] Add python2-httpretty Muriithi Frederick Muriuki
@ 2017-06-15 16:05 ` Muriithi Frederick Muriuki
  2017-06-17 13:55   ` bug#27384: " Marius Bakke
  2017-08-01 12:28 ` bug#27383: patch committed June 17 Efraim Flashner
  1 sibling, 1 reply; 4+ messages in thread
From: Muriithi Frederick Muriuki @ 2017-06-15 16:05 UTC (permalink / raw)
  To: 27384

* gnu/packages/web.scm (python2-httpretty): New variable.
---
 gnu/packages/web.scm | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 5f27ef957..82c79a306 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -4614,3 +4614,54 @@ allocations, it does not buffer data, it can be interrupted at anytime.
 Depending on your architecture, it only requires about 40 bytes of data per
 message stream (in a web server that is per connection).")
     (license l:expat)))
+
+(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 l:expat)))
-- 
2.13.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#27384: [PATCH] gnu: Add python2-httpretty
  2017-06-15 16:05 ` [bug#27384] [PATCH] gnu: " Muriithi Frederick Muriuki
@ 2017-06-17 13:55   ` Marius Bakke
  0 siblings, 0 replies; 4+ messages in thread
From: Marius Bakke @ 2017-06-17 13:55 UTC (permalink / raw)
  To: Muriithi Frederick Muriuki, 27384-done

[-- Attachment #1: Type: text/plain, Size: 210 bytes --]

Muriithi Frederick Muriuki <fredmanglis@gmail.com> writes:

> * gnu/packages/web.scm (python2-httpretty): New variable.

Pushed as 40b784b4c7c1750b17f4c5a801f784e4d69b1647 with minor
indentation fixes. Thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#27383: patch committed June 17
  2017-06-15 16:05 [bug#27383] [PATCH] Add python2-httpretty Muriithi Frederick Muriuki
  2017-06-15 16:05 ` [bug#27384] [PATCH] gnu: " Muriithi Frederick Muriuki
@ 2017-08-01 12:28 ` Efraim Flashner
  1 sibling, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2017-08-01 12:28 UTC (permalink / raw)
  To: 27383-done

[-- Attachment #1: Type: text/plain, Size: 213 bytes --]


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-08-01 12:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-15 16:05 [bug#27383] [PATCH] Add python2-httpretty Muriithi Frederick Muriuki
2017-06-15 16:05 ` [bug#27384] [PATCH] gnu: " Muriithi Frederick Muriuki
2017-06-17 13:55   ` bug#27384: " Marius Bakke
2017-08-01 12:28 ` bug#27383: patch committed June 17 Efraim Flashner

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.