pkgsrc/time/py-cftime/Makefile
wiz bb579283d0 *: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
2022-01-04 20:53:26 +00:00

27 lines
842 B
Makefile

# $NetBSD: Makefile,v 1.8 2022/01/04 20:55:11 wiz 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 # 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"