32 lines
603 B
Makefile
32 lines
603 B
Makefile
|
COMMENT = pytest plugin to generate/compare data arrays
|
||
|
|
||
|
MODPY_EGG_VERSION = 0.5.0
|
||
|
|
||
|
DISTNAME = pytest-arraydiff-${MODPY_EGG_VERSION}
|
||
|
PKGNAME = py-${DISTNAME:S/py//}
|
||
|
REVISION = 1
|
||
|
|
||
|
CATEGORIES = devel
|
||
|
|
||
|
HOMEPAGE = https://github.com/astropy/pytest-arraydiff
|
||
|
|
||
|
# BSD
|
||
|
PERMIT_PACKAGE = Yes
|
||
|
|
||
|
MODULES = lang/python
|
||
|
|
||
|
MODPY_PI = Yes
|
||
|
MODPY_PYBUILD = setuptools_scm
|
||
|
|
||
|
FLAVOR = python3
|
||
|
FLAVORS = python3
|
||
|
|
||
|
RUN_DEPENDS = devel/py-test${MODPY_FLAVOR} \
|
||
|
math/py-numpy${MODPY_FLAVOR}
|
||
|
TEST_DEPENDS = astro/py-astropy${MODPY_FLAVOR}
|
||
|
|
||
|
pre-test:
|
||
|
ln -fs ${LOCALBASE}/bin/py.test ${WRKDIR}/bin/pytest
|
||
|
|
||
|
.include <bsd.port.mk>
|