pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-dns-clientsubnetoption: fix for python-3.x.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sun Jun 26 22:13:21 2016 +0200
Changeset:	51087e23be7674931b411a80cd19a412f8c01413

Modified Files:
	py-dns-clientsubnetoption/Makefile
	py-dns-clientsubnetoption/PLIST

Log Message:
py-dns-clientsubnetoption: fix for python-3.x.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=51087e23be7674931b411a80cd19a412f8c01413

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-dns-clientsubnetoption/Makefile | 5 +++--
 py-dns-clientsubnetoption/PLIST    | 6 +++++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs:
diff --git a/py-dns-clientsubnetoption/Makefile b/py-dns-clientsubnetoption/Makefile
index b9cc051..9af625f 100644
--- a/py-dns-clientsubnetoption/Makefile
+++ b/py-dns-clientsubnetoption/Makefile
@@ -14,7 +14,8 @@ LICENSE=	modified-bsd
 # note the LICENSE document is missing part of final sentence
 # I reported this to them.
 
-DEPENDS+=	${PYPKGPREFIX}-dns-[0-9]*:../../net/py-dns
+PYTHON_VERSIONED_DEPENDENCIES+=	dns
+EGG_NAME=	clientsubnetoption-${PKGVERSION_NOREV}
 
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-dns-clientsubnetoption/PLIST b/py-dns-clientsubnetoption/PLIST
index 47b3686..04d72c6 100644
--- a/py-dns-clientsubnetoption/PLIST
+++ b/py-dns-clientsubnetoption/PLIST
@@ -1,5 +1,9 @@
 @comment $NetBSD$
-${PYSITELIB}/clientsubnetoption-${PKGVERSION}-py2.7.egg-info
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/clientsubnetoption.py
 ${PYSITELIB}/clientsubnetoption.pyc
 ${PYSITELIB}/clientsubnetoption.pyo


Home | Main Index | Thread Index | Old Index