package/python-oauthlib: new package
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 12 Nov 2017 10:45:21 +0000 (11:45 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 23 Nov 2017 21:52:14 +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-oauthlib/Config.in [new file with mode: 0644]
package/python-oauthlib/python-oauthlib.hash [new file with mode: 0644]
package/python-oauthlib/python-oauthlib.mk [new file with mode: 0644]

index fe943d3d85ff96106641df305c93dfc8fa704466..2ff00c8a99d5cc87a835b759de1cf43b7d14e9fd 100644 (file)
@@ -322,6 +322,7 @@ F:  package/python-mwclient/
 F:     package/python-mwscrape/
 F:     package/python-mwscrape2slob/
 F:     package/python-mako/
+F:     package/python-oauthlib/
 F:     package/python-pyicu/
 F:     package/python-pylru/
 F:     package/python-slob/
index 0f5b7df3222aac6b46149de7653cc745dcbf7dc9..66a490d9f239c93df57468ac61d778eb19e29ce8 100644 (file)
@@ -817,6 +817,7 @@ menu "External python modules"
        source "package/python-networkmanager/Config.in"
        source "package/python-nfc/Config.in"
        source "package/python-numpy/Config.in"
+       source "package/python-oauthlib/Config.in"
        source "package/python-paho-mqtt/Config.in"
        source "package/python-pam/Config.in"
        source "package/python-paramiko/Config.in"
diff --git a/package/python-oauthlib/Config.in b/package/python-oauthlib/Config.in
new file mode 100644 (file)
index 0000000..982272c
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_OAUTHLIB
+       bool "python-oauthlib"
+       help
+         A generic, spec-compliant, thorough implementation of the OAuth
+         request-signing logic.
+
+         https://github.com/idan/oauthlib
diff --git a/package/python-oauthlib/python-oauthlib.hash b/package/python-oauthlib/python-oauthlib.hash
new file mode 100644 (file)
index 0000000..f8e1324
--- /dev/null
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/oauthlib/json, sha256 locally computed
+md5    277a9a966cc8c72e492b4eeb41332445  oauthlib-2.0.6.tar.gz
+sha256 ce57b501e906ff4f614e71c36a3ab9eacbb96d35c24d1970d2539bbc3ec70ce1  oauthlib-2.0.6.tar.gz
+sha256 9e1ae8725f5815738dadb6cbb09f450453d94e07c7b5efaee864f546a6209a95  LICENSE
diff --git a/package/python-oauthlib/python-oauthlib.mk b/package/python-oauthlib/python-oauthlib.mk
new file mode 100644 (file)
index 0000000..ab39800
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-oauthlib
+#
+################################################################################
+
+PYTHON_OAUTHLIB_VERSION = 2.0.6
+PYTHON_OAUTHLIB_SOURCE = oauthlib-$(PYTHON_OAUTHLIB_VERSION).tar.gz
+PYTHON_OAUTHLIB_SITE = https://pypi.python.org/packages/a5/8a/212e9b47fb54be109f3ff0684165bb38c51117f34e175c379fce5c7df754
+PYTHON_OAUTHLIB_SETUP_TYPE = setuptools
+PYTHON_OAUTHLIB_LICENSE = BSD-3-Clause
+PYTHON_OAUTHLIB_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))