pkgsrc-WIP-changes archive

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

py-pathlib: mark as only for python-2.x.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Tue Aug 29 08:54:32 2017 +0200
Changeset:	baa222f96fc4b62549fefdcb87f2060684ba96f5

Modified Files:
	py-pathlib/Makefile
	py-pathlib/PLIST

Log Message:
py-pathlib: mark as only for python-2.x.

Convert to distutils.mk and adapt PLIST.

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

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

diffstat:
 py-pathlib/Makefile | 4 ++--
 py-pathlib/PLIST    | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs:
diff --git a/py-pathlib/Makefile b/py-pathlib/Makefile
index 6cb0a66600..e7280f9ae2 100644
--- a/py-pathlib/Makefile
+++ b/py-pathlib/Makefile
@@ -12,10 +12,10 @@ LICENSE=	mit
 
 USE_LANGUAGES=	# none
 
-PYDISTUTILSPKG=	yes
+PYTHON_VERSIONS_ACCEPTED=	27 # included in 3.4+
 
 do-test:
 	${RUN} cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHONBIN} test_pathlib.py
 
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-pathlib/PLIST b/py-pathlib/PLIST
index 79c86b26b3..87ca35dd5f 100644
--- a/py-pathlib/PLIST
+++ b/py-pathlib/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2015/07/03 18:49:26 jihbed Exp $
+@comment $NetBSD$
+${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/pathlib.py
 ${PYSITELIB}/pathlib.pyc
 ${PYSITELIB}/pathlib.pyo


Home | Main Index | Thread Index | Old Index