diff options
author | wiz <wiz@pkgsrc.org> | 2020-05-18 13:14:17 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2020-05-18 13:14:17 +0000 |
commit | 1162632ce3147353251d903001543b34928b15f5 (patch) | |
tree | 3866865cddf181cf86ace7f852365ec0d1383050 /devel | |
parent | 60416de301010fbb38c7e9ba9525a080edc536a3 (diff) | |
download | pkgsrc-1162632ce3147353251d903001543b34928b15f5.tar.gz |
py-pylint: merge some improvements from py-lint
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-pylint/DESCR | 2 | ||||
-rw-r--r-- | devel/py-pylint/Makefile | 7 |
2 files changed, 3 insertions, 6 deletions
diff --git a/devel/py-pylint/DESCR b/devel/py-pylint/DESCR index 053bba574ed..75ba5181e22 100644 --- a/devel/py-pylint/DESCR +++ b/devel/py-pylint/DESCR @@ -6,5 +6,5 @@ can do with PyChecker can also be done with Pylint. However, Pylint offers some more features, like checking length of lines of code, checking if variable names are well-formed according to your coding standard, or checking if declared interfaces are truly implemented, -and much more. . Additionally, it is possible to write plugins to +and much more. Additionally, it is possible to write plugins to add your own checks. diff --git a/devel/py-pylint/Makefile b/devel/py-pylint/Makefile index 274e71a3303..40b55aa8434 100644 --- a/devel/py-pylint/Makefile +++ b/devel/py-pylint/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.40 2020/05/05 18:21:25 adam Exp $ +# $NetBSD: Makefile,v 1.41 2020/05/18 13:14:17 wiz Exp $ DISTNAME= pylint-2.5.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -22,8 +22,6 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27 INSTALLATION_DIRS= ${PKGMANDIR}/man1 -REPLACE_PYTHON+= tests/data/ascript - post-install: .for file in epylint pylint pyreverse symilar cd ${DESTDIR}${PREFIX}/bin && \ @@ -33,8 +31,7 @@ post-install: .endfor do-test: - cd ${WRKSRC} && pytest-${PYVERSSUFFIX} + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} PYTHONPATH=. py.test-${PYVERSSUFFIX} -.include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" |