Date: Monday, June 1, 2020 @ 09:15:04 Author: kgizdov Revision: 637800
Initial release Added: python-cpplint/ python-cpplint/repos/ python-cpplint/trunk/ python-cpplint/trunk/PKGBUILD Modified: root/trunk/PKGBUILD -------------------------------+ python-cpplint/trunk/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ root/trunk/PKGBUILD | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) Added: python-cpplint/trunk/PKGBUILD =================================================================== --- python-cpplint/trunk/PKGBUILD (rev 0) +++ python-cpplint/trunk/PKGBUILD 2020-06-01 09:15:04 UTC (rev 637800) @@ -0,0 +1,36 @@ +# Maintainer: Konstantin Gizdov <arch at kge dot pw> +# Contributor: Jason Papakostas <[email protected]> +# Contributor: Liganic <[email protected]> +_pkgname='cpplint' +pkgname="python-${_pkgname}" +pkgver='1.5.0' +pkgrel=2 +pkgdesc="Command-line tool to check C/C++ files for style issues following Google's C++ style guide." +arch=('any') +url='https://github.com/cpplint/cpplint' +license=('custom:BSD3') +depends=('python') +provides=('cpplint' 'cpplint-py3') +replaces=('cpplint-py3') +conflicts=('cpplint') +checkdepends=('python-pytest' 'python-pytest-cov') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") +sha256sums=('20c440f6fe612180e79ee370b85f56a66b177fd122ad7e2cb911527857dae4ad') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python setup.py build +} + +check() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python setup.py test +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + install -Dm755 "cpplint.py" "${pkgdir}/usr/bin/${_pkgname}" + install -Dm644 "README.rst" "${pkgdir}/usr/share/doc/${pkgname}/README.rst" + install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} Modified: root/trunk/PKGBUILD =================================================================== --- root/trunk/PKGBUILD 2020-06-01 08:28:54 UTC (rev 637799) +++ root/trunk/PKGBUILD 2020-06-01 09:15:04 UTC (rev 637800) @@ -7,7 +7,7 @@ pkgbase=root pkgname=('root' 'root-cuda') pkgver=6.20.04 -pkgrel=6 +pkgrel=7 pkgdesc='C++ data analysis framework and interpreter from CERN' arch=('x86_64') url='https://root.cern'
