blob: 244408a0db1d07a68351cc786050cebfde31e06f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $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"
|