aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-03-01 01:57:18 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-03-01 01:57:18 +0000
commit5d855cc1c57944dff3cfac0f498b38a4380a1a40 (patch)
tree183486096654fc9b5e3058e6f616a2db828486c3
parent9f292517d7b73723c0b2d9f14ebc06a1b78c7443 (diff)
downloadports-5d855cc1c57944dff3cfac0f498b38a4380a1a40.tar.gz
ports-5d855cc1c57944dff3cfac0f498b38a4380a1a40.zip
dns/py-dnspython: Update version 1.16.0=>2.2.0
- Take MAINTAINERSHIP Relnotes: https://www.dnspython.org/news/2.2.0/
-rw-r--r--dns/py-dnspython/Makefile15
-rw-r--r--dns/py-dnspython/distinfo6
2 files changed, 14 insertions, 7 deletions
diff --git a/dns/py-dnspython/Makefile b/dns/py-dnspython/Makefile
index 083f98e153a6..6a355b9e46f3 100644
--- a/dns/py-dnspython/Makefile
+++ b/dns/py-dnspython/Makefile
@@ -1,20 +1,24 @@
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
PORTNAME= dnspython
-PORTVERSION= 1.16.0
+PORTVERSION= 2.2.0
PORTEPOCH= 1
CATEGORIES= dns python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= rm@FreeBSD.org
+MAINTAINER= bofh@FreeBSD.org
COMMENT= DNS toolkit for Python
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= python:2.7-3.7 zip
-USE_PYTHON= autoplist concurrent cython distutils
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist cython distutils
NO_ARCH= yes
@@ -29,4 +33,7 @@ post-install-EXAMPLES-on:
@${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>
diff --git a/dns/py-dnspython/distinfo b/dns/py-dnspython/distinfo
index 88b7df39d17d..b8d8bcc1b53b 100644
--- a/dns/py-dnspython/distinfo
+++ b/dns/py-dnspython/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1646069762
-SHA256 (dnspython-1.16.0.zip) = 36c5e8e38d4369a08b6780b7f27d790a292b2b08eea01607865bf0936c558e01
-SIZE (dnspython-1.16.0.zip) = 266364
+TIMESTAMP = 1646099692
+SHA256 (dnspython-2.2.0.tar.gz) = e79351e032d0b606b98d38a4b0e6e2275b31a5b85c873e587cc11b73aca026d6
+SIZE (dnspython-2.2.0.tar.gz) = 278858