[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 04/31] gnu: Add python2-requests.
From: |
David Thompson |
Subject: |
[PATCH 04/31] gnu: Add python2-requests. |
Date: |
Fri, 5 Sep 2014 11:18:10 -0400 |
* gnu/packages/python.scm (python2-requests): New variable.
---
gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f591605..35fcc2a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1048,3 +1048,29 @@ is useful for verifying HTTP requests.")
(define-public python2-certifi
(package-with-python2 python-certifi))
+
+(define-public python2-requests
+ (package
+ (name "python2-requests")
+ (version "2.4.0")
+ (source (origin
+ (method url-fetch)
+ (uri
+ (string-append
+ "https://pypi.python.org/packages/source/r/requests/requests-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0gknlfx1wakrrm1zi8gi03x2lzj4dsns0vjw0nsmgqvkphyf01vh"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)
+ ("python-certifi" ,python-certifi)))
+ (arguments `(#:tests? #f ; no tests
+ #:python ,python-2))
+ (home-page "http://python-requests.org/")
+ (synopsis "Python HTTP library")
+ (description
+ "Requests is an Apache2 Licensed HTTP library, written in Python, for
+human beings.")
+ (license asl2.0)))
--
2.0.1
- [PATCH 01/31] gnu: Add python-exif-read., David Thompson, 2014/09/05
- [PATCH 02/31] gnu: Add python-pyld., David Thompson, 2014/09/05
- [PATCH 03/31] gnu: Add python-certifi., David Thompson, 2014/09/05
- [PATCH 07/31] gnu: Add python-mimeparse., David Thompson, 2014/09/05
- [PATCH 05/31] gnu: Add python-jsonschema., David Thompson, 2014/09/05
- [PATCH 04/31] gnu: Add python2-requests.,
David Thompson <=
- [PATCH 06/31] gnu: Add python-unidecode., David Thompson, 2014/09/05
- [PATCH 08/31] gnu: Add python-extras., David Thompson, 2014/09/05
- [PATCH 09/31] gnu: Add python-nose., David Thompson, 2014/09/05
- [PATCH 11/31] gnu: Add python-py., David Thompson, 2014/09/05