[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/10: gnu: Add python-urllib3.
From: |
Efraim Flashner |
Subject: |
09/10: gnu: Add python-urllib3. |
Date: |
Sun, 17 Jan 2016 20:38:46 +0000 |
efraim pushed a commit to branch master
in repository guix.
commit c18f6368239de2c4be6560a4e0fa68a36c45374d
Author: Efraim Flashner <address@hidden>
Date: Sun Dec 27 19:50:57 2015 +0200
gnu: Add python-urllib3.
* gnu/packages/python.scm (python-urllib3, python2-urllib3): New variables.
---
gnu/packages/python.scm | 36 ++++++++++++++++++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 13ad87f..a1757a0 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7198,3 +7198,39 @@ concurrent.futures package from Python 3.2")
(define-public python2-futures
(package-with-python2 python-futures))
+
+(define-public python-urllib3
+ (package
+ (name "python-urllib3")
+ (version "1.13.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "urllib3" version))
+ (sha256
+ (base32
+ "10rrbr6c6k7j5dvfsyj4b2gsgxg9gggnn708qixf6ll57xqivfkf"))))
+ (build-system python-build-system)
+ (arguments `(#:tests? #f))
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools)
+ ;; some packages for tests
+ ("python-nose" ,python-nose)
+ ("python-mock" ,python-mock)
+ ("python-tornado" ,python-tornado)))
+ (propagated-inputs
+ `(;; packages for https security
+ ("python-certifi" ,python-certifi)
+ ("python-ndg-httpsclient" ,python-ndg-httpsclient)
+ ("python-pyasn1" ,python-pyasn1)
+ ("python-pyopenssl" ,python-pyopenssl)))
+ (home-page "http://urllib3.readthedocs.org/")
+ (synopsis "HTTP library with thread-safe connection pooling")
+ (description
+ "Urllib3 supports features left out of urllib and urllib2 libraries. It
+can reuse the same socket connection for multiple requests, it can POST files,
+supports url redirection and retries, and also gzip and deflate decoding.")
+ (license license:expat)))
+
+(define-public python2-urllib3
+ (package-with-python2 python-urllib3))
- branch master updated (fb492b9 -> e8d2168), Efraim Flashner, 2016/01/17
- 02/10: gnu: Add python-futures., Efraim Flashner, 2016/01/17
- 01/10: gnu: Add python-keystoneclient., Efraim Flashner, 2016/01/17
- 04/10: gnu: Add python-rauth., Efraim Flashner, 2016/01/17
- 03/10: gnu: Add python-swiftclient., Efraim Flashner, 2016/01/17
- 05/10: gnu: Add python-pyasn1-modules., Efraim Flashner, 2016/01/17
- 06/10: gnu: Add python2-functools32., Efraim Flashner, 2016/01/17
- 10/10: gnu: Add git-annex-remote-hubic., Efraim Flashner, 2016/01/17
- 09/10: gnu: Add python-urllib3.,
Efraim Flashner <=
- 07/10: gnu: python-pytest-cov: Clarify description., Efraim Flashner, 2016/01/17
- 08/10: gnu: python-wheel: Clarify description., Efraim Flashner, 2016/01/17