| @@ -1,18 +1,24 @@ | | | @@ -1,18 +1,24 @@ |
1 | # $NetBSD: Makefile,v 1.3 2023/05/03 18:50:31 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.4 2023/08/24 20:26:50 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= shellingham-1.5.0.post1 | | 3 | DISTNAME= shellingham-1.5.3 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/post//} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/post//} |
5 | CATEGORIES= misc python | | 5 | CATEGORIES= misc python |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=s/shellingham/} | | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=s/shellingham/} |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://github.com/sarugaku/shellingham | | 9 | HOMEPAGE= https://github.com/sarugaku/shellingham |
10 | COMMENT= Tool to detect surrounding shell | | 10 | COMMENT= Tool to detect surrounding shell |
11 | LICENSE= isc | | 11 | LICENSE= isc |
12 | | | 12 | |
| | | 13 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test |
| | | 14 | |
13 | USE_LANGUAGES= # none | | 15 | USE_LANGUAGES= # none |
14 | | | 16 | |
15 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | | 17 | PYTHON_VERSIONS_INCOMPATIBLE= 27 |
16 | | | 18 | |
| | | 19 | # needs 'make install' |
| | | 20 | do-test: |
| | | 21 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} |
| | | 22 | |
17 | .include "../../lang/python/egg.mk" | | 23 | .include "../../lang/python/egg.mk" |
18 | .include "../../mk/bsd.pkg.mk" | | 24 | .include "../../mk/bsd.pkg.mk" |