1d510345f5
It is a test dependency, but we can't add it since it would introduce a cyclic dependency.
24 lines
783 B
Makefile
24 lines
783 B
Makefile
# $NetBSD: Makefile,v 1.15 2018/03/20 14:33:29 wiz Exp $
|
|
|
|
DISTNAME= pytest-runner-4.2
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-runner/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/pytest-dev/pytest-runner
|
|
COMMENT= Invoke py.test as distutils command with dependency resolution
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
|
|
DEPENDS+= ${PYPKGPREFIX}-test>=2.8:../../devel/py-test
|
|
# TEST_DEPENDS, but introduces dependency cycle
|
|
#BUILD_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|