| @@ -1,23 +1,19 @@ | | | @@ -1,23 +1,19 @@ |
1 | # $NetBSD: Makefile,v 1.12 2022/02/22 09:08:48 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.13 2022/02/23 11:41:27 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= mccabe-0.7.0 | | 3 | DISTNAME= mccabe-0.7.0 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
5 | CATEGORIES= devel python | | 5 | CATEGORIES= devel python |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=m/mccabe/} | | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=m/mccabe/} |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://pypi.python.org/pypi/mccabe/ | | 9 | HOMEPAGE= https://pypi.python.org/pypi/mccabe/ |
10 | COMMENT= Mccabe plugin for the Python program checker flake8 | | 10 | COMMENT= Mccabe plugin for the Python program checker flake8 |
11 | LICENSE= mit | | 11 | LICENSE= mit |
12 | | | 12 | |
13 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | | 13 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test |
14 | # https://github.com/PyCQA/mccabe/issues/93 | | 14 | TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesmith-[0-9]*:../../devel/py-hypothesmith |
15 | # as of 0.7.0, tests do not run: | | | |
16 | # NameError: name 'settings' is not defined | | | |
17 | # probably fixed by adding hypothesmith dependency | | | |
18 | #TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesmith-[0-9]*:../../wip/py-hypothesmith | | | |
19 | | | 15 | |
20 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | | 16 | PYTHON_VERSIONS_INCOMPATIBLE= 27 |
21 | | | 17 | |
22 | .include "../../lang/python/egg.mk" | | 18 | .include "../../lang/python/egg.mk" |
23 | .include "../../mk/bsd.pkg.mk" | | 19 | .include "../../mk/bsd.pkg.mk" |