| @@ -1,27 +1,24 @@ | | | @@ -1,27 +1,24 @@ |
1 | # $NetBSD: Makefile,v 1.12 2023/04/30 14:36:13 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.13 2023/07/31 07:26:08 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= pycodestyle-2.10.0 | | 3 | DISTNAME= pycodestyle-2.11.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/pycodestyle/} | | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycodestyle/} |
7 | | | 7 | |
8 | MAINTAINER= wenheping@gmail.com | | 8 | MAINTAINER= wenheping@gmail.com |
9 | HOMEPAGE= https://github.com/PyCQA/pycodestyle | | 9 | HOMEPAGE= https://github.com/PyCQA/pycodestyle |
10 | COMMENT= Python style guide checker | | 10 | COMMENT= Python style guide checker |
11 | LICENSE= mit | | 11 | LICENSE= mit |
12 | | | 12 | |
13 | USE_LANGUAGES= # none | | 13 | USE_LANGUAGES= # none |
14 | | | 14 | |
15 | USE_PKG_RESOURCES= yes | | 15 | USE_PKG_RESOURCES= yes |
16 | | | 16 | |
17 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | | 17 | PYTHON_VERSIONS_INCOMPATIBLE= 27 |
18 | | | 18 | |
19 | post-install: | | 19 | post-install: |
20 | cd ${DESTDIR}${PREFIX}/bin && \ | | 20 | cd ${DESTDIR}${PREFIX}/bin && \ |
21 | ${MV} pycodestyle pycodestyle-${PYVERSSUFFIX} || ${TRUE} | | 21 | ${MV} pycodestyle pycodestyle-${PYVERSSUFFIX} || ${TRUE} |
22 | | | 22 | |
23 | do-test: | | | |
24 | cd ${WRKSRC} && ${PYTHONBIN} -m unittest -v | | | |
25 | | | | |
26 | .include "../../lang/python/egg.mk" | | 23 | .include "../../lang/python/egg.mk" |
27 | .include "../../mk/bsd.pkg.mk" | | 24 | .include "../../mk/bsd.pkg.mk" |