aboutsummaryrefslogtreecommitdiffstats
path: root/dns/py-py3dns
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-12-30 03:01:11 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-12-30 03:01:11 +0800
commit19b58a64ee57a550bed73e76f3b5ea4c7512655b (patch)
tree5ee4224c81285c1d5fbdedca43d57bb772de027d /dns/py-py3dns
parentf31f26cff66e36a5672c2d47554b52b4b216ccbf (diff)
downloadfreebsd-ports-gnome-19b58a64ee57a550bed73e76f3b5ea4c7512655b.tar.gz
freebsd-ports-gnome-19b58a64ee57a550bed73e76f3b5ea4c7512655b.tar.zst
freebsd-ports-gnome-19b58a64ee57a550bed73e76f3b5ea4c7512655b.zip
- Update to 3.1.0
Changes: http://bazaar.launchpad.net/~py3dns-hackers/py3dns/trunk/view/head:/CHANGES
Diffstat (limited to 'dns/py-py3dns')
-rw-r--r--dns/py-py3dns/Makefile12
-rw-r--r--dns/py-py3dns/distinfo4
-rw-r--r--dns/py-py3dns/files/patch-DNS-Base.py7
3 files changed, 18 insertions, 5 deletions
diff --git a/dns/py-py3dns/Makefile b/dns/py-py3dns/Makefile
index 1f315ceaaf90..e1f003e05067 100644
--- a/dns/py-py3dns/Makefile
+++ b/dns/py-py3dns/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= py3dns
-PORTVERSION= 3.0.4
-PORTREVISION= 1
+PORTVERSION= 3.1.0
CATEGORIES= dns python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -20,4 +19,11 @@ NO_ARCH= yes
USE_PYTHON= autoplist distutils
USES= python
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3300
+BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ipaddress>=0:${PORTSDIR}/net/py-ipaddress
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ipaddress>=0:${PORTSDIR}/net/py-ipaddress
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/dns/py-py3dns/distinfo b/dns/py-py3dns/distinfo
index e534895d1823..cb0b2c3adaa7 100644
--- a/dns/py-py3dns/distinfo
+++ b/dns/py-py3dns/distinfo
@@ -1,2 +1,2 @@
-SHA256 (py3dns-3.0.4.tar.gz) = a487285f725e7c01c4e1e7d511e56ccbc4c1ae5b34eaa5dd09990fec944fae53
-SIZE (py3dns-3.0.4.tar.gz) = 27524
+SHA256 (py3dns-3.1.0.tar.gz) = 124d7833fd0a6fbaebe17d093b028cfa77b155b5feab8e1c6265959a4b9e7fb7
+SIZE (py3dns-3.1.0.tar.gz) = 29501
diff --git a/dns/py-py3dns/files/patch-DNS-Base.py b/dns/py-py3dns/files/patch-DNS-Base.py
new file mode 100644
index 000000000000..3ec04aac76bc
--- /dev/null
+++ b/dns/py-py3dns/files/patch-DNS-Base.py
@@ -0,0 +1,7 @@
+--- DNS/Base.py.orig 2014-04-25 03:56:56 UTC
++++ DNS/Base.py
+@@ -1,3 +1,4 @@
++# -*- encoding: utf-8 -*-
+ """
+ $Id$
+