pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/time/py-cftime
Module Name: pkgsrc
Committed By: wiz
Date: Mon Dec 6 15:38:18 UTC 2021
Modified Files:
pkgsrc/time/py-cftime: Makefile
Log Message:
py-cftime: not for python 2.x
While here, fix tests.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/time/py-cftime/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/time/py-cftime/Makefile
diff -u pkgsrc/time/py-cftime/Makefile:1.5 pkgsrc/time/py-cftime/Makefile:1.6
--- pkgsrc/time/py-cftime/Makefile:1.5 Tue Jun 29 08:42:02 2021
+++ pkgsrc/time/py-cftime/Makefile Mon Dec 6 15:38:18 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2021/06/29 08:42:02 nia Exp $
+# $NetBSD: Makefile,v 1.6 2021/12/06 15:38:18 wiz Exp $
DISTNAME= cftime-1.5.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -13,14 +13,13 @@ LICENSE= gnu-gpl-v3
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
-# This pulls too many unnecessary dependencies.
-#PYSETUPTESTTARGET= pytest
+PYTHON_VERSIONS_INCOMPATIBLE= 27 36 # py-numpy
+TEST_ENV+= PYTHONPATH=build/lib
do-test:
+ cd ${WRKSRC}/build && ${LN} -sf lib.* lib
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} test
-PYTHON_VERSIONS_INCOMPATIBLE+= 36 # py-numpy
-
.include "../../devel/py-cython/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../math/py-numpy/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index