openbsd-ports/devel/py-test-remotedata/Makefile

30 lines
592 B
Makefile

COMMENT = pytest plugin for controlling remote data access
MODPY_EGG_VERSION = 0.4.0
DISTNAME = pytest-remotedata-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:S/py//}
CATEGORIES = devel
HOMEPAGE = https://github.com/astropy/pytest-remotedata
# 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} \
sysutils/py-packaging${MODPY_FLAVOR}
# so that pytest can find this plugin; some tests need network access
TEST_DEPENDS = ${BUILD_PKGPATH}
.include <bsd.port.mk>