b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 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 | |
| 8 | include $(TOPDIR)/rules.mk |
| 9 | |
| 10 | PKG_NAME:=python-dns |
| 11 | PKG_VERSION:=2.4.1 |
| 12 | PKG_RELEASE:=1 |
| 13 | |
| 14 | PYPI_NAME:=dnspython |
| 15 | PKG_HASH:=c33971c79af5be968bb897e95c2448e11a645ee84d93b265ce0b7aabe5dfdca8 |
| 16 | |
| 17 | PKG_LICENSE:=ISC |
| 18 | PKG_LICENSE_FILES:=LICENSE |
| 19 | PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com> |
| 20 | |
| 21 | PKG_BUILD_DEPENDS:=python-poetry-core/host |
| 22 | |
| 23 | include ../pypi.mk |
| 24 | include $(INCLUDE_DIR)/package.mk |
| 25 | include ../python3-package.mk |
| 26 | |
| 27 | define Package/python3-dns |
| 28 | SUBMENU:=Python |
| 29 | SECTION:=lang |
| 30 | CATEGORY:=Languages |
| 31 | TITLE:=DNS toolkit |
| 32 | URL:=https://www.dnspython.org/ |
| 33 | DEPENDS:=+python3 |
| 34 | endef |
| 35 | |
| 36 | define Package/python3-dns/description |
| 37 | dnspython is a DNS toolkit for Python. It supports almost all record |
| 38 | types. It can be used for queries, zone transfers, and dynamic updates. |
| 39 | It supports TSIG authenticated messages and EDNS0. |
| 40 | endef |
| 41 | |
| 42 | $(eval $(call Py3Package,python3-dns)) |
| 43 | $(eval $(call BuildPackage,python3-dns)) |
| 44 | $(eval $(call BuildPackage,python3-dns-src)) |