[Midnightbsd-cvs] mports [23362] trunk/dns: update dnspython
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat May 5 14:46:21 EDT 2018
Revision: 23362
http://svnweb.midnightbsd.org/mports/?rev=23362
Author: laffer1
Date: 2018-05-05 14:46:20 -0400 (Sat, 05 May 2018)
Log Message:
-----------
update dnspython
Modified Paths:
--------------
trunk/dns/Makefile
trunk/dns/py-dnspython/Makefile
trunk/dns/py-dnspython/distinfo
Added Paths:
-----------
trunk/dns/py3-dnspython/
trunk/dns/py3-dnspython/Makefile
Modified: trunk/dns/Makefile
===================================================================
--- trunk/dns/Makefile 2018-05-05 18:43:38 UTC (rev 23361)
+++ trunk/dns/Makefile 2018-05-05 18:46:20 UTC (rev 23362)
@@ -28,6 +28,7 @@
SUBDIR += py-dns
SUBDIR += py-dnspython
SUBDIR += py-idna
+SUBDIR += py3-dnspython
SUBDIR += samba-nsupdate
SUBDIR += udns
SUBDIR += unbound
Modified: trunk/dns/py-dnspython/Makefile
===================================================================
--- trunk/dns/py-dnspython/Makefile 2018-05-05 18:43:38 UTC (rev 23361)
+++ trunk/dns/py-dnspython/Makefile 2018-05-05 18:46:20 UTC (rev 23362)
@@ -1,51 +1,32 @@
# $MidnightBSD$
PORTNAME= dnspython
-PORTVERSION= 1.12.0
+PORTVERSION= 1.15.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= ports at MidnightBSD.org
COMMENT= DNS toolkit for Python
-LICENSE= mit
+LICENSE= isc
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= python
+NO_ARCH= yes
+USES?= python:2.7+
USE_PYTHON= autoplist distutils
-OPTIONS_DEFINE= DOCS EXAMPLES PYCRYPTO
+OPTIONS_DEFINE= EXAMPLES PYCRYPTO
PYCRYPTO_DESC= Enable pycrypto (part of dnssec needs it)
+PYCRYPTO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto
-PORTDOCS= ChangeLog README
-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:${PORTSDIR}/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} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
# examples
- @${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${EXAMPLESDIR}
-# permission safeness
- @${FIND} ${FAKE_DESTDIR}${PYTHONPREFIX_SITELIBDIR}/dns -type f -exec ${CHMOD} ${SHAREMODE} {} \;
- @${FIND} ${FAKE_DESTDIR}${PYTHONPREFIX_SITELIBDIR}/dns -type d -exec ${CHMOD} 755 {} \;
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: trunk/dns/py-dnspython/distinfo
===================================================================
--- trunk/dns/py-dnspython/distinfo 2018-05-05 18:43:38 UTC (rev 23361)
+++ trunk/dns/py-dnspython/distinfo 2018-05-05 18:46:20 UTC (rev 23362)
@@ -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 = 1477588213
+SHA256 (dnspython-1.15.0.tar.gz) = 11598ae5735746e63921f8eebdfdee4a2e7d0ba842ebd57ba02682d4aed8244b
+SIZE (dnspython-1.15.0.tar.gz) = 144073
Added: trunk/dns/py3-dnspython/Makefile
===================================================================
--- trunk/dns/py3-dnspython/Makefile (rev 0)
+++ trunk/dns/py3-dnspython/Makefile 2018-05-05 18:46:20 UTC (rev 23362)
@@ -0,0 +1,7 @@
+# $MidnightBSD$
+
+MASTERDIR= ${.CURDIR}/../py-dnspython
+
+USES= python:3.3+
+
+.include "${MASTERDIR}/Makefile"
Property changes on: trunk/dns/py3-dnspython/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list