pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-cpplint py-cpplint: updated to 1.5.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/14c72d8edf67
branches:  trunk
changeset: 440183:14c72d8edf67
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Oct 03 21:49:21 2020 +0000

description:
py-cpplint: updated to 1.5.4

1.5.4:
Fix google-166, Allow space before C++11 attributes

1.5.3:
Fix 156: sed/gsed output parameter rejected
Fix 156: sed/gsed output without other stdout information
improvements to regression tests

diffstat:

 devel/py-cpplint/Makefile |  17 +++++++++--------
 devel/py-cpplint/distinfo |  10 +++++-----
 2 files changed, 14 insertions(+), 13 deletions(-)

diffs (57 lines):

diff -r 8c09a167287e -r 14c72d8edf67 devel/py-cpplint/Makefile
--- a/devel/py-cpplint/Makefile Sat Oct 03 19:08:52 2020 +0000
+++ b/devel/py-cpplint/Makefile Sat Oct 03 21:49:21 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2020/07/21 00:22:53 gutteridge Exp $
+# $NetBSD: Makefile,v 1.3 2020/10/03 21:49:21 adam Exp $
 
-DISTNAME=      cpplint-1.5.1
+DISTNAME=      cpplint-1.5.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cpplint/}
@@ -10,22 +10,23 @@
 COMMENT=       Static code checker for C++
 LICENSE=       modified-bsd
 
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TEST_DEPENDS+= ${PYPKGPREFIX}-pyparsing-[0-9]*:../../devel/py-pyparsing
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-testfixtures-[0-9]*:../../devel/py-testfixtures
 TOOL_DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
 
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
-
 PYTHON_VERSIONED_DEPENDENCIES= test:test zipp:test
 
 .include "../../lang/python/pyversion.mk"
 
-.if ${PYPKGPREFIX} == "py27"
+.if ${_PYTHON_VERSION} == 27
 TEST_DEPENDS+= ${PYPKGPREFIX}-configparser-[0-9]*:../../devel/py-configparser
-.else
-TEST_DEPENDS+= ${PYPKGPREFIX}-pyparsing-[0-9]*:../../devel/py-pyparsing
 .endif
 
 post-install:
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} cpplint cpplint-${PYVERSSUFFIX}
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} cpplint cpplint-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../lang/python/versioned_dependencies.mk"
diff -r 8c09a167287e -r 14c72d8edf67 devel/py-cpplint/distinfo
--- a/devel/py-cpplint/distinfo Sat Oct 03 19:08:52 2020 +0000
+++ b/devel/py-cpplint/distinfo Sat Oct 03 21:49:21 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2020/06/29 13:09:44 wiz Exp $
+$NetBSD: distinfo,v 1.2 2020/10/03 21:49:21 adam Exp $
 
-SHA1 (cpplint-1.5.1.tar.gz) = c0968300957ef9567008ab9d891373f543a13422
-RMD160 (cpplint-1.5.1.tar.gz) = bc466008804e044a4e06e0171a1730bf7fa69ec0
-SHA512 (cpplint-1.5.1.tar.gz) = e2d3356b57a4158f4d03b80ca49dbd06c955f8c5b9ee115528a69cd409526e6271275d585f869c735fe18b660a388a01c3160714d66cf718800397971760b3ad
-Size (cpplint-1.5.1.tar.gz) = 347465 bytes
+SHA1 (cpplint-1.5.4.tar.gz) = b83b97ed38e6ef3c2dd8d206b629c958e12d35c0
+RMD160 (cpplint-1.5.4.tar.gz) = 4e828a1122f5a6797e23d877378fcef4a1545670
+SHA512 (cpplint-1.5.4.tar.gz) = 13bd71295939c0d3753600df8798f15fb1a3c10f1c7e3d2fda894ef7126d1720bfd15a76dc37520618d793a528cdcf62d4f118d2eb6204cc6b84f70734418839
+Size (cpplint-1.5.4.tar.gz) = 359495 bytes



Home | Main Index | Thread Index | Old Index