From dd9a6bd8aa7d2681df205812e7959fd8c2a64a81 Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 6 Dec 2021 15:38:18 +0000 Subject: py-cftime: not for python 2.x While here, fix tests. --- time/py-cftime/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'time') diff --git a/time/py-cftime/Makefile b/time/py-cftime/Makefile index 9c6a44dc5f2..297e9ca4d10 100644 --- a/time/py-cftime/Makefile +++ b/time/py-cftime/Makefile @@ -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" -- cgit v1.2.3