| @@ -1,27 +1,31 @@ | | | @@ -1,27 +1,31 @@ |
1 | # $NetBSD: Makefile,v 1.7 2023/06/06 12:41:15 riastradh Exp $ | | 1 | # $NetBSD: Makefile,v 1.8 2023/10/06 12:43:24 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= pytest-pylint-0.19.0 | | 3 | DISTNAME= pytest-pylint-0.21.0 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} |
5 | CATEGORIES= devel python | | 5 | CATEGORIES= devel python |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-pylint/} | | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-pylint/} |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://github.com/carsongee/pytest-pylint | | 9 | HOMEPAGE= https://github.com/carsongee/pytest-pylint |
10 | COMMENT= Pytest plugin to check source code with Pylint | | 10 | COMMENT= Pytest plugin to check source code with Pylint |
11 | LICENSE= mit | | 11 | LICENSE= mit |
12 | | | 12 | |
13 | DEPENDS+= ${PYPKGPREFIX}-pylint>=2.3.0:../../devel/py-pylint | | 13 | DEPENDS+= ${PYPKGPREFIX}-pylint>=2.15.0:../../devel/py-pylint |
14 | DEPENDS+= ${PYPKGPREFIX}-test>=5.4:../../devel/py-test | | 14 | DEPENDS+= ${PYPKGPREFIX}-test>=7.0:../../devel/py-test |
15 | DEPENDS+= ${PYPKGPREFIX}-toml>=0.7.1:../../textproc/py-toml | | | |
16 | TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner | | 15 | TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner |
17 | | | 16 | |
18 | USE_LANGUAGES= # none | | 17 | USE_LANGUAGES= # none |
19 | | | 18 | |
20 | PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-pylint | | 19 | PYTHON_VERSIONS_INCOMPATIBLE= 27 |
| | | 20 | |
| | | 21 | .include "../../lang/python/pyversion.mk" |
| | | 22 | .if ${PYTHON_VERSION} < 311 |
| | | 23 | DEPENDS+= ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli |
| | | 24 | .endif |
21 | | | 25 | |
22 | # test are not included | | 26 | # test are not included |
23 | do-test: | | 27 | do-test: |
24 | ${DO_NADA} | | 28 | ${DO_NADA} |
25 | | | 29 | |
26 | .include "../../lang/python/egg.mk" | | 30 | .include "../../lang/python/egg.mk" |
27 | .include "../../mk/bsd.pkg.mk" | | 31 | .include "../../mk/bsd.pkg.mk" |