summaryrefslogtreecommitdiff
path: root/lang/python/python-oauthlib
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/python-oauthlib')
-rw-r--r--lang/python/python-oauthlib/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/lang/python/python-oauthlib/Makefile b/lang/python/python-oauthlib/Makefile
index 6376cdf5a..ae157406f 100644
--- a/lang/python/python-oauthlib/Makefile
+++ b/lang/python/python-oauthlib/Makefile
@@ -13,17 +13,14 @@ PKG_MAINTAINER:=Eneas U de Queiroz <cotequeiroz@gmail.com>
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE
-PKG_SOURCE:=oauthlib-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/o/oauthlib
+PYPI_NAME:=oauthlib
PKG_HASH:=bee41cc35fcca6e988463cacc3bcb8a96224f470ca547e697b604cc697b2f889
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-oauthlib-$(PKG_VERSION)
+include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk
-PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
-
define Package/python-oauthlib/Default
SUBMENU:=Python
SECTION:=lang