package/python-requests-oauthlib: new package
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 12 Nov 2017 10:45:22 +0000 (11:45 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 23 Nov 2017 21:52:45 +0000 (22:52 +0100)
Needed for python-mwclient version bump to 0.8.6.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
DEVELOPERS
package/Config.in
package/python-requests-oauthlib/Config.in [new file with mode: 0644]
package/python-requests-oauthlib/python-requests-oauthlib.hash [new file with mode: 0644]
package/python-requests-oauthlib/python-requests-oauthlib.mk [new file with mode: 0644]

index 2ff00c8a99d5cc87a835b759de1cf43b7d14e9fd..19a9f2dc4511d6ac4b0b3b0d444e838e7ab73701 100644 (file)
@@ -325,6 +325,7 @@ F:  package/python-mako/
 F:     package/python-oauthlib/
 F:     package/python-pyicu/
 F:     package/python-pylru/
+F:     package/python-requests-oauthlib/
 F:     package/python-slob/
 F:     package/rtmpdump/
 F:     package/softether/
index 66a490d9f239c93df57468ac61d778eb19e29ce8..a8f3f7cb11fa572912f9379115cd2f0376e8e744 100644 (file)
@@ -879,6 +879,7 @@ menu "External python modules"
        source "package/python-pyzmq/Config.in"
        source "package/python-raven/Config.in"
        source "package/python-requests/Config.in"
+       source "package/python-requests-oauthlib/Config.in"
        source "package/python-requests-toolbelt/Config.in"
        source "package/python-rpi-gpio/Config.in"
        source "package/python-rtslib-fb/Config.in"
diff --git a/package/python-requests-oauthlib/Config.in b/package/python-requests-oauthlib/Config.in
new file mode 100644 (file)
index 0000000..85283b2
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_REQUESTS_OAUTHLIB
+       bool "python-requests-oauthlib"
+       select BR2_PACKAGE_PYTHON_OAUTHLIB # runtime
+       select BR2_PACKAGE_PYTHON_REQUESTS # runtime
+       help
+         OAuthlib authentication support for Requests.
+
+         https://github.com/requests/requests-oauthlib
diff --git a/package/python-requests-oauthlib/python-requests-oauthlib.hash b/package/python-requests-oauthlib/python-requests-oauthlib.hash
new file mode 100644 (file)
index 0000000..be0f644
--- /dev/null
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/requests_oauthlib/json, sha256 locally computed
+md5    4358a879a4377393bcfd37d0f9ae6d4d  requests-oauthlib-0.8.0.tar.gz
+sha256 883ac416757eada6d3d07054ec7092ac21c7f35cb1d2cf82faf205637081f468  requests-oauthlib-0.8.0.tar.gz
+sha256 ae01846afad8a8291fe6a08966f3015af9a8ff675d84b981f9793c122f7876e8  LICENSE
diff --git a/package/python-requests-oauthlib/python-requests-oauthlib.mk b/package/python-requests-oauthlib/python-requests-oauthlib.mk
new file mode 100644 (file)
index 0000000..02e3114
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-requests-oauthlib
+#
+################################################################################
+
+PYTHON_REQUESTS_OAUTHLIB_VERSION = 0.8.0
+PYTHON_REQUESTS_OAUTHLIB_SOURCE = requests-oauthlib-$(PYTHON_REQUESTS_OAUTHLIB_VERSION).tar.gz
+PYTHON_REQUESTS_OAUTHLIB_SITE = https://pypi.python.org/packages/80/14/ad120c720f86c547ba8988010d5186102030591f71f7099f23921ca47fe5
+PYTHON_REQUESTS_OAUTHLIB_SETUP_TYPE = setuptools
+PYTHON_REQUESTS_OAUTHLIB_LICENSE = ISC
+PYTHON_REQUESTS_OAUTHLIB_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))