unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Muriithi Frederick Muriuki <fredmanglis@gmail.com>
To: guix-devel@gnu.org
Cc: pjotr2017@thebird.nl
Subject: [PATCH 17/20] gnu: Add python-httpretty
Date: Fri, 14 Apr 2017 13:13:17 +0300	[thread overview]
Message-ID: <20170414101320.11755-17-fredmanglis@gmail.com> (raw)
In-Reply-To: <20170414101320.11755-1-fredmanglis@gmail.com>

* 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
+@code{fakeweb}.")
+    (license license:expat)))
+
+(define-public python2-httpretty
+  (package-with-python2 python-httpretty))
-- 
2.10.2

  parent reply	other threads:[~2017-04-14 10:13 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-14 10:13 [PATCH 01/20] gnu: Add python-radon Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 02/20] gnu: Add python-httpbin Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 03/20] gnu: Add python-pytest-httpbin Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 04/20] gnu: Add python-sphinx-rtd-theme-0.1.9 Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 05/20] gnu: Add python-sphinx-1.3.3 Muriithi Frederick Muriuki
2017-04-15 17:28   ` Hartmut Goebel
2017-04-15 17:38     ` Hartmut Goebel
2017-04-17 19:15       ` Leo Famulari
2017-04-14 10:13 ` [PATCH 06/20] gnu: Add python-coverage-4.0.3 Muriithi Frederick Muriuki
2017-04-15 17:29   ` Hartmut Goebel
2017-04-14 10:13 ` [PATCH 07/20] gnu: Add python-urllib3-1.12 Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 08/20] gnu: Add python-sure Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 09/20] gnu: Add python-couleur Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 10/20] gnu: Add python-misaka Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 11/20] gnu: Add python-steadymark Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 12/20] gnu: Add python-requests-2.8.1 Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 13/20] gnu: Add python-rednose-0.4.3 Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 14/20] gnu: Add python-nose-randomly Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 15/20] gnu: Add python-pbr-2.0.0 Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 16/20] gnu: Add python-mock-1.3.0 Muriithi Frederick Muriuki
2017-04-14 10:13 ` Muriithi Frederick Muriuki [this message]
2017-04-17 19:11   ` [PATCH 17/20] gnu: Add python-httpretty Leo Famulari
2017-04-14 10:13 ` [PATCH 18/20] gnu: Add python-pyyaml-3.11 Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 19/20] gnu: Add python-requests-2.10.0 Muriithi Frederick Muriuki
2017-04-14 10:13 ` [PATCH 20/20] gnu: Add python-xenon Muriithi Frederick Muriuki
2017-04-14 10:36 ` [PATCH 01/20] gnu: Add python-radon ng0
     [not found]   ` <CALjrZwaHDnWrCNq6v2f=yV5MoMTu3=na3jmYapLsB7Go57P=uw@mail.gmail.com>
2017-04-14 11:47     ` Frederick Muriithi
2017-04-14 11:55       ` ng0
2017-04-15 17:24 ` Hartmut Goebel
2017-04-17 19:19 ` Leo Famulari

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170414101320.11755-17-fredmanglis@gmail.com \
    --to=fredmanglis@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=pjotr2017@thebird.nl \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).