aboutsummaryrefslogtreecommitdiff
path: root/dns/py-dnspython
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2012-09-29 20:19:52 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2012-09-29 20:19:52 +0000
commitb8ffbd56aa5adeae02ca39748e2b2fd284b0fcfc (patch)
tree51caf7efa9bed89b9017ca8221bc073f53d313a2 /dns/py-dnspython
parentef303ed8577e01614938da0c2e3bb5cce3b74f1e (diff)
downloadports-b8ffbd56aa5adeae02ca39748e2b2fd284b0fcfc.tar.gz
ports-b8ffbd56aa5adeae02ca39748e2b2fd284b0fcfc.zip
Notes
Diffstat (limited to 'dns/py-dnspython')
-rw-r--r--dns/py-dnspython/Makefile41
-rw-r--r--dns/py-dnspython/distinfo4
-rw-r--r--dns/py-dnspython/pkg-descr3
-rw-r--r--dns/py-dnspython/pkg-plist18
4 files changed, 21 insertions, 45 deletions
diff --git a/dns/py-dnspython/Makefile b/dns/py-dnspython/Makefile
index 2a82cec71b5c..aa7088764237 100644
--- a/dns/py-dnspython/Makefile
+++ b/dns/py-dnspython/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= dnspython
-PORTVERSION= 1.9.4
+PORTVERSION= 1.10.0
CATEGORIES= dns python
MASTER_SITES= http://www.dnspython.org/kits/${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -10,35 +10,28 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= rm@FreeBSD.org
COMMENT= A DNS toolkit for Python
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-
-OPTIONS= PYCRYPTO "Enable pycrypto (part of dnssec needs it)" off
-
-PORTDOCS= \
- ChangeLog \
- README \
- TODO
-EXAMPLE_FILES= \
- ddns.py \
- e164.py \
- mx.py \
- name.py \
- reverse.py \
- reverse_name.py \
- xfr.py \
+USE_PYTHON= -2.7
+USE_PYDISTUTILS=yes
+
+OPTIONS_DEFINE= PYCRYPTO
+PYCRYPTO_DESC= Enable pycrypto (part of dnssec needs it)
+
+PORTDOCS= ChangeLog README
+EXAMPLE_FILES= ddns.py e164.py mx.py name.py reverse.py reverse_name.py xfr.py \
zonediff.py
+.include <bsd.port.options.mk>
+
post-install:
# docs
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
# examples
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
.for file in ${EXAMPLE_FILES}
@${INSTALL_DATA} ${WRKSRC}/examples/${file} ${EXAMPLESDIR}
@@ -48,10 +41,8 @@ post-install:
@${CHMOD} -R ${SHAREMODE} ${PYTHONPREFIX_SITELIBDIR}/dns/*
@${CHMOD} -R a+X ${PYTHONPREFIX_SITELIBDIR}/dns/*
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_PYCRYPTO)
-RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/Crypto/__init__.py:${PORTSDIR}/security/py-pycrypto
+.if ${PORT_OPTIONS:MPYCRYPTO}
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}crypto>0:${PORTSDIR}/security/py-pycrypto
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/dns/py-dnspython/distinfo b/dns/py-dnspython/distinfo
index e7fced980c94..a29995e38b8c 100644
--- a/dns/py-dnspython/distinfo
+++ b/dns/py-dnspython/distinfo
@@ -1,2 +1,2 @@
-SHA256 (dnspython-1.9.4.tar.gz) = ab23f93b8ea33c7b2780d6093344a13c95a371e1d2c22f74ba5d076cc15d1918
-SIZE (dnspython-1.9.4.tar.gz) = 120126
+SHA256 (dnspython-1.10.0.tar.gz) = 4dc21450ec6ac94dd105b4e5f39a75b404ad45a30869ff73acb6fd4d9974f857
+SIZE (dnspython-1.10.0.tar.gz) = 124416
diff --git a/dns/py-dnspython/pkg-descr b/dns/py-dnspython/pkg-descr
index bd23620a058f..bdba209aa135 100644
--- a/dns/py-dnspython/pkg-descr
+++ b/dns/py-dnspython/pkg-descr
@@ -1,5 +1,3 @@
-[ excerpt with modifications from developer's site ]
-
dnspython is a DNS toolkit for Python. It supports almost all record
types. It can be used for queries, zone transfers, and dynamic
updates. It supports TSIG authenticated messages and EDNS0.
@@ -9,5 +7,4 @@ level classes perform queries for data of a given name, type, and
class, and return an answer set. The low level classes allow direct
manipulation of DNS zones, messages, names, and records.
-Author: Bob Halley <halley@dnspython.org>
WWW: http://www.dnspython.org/
diff --git a/dns/py-dnspython/pkg-plist b/dns/py-dnspython/pkg-plist
index 0d86a33583e0..65c0e8e31912 100644
--- a/dns/py-dnspython/pkg-plist
+++ b/dns/py-dnspython/pkg-plist
@@ -97,9 +97,6 @@
%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/ISDN.py
%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/ISDN.pyc
%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/ISDN.pyo
-%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/KEY.py
-%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/KEY.pyc
-%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/KEY.pyo
%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/LOC.py
%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/LOC.pyc
%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/LOC.pyo
@@ -118,9 +115,6 @@
%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/NSEC3PARAM.py
%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/NSEC3PARAM.pyc
%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/NSEC3PARAM.pyo
-%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/NXT.py
-%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/NXT.pyc
-%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/NXT.pyo
%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/PTR.py
%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/PTR.pyc
%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/PTR.pyo
@@ -133,9 +127,6 @@
%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/RT.py
%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/RT.pyc
%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/RT.pyo
-%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/SIG.py
-%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/SIG.pyc
-%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/SIG.pyo
%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/SOA.py
%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/SOA.pyc
%%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY/SOA.pyo
@@ -199,18 +190,12 @@
%%PYTHON_SITELIBDIR%%/dns/rdtypes/dsbase.py
%%PYTHON_SITELIBDIR%%/dns/rdtypes/dsbase.pyc
%%PYTHON_SITELIBDIR%%/dns/rdtypes/dsbase.pyo
-%%PYTHON_SITELIBDIR%%/dns/rdtypes/keybase.py
-%%PYTHON_SITELIBDIR%%/dns/rdtypes/keybase.pyc
-%%PYTHON_SITELIBDIR%%/dns/rdtypes/keybase.pyo
%%PYTHON_SITELIBDIR%%/dns/rdtypes/mxbase.py
%%PYTHON_SITELIBDIR%%/dns/rdtypes/mxbase.pyc
%%PYTHON_SITELIBDIR%%/dns/rdtypes/mxbase.pyo
%%PYTHON_SITELIBDIR%%/dns/rdtypes/nsbase.py
%%PYTHON_SITELIBDIR%%/dns/rdtypes/nsbase.pyc
%%PYTHON_SITELIBDIR%%/dns/rdtypes/nsbase.pyo
-%%PYTHON_SITELIBDIR%%/dns/rdtypes/sigbase.py
-%%PYTHON_SITELIBDIR%%/dns/rdtypes/sigbase.pyc
-%%PYTHON_SITELIBDIR%%/dns/rdtypes/sigbase.pyo
%%PYTHON_SITELIBDIR%%/dns/rdtypes/txtbase.py
%%PYTHON_SITELIBDIR%%/dns/rdtypes/txtbase.pyc
%%PYTHON_SITELIBDIR%%/dns/rdtypes/txtbase.pyo
@@ -247,6 +232,9 @@
%%PYTHON_SITELIBDIR%%/dns/version.py
%%PYTHON_SITELIBDIR%%/dns/version.pyc
%%PYTHON_SITELIBDIR%%/dns/version.pyo
+%%PYTHON_SITELIBDIR%%/dns/wiredata.py
+%%PYTHON_SITELIBDIR%%/dns/wiredata.pyc
+%%PYTHON_SITELIBDIR%%/dns/wiredata.pyo
%%PYTHON_SITELIBDIR%%/dns/zone.py
%%PYTHON_SITELIBDIR%%/dns/zone.pyc
%%PYTHON_SITELIBDIR%%/dns/zone.pyo