python-requests-toolbelt: new package
authorManuel Vögele <develop@manuel-voegele.de>
Fri, 19 Aug 2016 12:48:02 +0000 (14:48 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 19 Aug 2016 13:53:18 +0000 (15:53 +0200)
Signed-off-by: Manuel Vögele <develop@manuel-voegele.de>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-requests-toolbelt/Config.in [new file with mode: 0644]
package/python-requests-toolbelt/python-requests-toolbelt.hash [new file with mode: 0644]
package/python-requests-toolbelt/python-requests-toolbelt.mk [new file with mode: 0644]

index 645fa297b0e9a5e9ce55cbc9c7191a1abfcd11b2..ade3e34678da7d16954abfb44347a54c04093f38 100644 (file)
@@ -752,6 +752,7 @@ menu "External python modules"
        source "package/python-pyyaml/Config.in"
        source "package/python-pyzmq/Config.in"
        source "package/python-requests/Config.in"
+       source "package/python-requests-toolbelt/Config.in"
        source "package/python-rpi-gpio/Config.in"
        source "package/python-rtslib-fb/Config.in"
        source "package/python-scapy3k/Config.in"
diff --git a/package/python-requests-toolbelt/Config.in b/package/python-requests-toolbelt/Config.in
new file mode 100644 (file)
index 0000000..ba2b951
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_REQUESTS_TOOLBELT
+       bool "python-requests-toolbelt"
+       select BR2_PACKAGE_PYTHON_REQUESTS # runtime
+       help
+         A utility belt for advanced users of python-requests.
+
+         https://toolbelt.readthedocs.org
diff --git a/package/python-requests-toolbelt/python-requests-toolbelt.hash b/package/python-requests-toolbelt/python-requests-toolbelt.hash
new file mode 100644 (file)
index 0000000..89f5ca1
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/requests-toolbelt/json, sha256 locally computed
+md5    bfe2009905f460f4764c32cfbbf4205f  requests-toolbelt-0.7.0.tar.gz
+sha256 33899d4a559c3f0f5e9fbc115d337c4236febdc083755a160a4132d92fc3c91a  requests-toolbelt-0.7.0.tar.gz
diff --git a/package/python-requests-toolbelt/python-requests-toolbelt.mk b/package/python-requests-toolbelt/python-requests-toolbelt.mk
new file mode 100644 (file)
index 0000000..2e944c0
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-requests-toolbelt
+#
+################################################################################
+
+PYTHON_REQUESTS_TOOLBELT_VERSION = 0.7.0
+PYTHON_REQUESTS_TOOLBELT_SOURCE = requests-toolbelt-$(PYTHON_REQUESTS_TOOLBELT_VERSION).tar.gz
+PYTHON_REQUESTS_TOOLBELT_SITE = https://pypi.python.org/packages/59/78/1d391d30ebf74079a8e4de6ab66fdca5362903ef2df64496f4697e9bb626
+PYTHON_REQUESTS_TOOLBELT_SETUP_TYPE = setuptools
+PYTHON_REQUESTS_TOOLBELT_LICENSE = Apache-2.0
+PYTHON_REQUESTS_TOOLBELT_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))