aboutsummaryrefslogtreecommitdiff
path: root/dns/py-dnspython
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2016-07-29 15:06:11 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2016-07-29 15:06:11 +0000
commit8431e6125575b2c7dcc831e4b2b8abed33338af7 (patch)
tree42265de4ff0ab3f05e07672805fb9b41eaea92cb /dns/py-dnspython
parentd39c32216f565be99fe51e3827be848558875868 (diff)
downloadports-8431e6125575b2c7dcc831e4b2b8abed33338af7.tar.gz
ports-8431e6125575b2c7dcc831e4b2b8abed33338af7.zip
Notes
Diffstat (limited to 'dns/py-dnspython')
-rw-r--r--dns/py-dnspython/Makefile27
-rw-r--r--dns/py-dnspython/distinfo7
2 files changed, 10 insertions, 24 deletions
diff --git a/dns/py-dnspython/Makefile b/dns/py-dnspython/Makefile
index 5cbf2fe01fd9..f475c77db6e2 100644
--- a/dns/py-dnspython/Makefile
+++ b/dns/py-dnspython/Makefile
@@ -2,39 +2,29 @@
# $FreeBSD$
PORTNAME= dnspython
-PORTVERSION= 1.12.0
+PORTVERSION= 1.14.0
CATEGORIES= dns python
-MASTER_SITES= http://www.dnspython.org/kits${PORTVERSIONSUFFIX}/${PORTVERSION}/
+MASTER_SITES= http://www.dnspython.org/kits/${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= ${PORTNAME}${PORTVERSIONSUFFIX}-${PORTVERSION}
MAINTAINER= rm@FreeBSD.org
COMMENT= DNS toolkit for Python
-USES= python
+NO_ARCH= yes
+USES= python:2.7+
USE_PYTHON= autoplist distutils
OPTIONS_DEFINE= DOCS EXAMPLES PYCRYPTO
PYCRYPTO_DESC= Enable pycrypto (part of dnssec needs it)
+PYCRYPTO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto
-PORTDOCS= ChangeLog README
+PORTDOCS= ChangeLog README.md
DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
PORTEXAMPLES= ddns.py e164.py mx.py name.py reverse.py reverse_name.py \
xfr.py zonediff.py
EXAMPLESDIR= ${PREFIX}/share/examples/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
-PYCRYPTO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto
-
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_MAJOR_VER} < 3
-PORTVERSIONSUFFIX=
-.else
-PORTVERSIONSUFFIX= 3
-EXAMPLESDIR:= ${EXAMPLESDIR}3
-.endif
-
post-install:
# docs
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@@ -42,8 +32,5 @@ post-install:
# examples
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR}
-# permission safeness
- @${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/dns -type f -exec ${CHMOD} ${SHAREMODE} {} \;
- @${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/dns -type d -exec ${CHMOD} 755 {} \;
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/dns/py-dnspython/distinfo b/dns/py-dnspython/distinfo
index 9376d7e86c8c..2fb9c6986e89 100644
--- a/dns/py-dnspython/distinfo
+++ b/dns/py-dnspython/distinfo
@@ -1,4 +1,3 @@
-SHA256 (dnspython-1.12.0.tar.gz) = 03fb82af866001c4afa58c48027bcc4b80bbf0a7f27e1d861cf06393eea4724f
-SIZE (dnspython-1.12.0.tar.gz) = 135164
-SHA256 (dnspython3-1.12.0.tar.gz) = 68affac839c7283661fd9f1b4baf74911a2292a627ee2dd1c3c98186b5c812f1
-SIZE (dnspython3-1.12.0.tar.gz) = 132470
+TIMESTAMP = 1469803908
+SHA256 (dnspython-1.14.0.tar.gz) = 1406421e208931a66fef38ef0106711e1da277c9f40ed935ec1ab7374c1687fc
+SIZE (dnspython-1.14.0.tar.gz) = 144591