aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/Config.in1
-rw-r--r--package/python-requests/Config.in7
-rw-r--r--package/python-requests/python-requests.hash3
-rw-r--r--package/python-requests/python-requests.mk14
4 files changed, 25 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 1d132af463..d59876f2b0 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -519,6 +519,7 @@ menu "external python modules"
source "package/python-pysnmp-mibs/Config.in"
source "package/python-pyusb/Config.in"
source "package/python-pyzmq/Config.in"
+ source "package/python-requests/Config.in"
source "package/python-rtslib-fb/Config.in"
source "package/python-serial/Config.in"
source "package/python-setuptools/Config.in"
diff --git a/package/python-requests/Config.in b/package/python-requests/Config.in
new file mode 100644
index 0000000000..3367cf0707
--- /dev/null
+++ b/package/python-requests/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_REQUESTS
+ bool "python-requests"
+ help
+ Requests is an Apache2 Licensed HTTP library, written in
+ Python, for human beings.
+
+ http://www.python-requests.org/
diff --git a/package/python-requests/python-requests.hash b/package/python-requests/python-requests.hash
new file mode 100644
index 0000000000..d187dcd2a8
--- /dev/null
+++ b/package/python-requests/python-requests.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=02214b3a179e445545de4b7a98d3dd17, sha256 locally computed
+md5 02214b3a179e445545de4b7a98d3dd17 requests-2.4.3.tar.gz
+sha256 53c68313c5c6149b1a899234c000296e60a8900682accf73d6f0c6d608afc6b1 requests-2.4.3.tar.gz
diff --git a/package/python-requests/python-requests.mk b/package/python-requests/python-requests.mk
new file mode 100644
index 0000000000..5c12f1b560
--- /dev/null
+++ b/package/python-requests/python-requests.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-requests
+#
+################################################################################
+
+PYTHON_REQUESTS_VERSION = 2.4.3
+PYTHON_REQUESTS_SOURCE = requests-$(PYTHON_REQUESTS_VERSION).tar.gz
+PYTHON_REQUESTS_SITE = http://pypi.python.org/packages/source/r/requests
+PYTHON_REQUESTS_SETUP_TYPE = setuptools
+PYTHON_REQUESTS_LICENSE = Apache-2.0
+PYTHON_REQUESTS_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))