| @@ -1,25 +1,26 @@ | | | @@ -1,25 +1,26 @@ |
1 | # $NetBSD: Makefile,v 1.3 2022/11/30 15:08:31 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.4 2023/06/27 10:27:23 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= pytest_env-0.8.1 | | 3 | DISTNAME= pytest_env-0.8.2 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//:S/_/-/} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//:S/_/-/} |
5 | CATEGORIES= devel python | | 5 | CATEGORIES= devel python |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-env/} | | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-env/} |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://github.com/MobileDynasty/pytest-env | | 9 | HOMEPAGE= https://github.com/MobileDynasty/pytest-env |
10 | COMMENT= Plugin for py.test that allows you to add environment variables | | 10 | COMMENT= Plugin for py.test that allows you to add environment variables |
11 | LICENSE= mit | | 11 | LICENSE= mit |
12 | | | 12 | |
13 | TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.11.1:../../devel/py-hatchling | | 13 | TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.11.1:../../devel/py-hatchling |
14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs>=0.2:../../devel/py-hatch-vcs | | 14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs>=0.2:../../devel/py-hatch-vcs |
15 | DEPENDS+= ${PYPKGPREFIX}-test>=7.1.3:../../devel/py-test | | 15 | DEPENDS+= ${PYPKGPREFIX}-test>=7.1.3:../../devel/py-test |
| | | 16 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=3.10:../../devel/py-test-mock |
16 | | | 17 | |
17 | USE_LANGUAGES= # none | | 18 | USE_LANGUAGES= # none |
18 | | | 19 | |
19 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | | 20 | PYTHON_VERSIONS_INCOMPATIBLE= 27 |
20 | | | 21 | |
21 | do-test: | | 22 | do-test: |
22 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests | | 23 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests |
23 | | | 24 | |
24 | .include "../../lang/python/wheel.mk" | | 25 | .include "../../lang/python/wheel.mk" |
25 | .include "../../mk/bsd.pkg.mk" | | 26 | .include "../../mk/bsd.pkg.mk" |