[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/23: gnu: Add python-ndg-httpsclient.
From: |
David Thompson |
Subject: |
19/23: gnu: Add python-ndg-httpsclient. |
Date: |
Sat, 05 Dec 2015 14:50:53 +0000 |
davexunit pushed a commit to branch master
in repository guix.
commit ab41f9799f962a4c7f90aa82deb11fda4ad03167
Author: Leo Famulari <address@hidden>
Date: Mon Nov 9 04:49:59 2015 -0500
gnu: Add python-ndg-httpsclient.
* gnu/packages/python.scm (python-ndg-httpsclient,
python2-ndg-httpsclient): New variables.
---
gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ff37b86..4d0c23d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6489,3 +6489,35 @@ be set via config files and/or environment variables.")
(define-public python2-configargparse
(package-with-python2 python-configargparse))
+
+(define-public python-ndg-httpsclient
+ (package
+ (name "python-ndg-httpsclient")
+ (version "0.4.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+
"https://pypi.python.org/packages/source/n/ndg-httpsclient/"
+ "ndg_httpsclient-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0x32ibixm3vv5m9xfk83xsqm8xcqw4dd0khbh6qbri6rxgymbhg8"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-pyopenssl" ,python-pyopenssl)))
+ (synopsis "HTTPS support for Python's httplib and urllib2")
+ (description "This is a HTTPS client implementation for httplib and urllib2
+based on PyOpenSSL. PyOpenSSL provides a more fully featured SSL
implementation
+over the default provided with Python and importantly enables full verification
+of the SSL peer.")
+ (home-page "https://github.com/cedadev/ndg_httpsclient/")
+ (license bsd-3)))
+
+;; python2-openssl requires special care, so package-with-python2 is
+;; insufficient.
+(define-public python2-ndg-httpsclient
+ (package (inherit python-ndg-httpsclient)
+ (name "python2-ndg-httpsclient")
+ (arguments `(#:python ,python-2))
+ (propagated-inputs
+ `(("python2-pyopenssl" ,python2-pyopenssl)))))
- 11/23: gnu: Add python-zope-security., (continued)
- 11/23: gnu: Add python-zope-security., David Thompson, 2015/12/05
- 13/23: gnu: Add python-pyrfc3339., David Thompson, 2015/12/05
- 12/23: gnu: Add python-zope-component., David Thompson, 2015/12/05
- 14/23: gnu: Add python-werkzeug., David Thompson, 2015/12/05
- 16/23: gnu: Add dialog., David Thompson, 2015/12/05
- 17/23: gnu: Add python2-pythondialog., David Thompson, 2015/12/05
- 21/23: gnu: Add python2-parsedatetime., David Thompson, 2015/12/05
- 20/23: gnu: python-parsedatetime: Update to 1.5., David Thompson, 2015/12/05
- 15/23: gnu: Add python-configobj., David Thompson, 2015/12/05
- 18/23: gnu: Add python-configargparse., David Thompson, 2015/12/05
- 19/23: gnu: Add python-ndg-httpsclient.,
David Thompson <=
- 22/23: gnu: Add acme., David Thompson, 2015/12/05
- 23/23: gnu: Add letsencrypt., David Thompson, 2015/12/05