Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-cpplint devel/py-cpplint: import py-cpplint-1...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9435ca869b7f
branches:  trunk
changeset: 434986:9435ca869b7f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jun 29 13:09:44 2020 +0000

description:
devel/py-cpplint: import py-cpplint-1.5.1

Cpplint is a command-line tool to check C/C++ files for style issues
following Google's C++ style guide. Cpplint is developed and
maintained by Google Inc.

While Google maintains cpplint, Google is not (very) responsive to
issues and pull requests, this fork aims to be (somewhat) more open
to add fixes to cpplint to enable fixes, when those fixes make
cpplint usable in wider contexts.

diffstat:

 devel/py-cpplint/ALTERNATIVES |   1 +
 devel/py-cpplint/DESCR        |   8 ++++++++
 devel/py-cpplint/Makefile     |  30 ++++++++++++++++++++++++++++++
 devel/py-cpplint/PLIST        |  11 +++++++++++
 devel/py-cpplint/distinfo     |   6 ++++++
 5 files changed, 56 insertions(+), 0 deletions(-)

diffs (76 lines):

diff -r 90746bb16bec -r 9435ca869b7f devel/py-cpplint/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-cpplint/ALTERNATIVES     Mon Jun 29 13:09:44 2020 +0000
@@ -0,0 +1,1 @@
+bin/cpplint @PREFIX@/bin/cpplint-@PYVERSSUFFIX@
diff -r 90746bb16bec -r 9435ca869b7f devel/py-cpplint/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-cpplint/DESCR    Mon Jun 29 13:09:44 2020 +0000
@@ -0,0 +1,8 @@
+Cpplint is a command-line tool to check C/C++ files for style issues
+following Google's C++ style guide. Cpplint is developed and
+maintained by Google Inc.
+
+While Google maintains cpplint, Google is not (very) responsive to
+issues and pull requests, this fork aims to be (somewhat) more open
+to add fixes to cpplint to enable fixes, when those fixes make
+cpplint usable in wider contexts.
diff -r 90746bb16bec -r 9435ca869b7f devel/py-cpplint/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-cpplint/Makefile Mon Jun 29 13:09:44 2020 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2020/06/29 13:09:44 wiz Exp $
+
+DISTNAME=      cpplint-1.5.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cpplint/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/cpplint/cpplint
+COMMENT=       Static code checker for C++
+LICENSE=       modified-bsd
+
+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"
+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}
+
+.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 90746bb16bec -r 9435ca869b7f devel/py-cpplint/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-cpplint/PLIST    Mon Jun 29 13:09:44 2020 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2020/06/29 13:09:44 wiz Exp $
+bin/cpplint-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/cpplint.py
+${PYSITELIB}/cpplint.pyc
+${PYSITELIB}/cpplint.pyo
diff -r 90746bb16bec -r 9435ca869b7f devel/py-cpplint/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-cpplint/distinfo Mon Jun 29 13:09:44 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/06/29 13:09:44 wiz 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



Home | Main Index | Thread Index | Old Index