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.

43 lines
1.2 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. PKG_SOURCE:=dnspython-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://www.dnspython.org/kits/1.16.0/
  13. PKG_HASH:=4bf5c5c12a4478ee7860ab176659cf64c4899ee76752d826b082f8af723c5cf9
  14. PKG_LICENSE:=ISC
  15. PKG_LICENSE_FILES:=LICENSE
  16. PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
  17. PKG_CPE_ID:=cpe:/a:debian:python-dns
  18. PKG_BUILD_DIR:=$(BUILD_DIR)/dnspython-$(PKG_VERSION)
  19. include $(INCLUDE_DIR)/package.mk
  20. include ../python3-package.mk
  21. define Package/python3-dns
  22. SUBMENU:=Python
  23. SECTION:=lang
  24. CATEGORY:=Languages
  25. TITLE:=dnspython
  26. URL:=http://www.dnspython.org/
  27. DEPENDS:=+python3
  28. endef
  29. define Package/python3-dns/description
  30. 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.
  31. endef
  32. $(eval $(call Py3Package,python3-dns))
  33. $(eval $(call BuildPackage,python3-dns))
  34. $(eval $(call BuildPackage,python3-dns-src))