package/python-oauthlib: new package

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>
This commit is contained in:
Bernd Kuhls
2017-11-12 11:45:21 +01:00
committed by Thomas Petazzoni
parent 3573221078
commit 18d54431b3
5 changed files with 27 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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))