summaryrefslogtreecommitdiff
path: root/lang/python/python-ipaddress/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/python-ipaddress/Makefile')
-rw-r--r--lang/python/python-ipaddress/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/lang/python/python-ipaddress/Makefile b/lang/python/python-ipaddress/Makefile
index d78a35bc6..664076bed 100644
--- a/lang/python/python-ipaddress/Makefile
+++ b/lang/python/python-ipaddress/Makefile
@@ -11,20 +11,16 @@ PKG_NAME:=python-ipaddress
PKG_VERSION:=1.0.23
PKG_RELEASE:=1
-PKG_SOURCE:=ipaddress-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/i/ipaddress
+PYPI_NAME:=ipaddress
PKG_HASH:=b7f8e0369580bb4a24d5ba1d7cc29660a4a6987763faf1d8a8046830e020e7e2
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-ipaddress-$(PKG_VERSION)
-
PKG_LICENSE:=Python-2.0
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
+include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
-PKG_UNPACK:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
-
define Package/python-ipaddress/Default
SECTION:=lang
CATEGORY:=Languages