pkgsrc/devel/py-test-env/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

29 lines
763 B
Makefile

# $NetBSD: Makefile,v 1.2 2022/01/04 20:53:41 wiz Exp $
DISTNAME= pytest-env-0.6.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-env/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/MobileDynasty/pytest-env
COMMENT= Plugin for py.test that allows you to add environment variables
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-test>=2.6.0:../../devel/py-test
# This likely works with 27, but for now omit versioned deps.
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/pyversion.mk"
USE_LANGUAGES= # none
USE_TOOLS+= bash:build
do-test:
cd ${WRKSRC}/testing && pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"