svn commit: r419258 - head/dns/py-dnspython
Ruslan Makhmatkhanov
rm at FreeBSD.org
Fri Jul 29 15:06:13 UTC 2016
Author: rm
Date: Fri Jul 29 15:06:11 2016
New Revision: 419258
URL: https://svnweb.freebsd.org/changeset/ports/419258
Log:
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
Modified:
head/dns/py-dnspython/Makefile
head/dns/py-dnspython/distinfo
Modified: head/dns/py-dnspython/Makefile
==============================================================================
--- head/dns/py-dnspython/Makefile Fri Jul 29 14:12:20 2016 (r419257)
+++ head/dns/py-dnspython/Makefile Fri Jul 29 15:06:11 2016 (r419258)
@@ -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 at 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>
Modified: head/dns/py-dnspython/distinfo
==============================================================================
--- head/dns/py-dnspython/distinfo Fri Jul 29 14:12:20 2016 (r419257)
+++ head/dns/py-dnspython/distinfo Fri Jul 29 15:06:11 2016 (r419258)
@@ -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
More information about the svn-ports-head
mailing list