summaryrefslogtreecommitdiff
path: root/lang/python/python-lxml/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/python-lxml/Makefile')
-rw-r--r--lang/python/python-lxml/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/lang/python/python-lxml/Makefile b/lang/python/python-lxml/Makefile
index ac95a1cef..97e962882 100644
--- a/lang/python/python-lxml/Makefile
+++ b/lang/python/python-lxml/Makefile
@@ -11,18 +11,15 @@ PKG_NAME:=python-lxml
PKG_VERSION:=4.4.1
PKG_RELEASE:=1
-PKG_SOURCE:=lxml-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/l/lxml
+PYPI_NAME:=lxml
PKG_HASH:=c81cb40bff373ab7a7446d6bbca0190bccc5be3448b47b51d729e37799bb5692
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-lxml-$(PKG_VERSION)
-PKG_UNPACK=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
-
PKG_LICENSE:=BSD
PKG_LICENSE_FILES:=LICENSES.txt
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_CPE_ID:=cpe:/a:lxml:lxml
+include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk