You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.0 KiB

  1. #
  2. # Copyright (C) 2015-2018 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=python-ipaddress
  9. PKG_VERSION:=1.0.23
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=ipaddress
  12. PKG_HASH:=b7f8e0369580bb4a24d5ba1d7cc29660a4a6987763faf1d8a8046830e020e7e2
  13. PKG_LICENSE:=Python-2.0
  14. PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
  15. include ../pypi.mk
  16. include $(INCLUDE_DIR)/package.mk
  17. include ../python-package.mk
  18. define Package/python-ipaddress/Default
  19. SECTION:=lang
  20. CATEGORY:=Languages
  21. SUBMENU:=Python
  22. TITLE:=Python 3.3+'s ipaddress
  23. URL:=https://github.com/phihag/ipaddress
  24. endef
  25. define Package/python-ipaddress
  26. $(call Package/python-ipaddress/Default)
  27. DEPENDS:=+PACKAGE_python-ipaddress:python-light
  28. VARIANT:=python
  29. endef
  30. define Package/python-ipaddress/description
  31. Python 3.3+'s ipaddress for Python 2.6, 2.7, 3.2.
  32. endef
  33. $(eval $(call PyPackage,python-ipaddress))
  34. $(eval $(call BuildPackage,python-ipaddress))
  35. $(eval $(call BuildPackage,python-ipaddress-src))