#
|
|
# Copyright (C) 2015-2018 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python-ipaddress
|
|
PKG_VERSION:=1.0.23
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=ipaddress
|
|
PKG_HASH:=b7f8e0369580bb4a24d5ba1d7cc29660a4a6987763faf1d8a8046830e020e7e2
|
|
|
|
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
|
|
|
|
define Package/python-ipaddress/Default
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
SUBMENU:=Python
|
|
TITLE:=Python 3.3+'s ipaddress
|
|
URL:=https://github.com/phihag/ipaddress
|
|
endef
|
|
|
|
define Package/python-ipaddress
|
|
$(call Package/python-ipaddress/Default)
|
|
DEPENDS:=+PACKAGE_python-ipaddress:python-light
|
|
VARIANT:=python
|
|
endef
|
|
|
|
define Package/python-ipaddress/description
|
|
Python 3.3+'s ipaddress for Python 2.6, 2.7, 3.2.
|
|
endef
|
|
|
|
$(eval $(call PyPackage,python-ipaddress))
|
|
$(eval $(call BuildPackage,python-ipaddress))
|
|
$(eval $(call BuildPackage,python-ipaddress-src))
|