pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-pylint



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon May 18 13:14:17 UTC 2020

Modified Files:
        pkgsrc/devel/py-pylint: DESCR Makefile

Log Message:
py-pylint: merge some improvements from py-lint


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-pylint/DESCR
cvs rdiff -u -r1.40 -r1.41 pkgsrc/devel/py-pylint/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-pylint/DESCR
diff -u pkgsrc/devel/py-pylint/DESCR:1.1 pkgsrc/devel/py-pylint/DESCR:1.2
--- pkgsrc/devel/py-pylint/DESCR:1.1    Wed Mar 12 01:26:03 2014
+++ pkgsrc/devel/py-pylint/DESCR        Mon May 18 13:14:17 2020
@@ -6,5 +6,5 @@ can do with PyChecker can also be done w
 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.

Index: pkgsrc/devel/py-pylint/Makefile
diff -u pkgsrc/devel/py-pylint/Makefile:1.40 pkgsrc/devel/py-pylint/Makefile:1.41
--- pkgsrc/devel/py-pylint/Makefile:1.40        Tue May  5 18:21:25 2020
+++ pkgsrc/devel/py-pylint/Makefile     Mon May 18 13:14:17 2020
@@ -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"



Home | Main Index | Thread Index | Old Index