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