From: Efraim Flashner <efraim@flashner.co.il>
To: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 07/10] gnu: Add python-rauth.
Date: Mon, 7 Dec 2015 21:27:55 +0200 [thread overview]
Message-ID: <20151207212755.2d6cce93@debian-netbook> (raw)
In-Reply-To: <idjy4da8rq1.fsf@bimsb-sys02.mdc-berlin.net>
[-- Attachment #1.1: Type: text/plain, Size: 2335 bytes --]
On Fri, 4 Dec 2015 10:53:42 +0100
Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> wrote:
> Efraim Flashner <efraim@flashner.co.il> 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
--
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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0007-gnu-Add-python-rauth.patch --]
[-- Type: text/x-patch, Size: 1932 bytes --]
From 5382b2ad55475cfcf0ea7589cba4a58b87e352eb Mon Sep 17 00:00:00 2001
From: Efraim Flashner <efraim@flashner.co.il>
Date: Sun, 22 Nov 2015 22:43:51 +0200
Subject: [PATCH 07/10] gnu: Add python-rauth.
* 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 a6c665c..8defd9e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6621,6 +6621,39 @@ of the SSL peer.")
(propagated-inputs
`(("python2-pyopenssl" ,python2-pyopenssl)))))
+(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)))
+ (propagated-inputs
+ `(("python-requests" ,python-requests)))
+ (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)))
+
+(define-public python2-rauth
+ (let ((rauth (package-with-python2 python-rauth)))
+ (package (inherit rauth)
+ (native-inputs
+ `(("python2-unittest2", python2-unittest2)
+ ,@(package-native-inputs rauth))))))
+
(define-public python2-futures
(package
(name "python2-futures")
--
2.6.2
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2015-12-07 19:31 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-03 14:43 [PATCH 00/10] git-annex special-remote hubiC support Efraim Flashner
2015-12-03 14:43 ` [PATCH 01/10] gnu: Add python-pytest-cov Efraim Flashner
2015-12-03 22:25 ` Ricardo Wurmus
2015-12-07 19:25 ` Efraim Flashner
2015-12-11 14:03 ` Ricardo Wurmus
2015-12-17 19:02 ` Efraim Flashner
2015-12-20 13:43 ` Ricardo Wurmus
2015-12-27 10:14 ` Efraim Flashner
2015-12-30 14:10 ` Ricardo Wurmus
2015-12-30 20:36 ` Efraim Flashner
2015-12-30 20:45 ` Ricardo Wurmus
2015-12-31 11:28 ` Mathieu Lirzin
2015-12-31 11:32 ` Ricardo Wurmus
2016-01-04 15:56 ` Ludovic Courtès
2015-12-03 14:43 ` [PATCH 02/10] gnu: Add python-wheel Efraim Flashner
2015-12-07 19:26 ` Efraim Flashner
2015-12-11 14:07 ` Ricardo Wurmus
2015-12-27 10:13 ` Efraim Flashner
2016-01-04 16:01 ` Ludovic Courtès
2015-12-03 14:43 ` [PATCH 03/10] gnu: python-requests: Update to 2.8.1 Efraim Flashner
2015-12-07 19:26 ` Efraim Flashner
2015-12-11 14:08 ` Ricardo Wurmus
2015-12-03 14:43 ` [PATCH 04/10] gnu: Add python-keystoneclient Efraim Flashner
2015-12-07 19:26 ` Efraim Flashner
2015-12-11 14:15 ` Ricardo Wurmus
2015-12-27 10:13 ` Efraim Flashner
2016-01-04 16:00 ` Ludovic Courtès
2016-01-04 16:33 ` Ricardo Wurmus
2015-12-03 14:43 ` [PATCH 05/10] gnu: Add python2-futures Efraim Flashner
2015-12-07 19:27 ` Efraim Flashner
2015-12-11 14:17 ` Ricardo Wurmus
2015-12-27 10:15 ` Efraim Flashner
2016-01-04 15:57 ` Ludovic Courtès
2015-12-03 14:43 ` [PATCH 06/10] gnu: Add python-swiftclient Efraim Flashner
2015-12-07 19:27 ` Efraim Flashner
2015-12-11 14:22 ` Ricardo Wurmus
2015-12-27 10:14 ` Efraim Flashner
2016-01-04 16:03 ` Ludovic Courtès
2015-12-03 14:43 ` [PATCH 07/10] gnu: Add python-rauth Efraim Flashner
2015-12-03 19:26 ` Efraim Flashner
2015-12-04 9:53 ` Ricardo Wurmus
2015-12-07 19:27 ` Efraim Flashner [this message]
2015-12-11 14:23 ` Ricardo Wurmus
2015-12-27 10:15 ` Efraim Flashner
2016-01-04 16:04 ` Ludovic Courtès
2015-12-03 14:43 ` [PATCH 08/10] gnu: Add python-pyasn1-modules Efraim Flashner
2015-12-07 19:28 ` Efraim Flashner
2015-12-11 14:29 ` Ricardo Wurmus
2015-12-27 10:13 ` Efraim Flashner
2016-01-04 16:04 ` Ludovic Courtès
2015-12-03 14:43 ` [PATCH 09/10] gnu: Add python2-functools32 Efraim Flashner
2015-12-04 10:00 ` Ricardo Wurmus
2015-12-07 19:28 ` Efraim Flashner
2015-12-11 14:30 ` Ricardo Wurmus
2015-12-27 10:12 ` Efraim Flashner
2015-12-30 14:11 ` Ricardo Wurmus
2016-01-04 16:05 ` Ludovic Courtès
2015-12-03 14:43 ` [PATCH 10/10] gnu: Add git-annex-remote-hubic Efraim Flashner
2015-12-04 9:57 ` Ricardo Wurmus
2015-12-07 19:30 ` Efraim Flashner
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=20151207212755.2d6cce93@debian-netbook \
--to=efraim@flashner.co.il \
--cc=guix-devel@gnu.org \
--cc=ricardo.wurmus@mdc-berlin.de \
/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).