On Fri, 11 Dec 2015 15:23:58 +0100
Ricardo Wurmus <ricardo.wur...@mdc-berlin.de> wrote:

> Aside from the alignment of “(base32” this looks okay now.  I’ll wait
> for the other patches in this series before pushing it, though.
> 
> Thanks!
> 
> ~~ Ricardo

attached

-- 
Efraim Flashner   <efr...@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
From 999b07b40249c0905cea32f9d1ad3a1b1bab6376 Mon Sep 17 00:00:00 2001
From: Efraim Flashner <efr...@flashner.co.il>
Date: Sun, 22 Nov 2015 22:43:51 +0200
Subject: [PATCH 4/9] 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 cf34f21..dddc50e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6624,6 +6624,39 @@ the standard library.")
 (define-public python2-contextlib2
   (package-with-python2 python-contextlib2))
 
+(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.4

Attachment: pgpL9hck0ZQuf.pgp
Description: OpenPGP digital signature

Reply via email to