From: David Thompson <dthompson2@worcester.edu>
To: guix-devel@gnu.org
Subject: [PATCH 23/31] gnu: Add python-oauthlib.
Date: Fri, 5 Sep 2014 11:18:29 -0400 [thread overview]
Message-ID: <1409930317-13220-23-git-send-email-dthompson2@worcester.edu> (raw)
In-Reply-To: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu>
* gnu/packages/python.scm (python-oauthlib, python2-oauthlib): New variables.
---
gnu/packages/python.scm | 52 +++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 50 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 886dc03..6c6fdb5 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1613,7 +1613,7 @@ somewhat intelligeble.")
"0g0ayql5b9mkjam8hym6zyg6bv77lbh66rv1fyvgqb17kfc1xkpj"))))
(build-system python-build-system)
(inputs
- `(("python" ,python) ;; need libpython3.3m
+ `(("python" ,python) ; need libpython3.3m
("python-setuptools" ,python-setuptools)
("gmp" ,gmp)))
(arguments
@@ -1624,9 +1624,57 @@ somewhat intelligeble.")
%standard-phases)))
(home-page "http://www.pycrypto.org/")
(synopsis "Cryptographic modules for Python.")
- (description "Cryptographic modules for Python.")
+ (description "Pycrypto is a collection of both secure hash functions (such
+as SHA256 and RIPEMD160), and various encryption algorithms (AES, DES, RSA,
+ElGamal, etc.).")
(license public-domain)))
(define-public python2-pycrypto
(package-with-python2 python-pycrypto))
+(define-public python-oauthlib
+ (package
+ (name "python-oauthlib")
+ (version "0.6.3")
+ (source (origin
+ (method url-fetch)
+ (uri
+ (string-append
+ "https://pypi.python.org/packages/source/o/oauthlib/oauthlib-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1yaj3j64la4arwsbhbfmpnickzh3jpg9nlpyg409v8pp24isn48a"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)
+ ("python-pyjwt" ,python-pyjwt)
+ ("python-pycrypto" ,python-pycrypto)
+ ("python-nose" ,python-nose)
+ ("python-mock" ,python-mock)))
+ (home-page "https://github.com/idan/oauthlib")
+ (synopsis "OAuth implementation for Python")
+ (description
+ "Oauthlib is a generic, spec-compliant, thorough implementation of the
+OAuth request-signing logic.")
+ (license bsd-3)))
+
+(define-public python2-oauthlib
+ (let ((base (package-with-python2 python-oauthlib)))
+ (package
+ (inherit base)
+ (name "python2-oauthlib")
+ (version "0.6.3")
+ (source (origin
+ (method url-fetch)
+ (uri
+ (string-append
+ "https://pypi.python.org/packages/source/o/oauthlib/oauthlib-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1yaj3j64la4arwsbhbfmpnickzh3jpg9nlpyg409v8pp24isn48a"))))
+ (inputs
+ (append (package-inputs base)
+ `(("python2-unittest2" ,python2-unittest2)))))))
+
--
2.0.1
next prev parent reply other threads:[~2014-09-05 15:19 UTC|newest]
Thread overview: 70+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-05 15:18 [PATCH 01/31] gnu: Add python-exif-read David Thompson
2014-09-05 15:18 ` [PATCH 02/31] gnu: Add python-pyld David Thompson
2014-09-05 19:52 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 03/31] gnu: Add python-certifi David Thompson
2014-09-05 19:57 ` Ludovic Courtès
2014-09-05 20:00 ` David Thompson
2014-09-05 15:18 ` [PATCH 04/31] gnu: Add python2-requests David Thompson
2014-09-05 19:59 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 05/31] gnu: Add python-jsonschema David Thompson
2014-09-05 19:53 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 06/31] gnu: Add python-unidecode David Thompson
2014-09-05 20:11 ` Ludovic Courtès
2014-09-05 22:25 ` David Thompson
2014-09-05 15:18 ` [PATCH 07/31] gnu: Add python-mimeparse David Thompson
2014-09-05 20:08 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 08/31] gnu: Add python-extras David Thompson
2014-09-05 20:08 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 09/31] gnu: Add python-nose David Thompson
2014-09-05 20:00 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 10/31] gnu: Add python-unittest2 David Thompson
2014-09-05 20:00 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 11/31] gnu: Add python-py David Thompson
2014-09-05 20:02 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 12/31] gnu: Add python-pytest David Thompson
2014-09-05 20:04 ` Ludovic Courtès
2014-09-05 20:05 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 13/31] gnu: Add python-scripttest David Thompson
2014-09-05 20:08 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 14/31] gnu: Add python-testtools David Thompson
2014-09-05 20:03 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 15/31] gnu: Add python-testscenarios David Thompson
2014-09-05 20:12 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 16/31] gnu: Add python-testresources David Thompson
2014-09-05 20:03 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 17/31] gnu: Add python-subunit David Thompson
2014-09-05 20:04 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 18/31] gnu: Add python-fixtures David Thompson
2014-09-05 20:05 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 19/31] gnu: Add python-testrepository David Thompson
2014-09-05 20:08 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 20/31] gnu: Add python-discover David Thompson
2014-09-05 20:10 ` Ludovic Courtès
2014-09-06 1:00 ` David Thompson
2014-09-05 15:18 ` [PATCH 21/31] gnu: Add python-pyjwt David Thompson
2014-09-05 20:06 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 22/31] gnu: Add python-pycrypto David Thompson
2014-09-05 18:55 ` Eric Bavier
2014-09-05 19:08 ` David Thompson
2014-09-05 19:48 ` Ludovic Courtès
2014-09-05 15:18 ` David Thompson [this message]
2014-09-05 20:04 ` [PATCH 23/31] gnu: Add python-oauthlib Ludovic Courtès
2014-09-05 15:18 ` [PATCH 24/31] gnu: Add python-itsdangerous David Thompson
2014-09-05 20:06 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 25/31] gnu: Add python-virtualenv David Thompson
2014-09-05 20:06 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 26/31] gnu: Add python-pip David Thompson
2014-09-05 20:07 ` Ludovic Courtès
2014-09-06 3:16 ` David Thompson
2014-09-05 15:18 ` [PATCH 27/31] gnu: Add python-markupsafe David Thompson
2014-09-05 20:12 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 28/31] gnu: Add python-jinja2 David Thompson
2014-09-05 20:05 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 29/31] gnu: Add python-docutils David Thompson
2014-09-05 15:18 ` [PATCH 30/31] gnu: Add python-pygments David Thompson
2014-09-05 20:13 ` Ludovic Courtès
2014-09-05 15:18 ` [PATCH 31/31] gnu: Add python-sphinx David Thompson
2014-09-05 20:13 ` Ludovic Courtès
2014-09-05 19:52 ` [PATCH 01/31] gnu: Add python-exif-read Ludovic Courtès
2014-09-05 20:10 ` David Thompson
2014-09-05 21:33 ` Ludovic Courtès
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=1409930317-13220-23-git-send-email-dthompson2@worcester.edu \
--to=dthompson2@worcester.edu \
--cc=guix-devel@gnu.org \
/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).