aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-12-09 22:09:59 +0800
committerwg <wg@FreeBSD.org>2013-12-09 22:09:59 +0800
commitacbed4ef2a817d1c46b241c129984da5a51abf4d (patch)
tree22d9367702cb43847ba49b5927077c00e8a85bf5 /dns
parent83a8ab3b3f4c509f4c8dafff93d2a992a33c4888 (diff)
downloadfreebsd-ports-gnome-acbed4ef2a817d1c46b241c129984da5a51abf4d.tar.gz
freebsd-ports-gnome-acbed4ef2a817d1c46b241c129984da5a51abf4d.tar.zst
freebsd-ports-gnome-acbed4ef2a817d1c46b241c129984da5a51abf4d.zip
dns/py-dnspython: revert last egginfo commit as it doesn't work with python 3
Diffstat (limited to 'dns')
-rw-r--r--dns/py-dnspython/Makefile4
-rw-r--r--dns/py-dnspython/pkg-plist-py21
-rw-r--r--dns/py-dnspython/pkg-plist-py31
3 files changed, 6 insertions, 0 deletions
diff --git a/dns/py-dnspython/Makefile b/dns/py-dnspython/Makefile
index fe555126f766..a7207853612c 100644
--- a/dns/py-dnspython/Makefile
+++ b/dns/py-dnspython/Makefile
@@ -13,6 +13,8 @@ COMMENT= DNS toolkit for Python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+PYDISTUTILS_PKGNAME= ${PORTNAME}${PORTVERSIONSUFFIX}
+PYDISTUTILS_NOEGGINFO= yes
OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}/options
OPTIONS_DEFINE= PYCRYPTO
@@ -30,9 +32,11 @@ NO_STAGE= yes
.if ${PYTHON_MAJOR_VER} < 3
PORTVERSIONSUFFIX=
+PYDISTUTILS_PKGNAME:= ${PORTNAME}${PORTVERSIONSUFFIX}6
PLIST= ${PKGDIR}/pkg-plist-py2
.else
PORTVERSIONSUFFIX=3
+PYDISTUTILS_PKGNAME:= ${PORTNAME}${PORTVERSIONSUFFIX}5
PLIST= ${PKGDIR}/pkg-plist-py3
EXAMPLESDIR:= ${EXAMPLESDIR}3
.endif
diff --git a/dns/py-dnspython/pkg-plist-py2 b/dns/py-dnspython/pkg-plist-py2
index 6e60074f75d5..65c1225d268a 100644
--- a/dns/py-dnspython/pkg-plist-py2
+++ b/dns/py-dnspython/pkg-plist-py2
@@ -244,6 +244,7 @@
%%PYTHON_SITELIBDIR%%/dns/zone.py
%%PYTHON_SITELIBDIR%%/dns/zone.pyc
%%PYTHON_SITELIBDIR%%/dns/zone.pyo
+%%PYTHON_SITELIBDIR%%/dnspython-%%PORTVERSION%%-py%%PYTHON_VER%%.egg-info
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ddns.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/e164.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx.py
diff --git a/dns/py-dnspython/pkg-plist-py3 b/dns/py-dnspython/pkg-plist-py3
index 7b62c9d36cf1..0e66130b663b 100644
--- a/dns/py-dnspython/pkg-plist-py3
+++ b/dns/py-dnspython/pkg-plist-py3
@@ -35,6 +35,7 @@
%%PYTHON_SITELIBDIR%%/dns/version.py
%%PYTHON_SITELIBDIR%%/dns/wiredata.py
%%PYTHON_SITELIBDIR%%/dns/zone.py
+%%PYTHON_SITELIBDIR%%/dnspython-%%PORTVERSION%%-py%%PYTHON_VER%%.egg-info
%%PYTHON_SITELIBDIR%%/dns/rdtypes/__init__.py
%%PYTHON_SITELIBDIR%%/dns/rdtypes/dsbase.py
%%PYTHON_SITELIBDIR%%/dns/rdtypes/mxbase.py