[NEW] dns/py-dnspython2: DNS toolkit for Python - 2.X branch

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.

dnspython provides both high and low level access to DNS. The high
level classes perform queries for data of a given name, type, and
class, and return an answer set. The low level classes allow direct
manipulation of DNS zones, messages, names, and records.

WWW: http://www.dnspython.org/

PR:				250566
Reported by:	yasu@utahime.org
Approved by:	rm
This commit is contained in:
Muhammad Moinur Rahman 2020-11-02 11:40:12 +00:00
parent 8001bb7d35
commit e1767da522
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553898
4 changed files with 51 additions and 0 deletions

View File

@ -181,6 +181,7 @@
SUBDIR += py-dns
SUBDIR += py-dns-lexicon
SUBDIR += py-dnspython
SUBDIR += py-dnspython2
SUBDIR += py-easyzone
SUBDIR += py-idna
SUBDIR += py-idna_ssl

View File

@ -0,0 +1,37 @@
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= dnspython
PORTVERSION= 2.0.0
CATEGORIES= dns python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 2
MAINTAINER= bofh@FreeBSD.org
COMMENT= DNS toolkit for Python - 2.X branch
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:3.6+ zip
USE_PYTHON= autoplist cython distutils
NO_ARCH= yes
OPTIONS_DEFINE= EXAMPLES PYCRYPTODOME
PYCRYPTODOME_DESC= Enable pycryptodome (part of dnssec needs it)
PYCRYPTODOME_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycryptodome>=0:security/py-pycryptodome@${PY_FLAVOR}
PORTEXAMPLES= ddns.py e164.py mx.py name.py reverse.py reverse_name.py \
xfr.py zonediff.py
post-install-EXAMPLES-on:
# examples
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR}
do-test:
cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} utest.py
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1604310396
SHA256 (dnspython-2.0.0.zip) = 044af09374469c3a39eeea1a146e8cac27daec951f1f1f157b1962fc7cb9d1b7
SIZE (dnspython-2.0.0.zip) = 324706

View File

@ -0,0 +1,10 @@
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.
dnspython provides both high and low level access to DNS. The high
level classes perform queries for data of a given name, type, and
class, and return an answer set. The low level classes allow direct
manipulation of DNS zones, messages, names, and records.
WWW: http://www.dnspython.org/