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.

41 lines
1.0 KiB

  1. #
  2. # Copyright (C) 2014 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-dns
  9. PKG_VERSION:=1.16.0
  10. PKG_RELEASE:=2
  11. PYPI_NAME:=dnspython
  12. PYPI_SOURCE_EXT:=zip
  13. PKG_HASH:=36c5e8e38d4369a08b6780b7f27d790a292b2b08eea01607865bf0936c558e01
  14. PKG_LICENSE:=ISC
  15. PKG_LICENSE_FILES:=LICENSE
  16. PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
  17. include ../pypi.mk
  18. include $(INCLUDE_DIR)/package.mk
  19. include ../python3-package.mk
  20. define Package/python3-dns
  21. SUBMENU:=Python
  22. SECTION:=lang
  23. CATEGORY:=Languages
  24. TITLE:=dnspython
  25. URL:=http://www.dnspython.org/
  26. DEPENDS:=+python3
  27. endef
  28. define Package/python3-dns/description
  29. dnspython is a DNS toolkit for Python. It supports almost all record types. It can be used for queries, zone transfers, and dynamic updates. It supports TSIG authenticated messages and EDNS0.
  30. endef
  31. $(eval $(call Py3Package,python3-dns))
  32. $(eval $(call BuildPackage,python3-dns))
  33. $(eval $(call BuildPackage,python3-dns-src))