aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dns/py-dnspython/Makefile8
-rw-r--r--dns/py-dnspython/distinfo4
2 files changed, 10 insertions, 2 deletions
diff --git a/dns/py-dnspython/Makefile b/dns/py-dnspython/Makefile
index ed72b3ffa45a..ba52900816d1 100644
--- a/dns/py-dnspython/Makefile
+++ b/dns/py-dnspython/Makefile
@@ -24,9 +24,15 @@ PYCRYPTODOME_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycryptodome>=0:security/py-pyc
PORTEXAMPLES= ddns.py e164.py mx.py name.py reverse.py reverse_name.py \
xfr.py zonediff.py
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_MAJOR_VER} == 3
+PORTVERSION= 2.1.0
+.endif
+
post-install-EXAMPLES-on:
# examples
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/dns/py-dnspython/distinfo b/dns/py-dnspython/distinfo
index 811b8c0e68c1..a4ae58940da3 100644
--- a/dns/py-dnspython/distinfo
+++ b/dns/py-dnspython/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1547728483
+TIMESTAMP = 1613064959
SHA256 (dnspython-1.16.0.zip) = 36c5e8e38d4369a08b6780b7f27d790a292b2b08eea01607865bf0936c558e01
SIZE (dnspython-1.16.0.zip) = 266364
+SHA256 (dnspython-2.1.0.zip) = e4a87f0b573201a0f3727fa18a516b055fd1107e0e5477cded4a2de497df1dd4
+SIZE (dnspython-2.1.0.zip) = 389021