From: Mathieu Lirzin <mthl@openmailbox.org>
To: Cyril Roelandt <tipecaml@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 4/4] gnu: Add python-requests-mock.
Date: Tue, 15 Sep 2015 18:54:51 +0200 [thread overview]
Message-ID: <8737yfaahw.fsf@openmailbox.org> (raw)
In-Reply-To: <1442265803-26218-5-git-send-email-tipecaml@gmail.com> (Cyril Roelandt's message of "Mon, 14 Sep 2015 23:23:23 +0200")
Cyril Roelandt <tipecaml@gmail.com> writes:
> * gnu/packages/openstack.scm (python-requests-mock,
> python2-requests-mock): New variables.
> ---
> gnu/packages/openstack.scm | 31 +++++++++++++++++++++++++++++++
> 1 file changed, 31 insertions(+)
>
> diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
> index 1a2af79..2f3e883 100644
> --- a/gnu/packages/openstack.scm
> +++ b/gnu/packages/openstack.scm
> @@ -174,6 +174,37 @@ and sensible default behaviors into your setuptools run.")
> (define-public python2-pbr
> (package-with-python2 python-pbr))
>
> +(define-public python-requests-mock
> + (package
> + (name "python-requests-mock")
> + (version "0.6.0")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append
> + "https://pypi.python.org/packages/source/r/requests-mock/"
> + "requests-mock-" version ".tar.gz"))
> + (sha256
> + (base32
> + "0gmd88c224y53b1ai8cfsrcxm9kw3gdqzysclmnaqspg7zjhxwd1"))))
(sha256
(base32
"..."))
> + (build-system python-build-system)
> + (propagated-inputs
> + `(("python-requests" ,python-requests)
> + ("python-six" ,python-six)))
> + (inputs
> + `(("python-mock" ,python-mock)
> + ("python-pbr" ,python-pbr)
> + ("python-setuptools" ,python-setuptools)))
> + (home-page "https://requests-mock.readthedocs.org/")
> + (synopsis "Mock out responses from the requests package")
> + (description
> + "This module provides a building block to stub out the HTTP requests
> +portions of your testing code.")
> + (license asl2.0)))
> +
> +(define-public python2-requests-mock
> + (package-with-python2 python-requests-mock))
> +
> (define-public python-stevedore
> (package
> (name "python-stevedore")
Otherwise LGTM.
--
Mathieu Lirzin
next prev parent reply other threads:[~2015-09-15 16:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-14 21:23 [PATCH 0/4] Add more dependencies of OpenStack Cyril Roelandt
2015-09-14 21:23 ` [PATCH 1/4] gnu: Add python-oslo.serialization Cyril Roelandt
2015-09-15 16:34 ` Mathieu Lirzin
2015-09-14 21:23 ` [PATCH 2/4] gnu: Add python-oslo.context Cyril Roelandt
2015-09-15 16:36 ` Mathieu Lirzin
2015-09-14 21:23 ` [PATCH 3/4] gnu: Add python-webob Cyril Roelandt
2015-09-15 16:43 ` Mathieu Lirzin
2015-09-15 22:58 ` Cyril Roelandt
2015-09-16 9:03 ` Andreas Enge
2015-09-14 21:23 ` [PATCH 4/4] gnu: Add python-requests-mock Cyril Roelandt
2015-09-15 16:54 ` Mathieu Lirzin [this message]
2015-09-15 17:17 ` Andreas Enge
2015-09-15 17:32 ` Taylan Ulrich Bayırlı/Kammer
2015-09-15 18:36 ` Taylan Ulrich Bayırlı/Kammer
2015-09-16 20:10 ` Andreas Enge
2015-09-16 20:54 ` [PATCH 0/4] Add more dependencies of OpenStack Cyril Roelandt
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=8737yfaahw.fsf@openmailbox.org \
--to=mthl@openmailbox.org \
--cc=guix-devel@gnu.org \
--cc=tipecaml@gmail.com \
/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.