# $NetBSD: Makefile,v 1.9 2022/04/15 11:37:46 nia Exp $ DISTNAME= cftime-1.5.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} PKGREVISION= 1 CATEGORIES= time python MASTER_SITES= ${MASTER_SITE_PYPI:=c/cftime/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://github.com/Unidata/cftime COMMENT= Time-handling functionality 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 PYTHON_VERSIONS_INCOMPATIBLE= 27 37 # py-numpy TEST_ENV+= PYTHONPATH=build/lib do-test: cd ${WRKSRC}/build && ${LN} -sf lib.* lib cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} test .include "../../devel/py-cython/buildlink3.mk" .include "../../lang/python/egg.mk" .include "../../math/py-numpy/buildlink3.mk" .include "../../mk/bsd.pkg.mk"