summaryrefslogtreecommitdiff
path: root/lang/python/python-requests-oauthlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/python-requests-oauthlib/Makefile')
-rw-r--r--lang/python/python-requests-oauthlib/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/lang/python/python-requests-oauthlib/Makefile b/lang/python/python-requests-oauthlib/Makefile
index a12ff2e39..fdb0dbd27 100644
--- a/lang/python/python-requests-oauthlib/Makefile
+++ b/lang/python/python-requests-oauthlib/Makefile
@@ -13,18 +13,14 @@ PKG_MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
PKG_LICENSE:=ISC
PKG_LICENSE_FILES:=LICENSE
-PKG_SOURCE:=requests-oauthlib-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/r/requests-oauthlib
+PYPI_NAME:=requests-oauthlib
PKG_HASH:=bd6533330e8748e94bf0b214775fed487d309b8b8fe823dc45641ebcd9a32f57
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-requests-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-requests-oauthlib/Default
SUBMENU:=Python
SECTION:=lang