[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 07/10] gnu: Add python-rauth.
From: |
Ricardo Wurmus |
Subject: |
Re: [PATCH 07/10] gnu: Add python-rauth. |
Date: |
Fri, 4 Dec 2015 10:53:42 +0100 |
Efraim Flashner <address@hidden> writes:
> * gnu/packages/python.scm (python-rauth, python2-rauth): New variables.
> ---
> gnu/packages/python.scm | 33 +++++++++++++++++++++++++++++++++
> 1 file changed, 33 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 21aa8fa..5c71aac 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -6064,6 +6064,39 @@ automatically detect a wide range of file encodings.")
> (define-public python2-chardet
> (package-with-python2 python-chardet))
>
> +(define-public python-rauth
> + (package
> + (name "python-rauth")
> + (version "0.7.2")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (pypi-uri "rauth" version))
> + (sha256
> + (base32
> + "00pq7zw429hhza9c0qzxiqp77m653jv09z92nralnmzwdf6pzicf"))))
> + (build-system python-build-system)
> + (arguments
> + `(#:test-target "check"))
> + (native-inputs
> + `(("python-setuptools" ,python-setuptools)))
> + (inputs
> + `(("python-requests" ,python-requests)))
I think this should be a propagated input.
> + (home-page "https://github.com/litl/rauth")
> + (synopsis "Python library for OAuth 1.0/a, 2.0, and Ofly")
> + (description
> + "Rauth is a Python library for OAuth 1.0/a, 2.0, and Ofly. It also
> +provides service wrappers for convenient connection initialization and
> +authenticated session objects providing things like keep-alive.")
> + (license license:expat)))
Otherwise OK.
> +(define-public python2-rauth
> + (let ((rauth (package-with-python2 python-rauth)))
> + (package (inherit rauth)
> + (native-inputs
> + `(("python2-unittest2", python2-unittest2)
> + ,@(package-native-inputs rauth))))))
> +
Lookin’ good!
~~ Ricardo
[PATCH 01/10] gnu: Add python-pytest-cov., Efraim Flashner, 2015/12/03
- Re: [PATCH 01/10] gnu: Add python-pytest-cov., Ricardo Wurmus, 2015/12/03
- Re: [PATCH 01/10] gnu: Add python-pytest-cov., Efraim Flashner, 2015/12/07
- Re: [PATCH 01/10] gnu: Add python-pytest-cov., Ricardo Wurmus, 2015/12/11
- Re: [PATCH 01/10] gnu: Add python-pytest-cov., Efraim Flashner, 2015/12/19
- Re: [PATCH 01/10] gnu: Add python-pytest-cov., Ricardo Wurmus, 2015/12/20
- Re: [PATCH 01/10] gnu: Add python-pytest-cov., Efraim Flashner, 2015/12/27