pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-cpplint



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Jun 29 13:09:44 UTC 2020

Added Files:
        pkgsrc/devel/py-cpplint: ALTERNATIVES DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-cpplint/ALTERNATIVES \
    pkgsrc/devel/py-cpplint/DESCR pkgsrc/devel/py-cpplint/Makefile \
    pkgsrc/devel/py-cpplint/PLIST pkgsrc/devel/py-cpplint/distinfo

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

Added files:

Index: pkgsrc/devel/py-cpplint/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-cpplint/ALTERNATIVES:1.1
--- /dev/null   Mon Jun 29 13:09:44 2020
+++ pkgsrc/devel/py-cpplint/ALTERNATIVES        Mon Jun 29 13:09:44 2020
@@ -0,0 +1 @@
+bin/cpplint @PREFIX@/bin/cpplint-@PYVERSSUFFIX@
Index: pkgsrc/devel/py-cpplint/DESCR
diff -u /dev/null pkgsrc/devel/py-cpplint/DESCR:1.1
--- /dev/null   Mon Jun 29 13:09:44 2020
+++ pkgsrc/devel/py-cpplint/DESCR       Mon Jun 29 13:09:44 2020
@@ -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.
Index: pkgsrc/devel/py-cpplint/Makefile
diff -u /dev/null pkgsrc/devel/py-cpplint/Makefile:1.1
--- /dev/null   Mon Jun 29 13:09:44 2020
+++ pkgsrc/devel/py-cpplint/Makefile    Mon Jun 29 13:09:44 2020
@@ -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"
Index: pkgsrc/devel/py-cpplint/PLIST
diff -u /dev/null pkgsrc/devel/py-cpplint/PLIST:1.1
--- /dev/null   Mon Jun 29 13:09:44 2020
+++ pkgsrc/devel/py-cpplint/PLIST       Mon Jun 29 13:09:44 2020
@@ -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
Index: pkgsrc/devel/py-cpplint/distinfo
diff -u /dev/null pkgsrc/devel/py-cpplint/distinfo:1.1
--- /dev/null   Mon Jun 29 13:09:44 2020
+++ pkgsrc/devel/py-cpplint/distinfo    Mon Jun 29 13:09:44 2020
@@ -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