diff options
author | rm <rm@FreeBSD.org> | 2016-07-29 23:06:11 +0800 |
---|---|---|
committer | rm <rm@FreeBSD.org> | 2016-07-29 23:06:11 +0800 |
commit | efbacb0a5d5de13766cbc60855cb8dae8e064c79 (patch) | |
tree | 42265de4ff0ab3f05e07672805fb9b41eaea92cb /dns/py-dnspython | |
parent | dd62e769a12e585515add08ec120ad1779bc99dd (diff) | |
download | freebsd-ports-gnome-efbacb0a5d5de13766cbc60855cb8dae8e064c79.tar.gz freebsd-ports-gnome-efbacb0a5d5de13766cbc60855cb8dae8e064c79.tar.zst freebsd-ports-gnome-efbacb0a5d5de13766cbc60855cb8dae8e064c79.zip |
dns/py-dnspython: update to 1.14.0
- python 2.x and python 3.x are now supported from the single codebase,
so kick off all the python version distinction shims
- remove permission safeness bits because they are not needed anymore
(tested both with poudriere generated package and user generated package)
- general clean-up
Diffstat (limited to 'dns/py-dnspython')
-rw-r--r-- | dns/py-dnspython/Makefile | 27 | ||||
-rw-r--r-- | dns/py-dnspython/distinfo | 7 |
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 |