blob: 03fbffee67a0972eb44f41c0b6d30e4026f3a5d2 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=python-dns
11PKG_VERSION:=2.4.1
12PKG_RELEASE:=1
13
14PYPI_NAME:=dnspython
15PKG_HASH:=c33971c79af5be968bb897e95c2448e11a645ee84d93b265ce0b7aabe5dfdca8
16
17PKG_LICENSE:=ISC
18PKG_LICENSE_FILES:=LICENSE
19PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
20
21PKG_BUILD_DEPENDS:=python-poetry-core/host
22
23include ../pypi.mk
24include $(INCLUDE_DIR)/package.mk
25include ../python3-package.mk
26
27define 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
34endef
35
36define Package/python3-dns/description
37dnspython is a DNS toolkit for Python. It supports almost all record
38types. It can be used for queries, zone transfers, and dynamic updates.
39It supports TSIG authenticated messages and EDNS0.
40endef
41
42$(eval $(call Py3Package,python3-dns))
43$(eval $(call BuildPackage,python3-dns))
44$(eval $(call BuildPackage,python3-dns-src))