| @@ -1,28 +1,29 @@ | | | @@ -1,28 +1,29 @@ |
1 | # $NetBSD: Makefile,v 1.14 2023/04/27 08:22:44 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.15 2023/05/03 18:52:46 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= platformdirs-3.4.0 | | 3 | DISTNAME= platformdirs-3.5.0 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
5 | CATEGORIES= misc python | | 5 | CATEGORIES= misc python |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/platformdirs/} | | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/platformdirs/} |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://github.com/platformdirs/platformdirs | | 9 | HOMEPAGE= https://github.com/platformdirs/platformdirs |
10 | COMMENT= Python module for determining appropriate platform-specific dirs | | 10 | COMMENT= Python module for determining appropriate platform-specific dirs |
11 | LICENSE= mit | | 11 | LICENSE= mit |
12 | | | 12 | |
13 | TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.14:../../devel/py-hatchling | | 13 | TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.14:../../devel/py-hatchling |
14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs>=0.3:../../devel/py-hatch-vcs | | 14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs>=0.3:../../devel/py-hatch-vcs |
15 | TEST_DEPENDS+= ${PYPKGPREFIX}-appdirs>=1.4.4:../../devel/py-appdirs | | 15 | TEST_DEPENDS+= ${PYPKGPREFIX}-appdirs>=1.4.4:../../devel/py-appdirs |
16 | TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.2.1:../../devel/py-test | | 16 | TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.2.1:../../devel/py-test |
17 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=4:../../devel/py-test-cov | | 17 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=4:../../devel/py-test-cov |
18 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=3.10:../../devel/py-test-mock | | 18 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=3.10:../../devel/py-test-mock |
19 | | | 19 | |
20 | USE_LANGUAGES= # none | | 20 | USE_LANGUAGES= # none |
21 | | | 21 | |
22 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | | 22 | PYTHON_VERSIONS_INCOMPATIBLE= 27 |
23 | | | 23 | |
| | | 24 | # needs 'make install' |
24 | do-test: | | 25 | do-test: |
25 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests | | 26 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests |
26 | | | 27 | |
27 | .include "../../lang/python/wheel.mk" | | 28 | .include "../../lang/python/wheel.mk" |
28 | .include "../../mk/bsd.pkg.mk" | | 29 | .include "../../mk/bsd.pkg.mk" |