Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-pylint py-pylint: merge some improvements fro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e690a775096
branches:  trunk
changeset: 432054:6e690a775096
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon May 18 13:14:17 2020 +0000

description:
py-pylint: merge some improvements from py-lint

diffstat:

 devel/py-pylint/DESCR    |  2 +-
 devel/py-pylint/Makefile |  7 ++-----
 2 files changed, 3 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r 8029d8535ef8 -r 6e690a775096 devel/py-pylint/DESCR
--- a/devel/py-pylint/DESCR     Mon May 18 12:46:01 2020 +0000
+++ b/devel/py-pylint/DESCR     Mon May 18 13:14:17 2020 +0000
@@ -6,5 +6,5 @@
 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 -r 8029d8535ef8 -r 6e690a775096 devel/py-pylint/Makefile
--- a/devel/py-pylint/Makefile  Mon May 18 12:46:01 2020 +0000
+++ b/devel/py-pylint/Makefile  Mon May 18 13:14:17 2020 +0000
@@ -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 @@
 
 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 @@
 .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"



Home | Main Index | Thread Index | Old Index