[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Friday, December 22, 2017 @ 12:30:25 Author: felixonmars Revision: 313537 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 313536, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 156 ++--- 1 file changed, 78 insertions(+), 78 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-12-22 12:30:04 UTC (rev 313536) +++ PKGBUILD2017-12-22 12:30:25 UTC (rev 313537) @@ -1,78 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python-pylint' 'python2-pylint') -pkgver=1.8.0 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python-astroid' 'python2-astroid' 'python-setuptools' 'python2-setuptools' - 'python-six' 'python2-six' 'python-isort' 'python2-isort' 'python-mccabe' - 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' - 'python2-singledispatch') -checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'mpdecimal') -optdepends=('tk: Pylint GUI') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz";) -sha512sums=('4f221297b4079f0db1ac21324c5ebbe4a728de85922e47737c569918521a5e2db2e3acf4a549dfc194e54ac58fe70fe7d80eb75f2bc5ac7fb1e14dd494b35a78') - -prepare() { - sed -i 's/pytest<3.3/pytest/' pylint-pylint-$pkgver/setup.py - - cp -a pylint-pylint-$pkgver{,-py2} - - cd "$srcdir"/pylint-pylint-$pkgver/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd "$srcdir"/pylint-pylint-$pkgver-py2/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd "$srcdir"/pylint-pylint-$pkgver - python setup.py build - - cd "$srcdir"/pylint-pylint-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/pylint-pylint-$pkgver - python setup.py pytest - - cd "$srcdir"/pylint-pylint-$pkgver-py2 - python2 setup.py pytest -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-mccabe' 'python-isort') - - cd pylint-pylint-$pkgver - - python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-mccabe' 'python2-isort' - 'python2-backports.functools_lru_cache' 'python2-configparser' 'python2-singledispatch') - - cd pylint-pylint-$pkgver-py2 - - python2 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 - - for _exe in epylint pylint pyreverse symilar; do - mv "$pkgdir"/usr/bin/${_exe}{,2} - mv "$pkgdir"/usr/share/man/man1/${_exe}{,2}.1 - done -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 313536, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-12-22 12:30:25 UTC (rev 313537) @@ -0,0 +1,78 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python-pylint' 'python2-pylint') +pkgver=1.8.1 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python-astroid' 'python2-astroid' 'python-setuptools' 'python2-setuptools' + 'python-six' 'python2-six' 'python-isort' 'python2-isort' 'python-mccabe' + 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' + 'python2-singledispatch') +checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'mpdecimal') +optdepends=('tk: Pylint GUI') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz";) +sha512sums=('efb7f42b73561ce44c2b458f6ef105749acfde6a8ec10d9514639360204b19d0d23906eccd5606d9f658d2490187a040c9a9ae185252050dc8d7951b37fac298') + +prepare() { + sed -i 's/pytest<3.3/pytest/' pylint-pylint-$pkgver/setup.py + + cp -a pylint-pylint-$pkgver{,-py2} + + cd "$srcdir"/pylint-pylint-$pkgver/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascri
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Monday, December 11, 2017 @ 17:54:46 Author: felixonmars Revision: 312181 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 312180, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 158 ++--- 1 file changed, 80 insertions(+), 78 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-12-11 17:54:23 UTC (rev 312180) +++ PKGBUILD2017-12-11 17:54:46 UTC (rev 312181) @@ -1,78 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python-pylint' 'python2-pylint') -pkgver=1.7.4 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python-astroid' 'python2-astroid' 'python-setuptools' 'python2-setuptools' - 'python-six' 'python2-six' 'python-isort' 'python2-isort' 'python-mccabe' - 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' - 'python2-singledispatch') -checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'mpdecimal') -optdepends=('tk: Pylint GUI') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz";) -sha512sums=('0c2e7594a8c263aa6210912bfb02c5a19c041e920590f34389e5586e36734953afec34cac9119d3072c89a188f8d272a87e941b1ee99ec2e7f3ba11cc55b018d') - -prepare() { - cp -a pylint-pylint-$pkgver{,-py2} - - cd "$srcdir"/pylint-pylint-$pkgver/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd "$srcdir"/pylint-pylint-$pkgver-py2/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd "$srcdir"/pylint-pylint-$pkgver - python setup.py build - - cd "$srcdir"/pylint-pylint-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/pylint-pylint-$pkgver - python setup.py pytest - - cd "$srcdir"/pylint-pylint-$pkgver-py2 - python2 setup.py pytest -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-mccabe' 'python-isort') - - cd pylint-pylint-$pkgver - - python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-mccabe' 'python2-isort' - 'python2-backports.functools_lru_cache' 'python2-configparser' 'python2-singledispatch') - - cd pylint-pylint-$pkgver-py2 - - python2 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 - - for _exe in epylint pylint pyreverse symilar; do - mv "$pkgdir"/usr/bin/${_exe}{,2} - mv "$pkgdir"/usr/share/man/man1/${_exe}{,2}.1 - done - - mv "$pkgdir"/usr/share/man/man1/pylint-gui{,2}.1 -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 312180, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-12-11 17:54:46 UTC (rev 312181) @@ -0,0 +1,80 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python-pylint' 'python2-pylint') +pkgver=1.7.5 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python-astroid' 'python2-astroid' 'python-setuptools' 'python2-setuptools' + 'python-six' 'python2-six' 'python-isort' 'python2-isort' 'python-mccabe' + 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' + 'python2-singledispatch') +checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'mpdecimal') +optdepends=('tk: Pylint GUI') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz";) +sha512sums=('59770340acf41600ee148d963269f6348eda12c9da6c09b84df5bd4c3e506f53996804377de9e42588e848370faf480f4591d53e92d3aa59f0840e8ed2bf94ea') + +prepare() { + sed -i 's/pytest<3.3/pytest/' pylint-pylint-$pkgver/setup.py + + cp -a pylint-pylint-$pkgver{,-py2} + + cd "$srcdir"/pylint-pylint-$pkgver/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd "
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Wednesday, July 18, 2012 @ 12:32:37 Author: stephane Revision: 163744 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 163743, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 68 ++--- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2012-07-18 16:32:32 UTC (rev 163743) +++ PKGBUILD2012-07-18 16:32:37 UTC (rev 163744) @@ -1,34 +0,0 @@ -# $Id$ -# Maintainer: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgname=pylint -pkgver=0.25.1 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://www.logilab.org/project/pylint"; -license=('GPL') -depends=('python-logilab-astng' 'python2') -makedepends=('python2-distribute') -optdepends=('tk: Pylint GUI') -source=("http://download.logilab.org/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz";) -sha1sums=('e567fde28a2135888b137f7dcdfa72abd06d3896') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py - - python2 setup.py build -} - - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 163743, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2012-07-18 16:32:37 UTC (rev 163744) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgname=pylint +pkgver=0.25.2 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://www.logilab.org/project/pylint"; +license=('GPL') +depends=('python-logilab-astng' 'python2') +makedepends=('python2-distribute') +optdepends=('tk: Pylint GUI') +source=("http://download.logilab.org/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz";) +sha1sums=('52b1a671bacc115a953b1e0d423ecbaf9064ce2e') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py + + python2 setup.py build +} + + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}/usr/share/man/man1" + install -m644 man/* "${pkgdir}/usr/share/man/man1" +}
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Friday, November 18, 2011 @ 08:13:31 Author: stephane Revision: 142931 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 142930, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 68 ++--- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2011-11-18 13:13:27 UTC (rev 142930) +++ PKGBUILD2011-11-18 13:13:31 UTC (rev 142931) @@ -1,34 +0,0 @@ -# $Id$ -# Maintainer: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgname=pylint -pkgver=0.24.0 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://www.logilab.org/project/pylint"; -license=('GPL') -depends=('python-logilab-astng' 'python2') -makedepends=('python2-distribute') -optdepends=('tk: Pylint GUI') -source=("http://ftp.logilab.org/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz";) -sha1sums=('269d84825a334a558328f36eabeb7a9748555302') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py - - python2 setup.py build -} - - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 142930, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2011-11-18 13:13:31 UTC (rev 142931) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgname=pylint +pkgver=0.25.0 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://www.logilab.org/project/pylint"; +license=('GPL') +depends=('python-logilab-astng' 'python2') +makedepends=('python2-distribute') +optdepends=('tk: Pylint GUI') +source=("http://ftp.logilab.org/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz";) +sha1sums=('f6e4081bdc9cd8e726b307a1b73462dc478b0398') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py + + python2 setup.py build +} + + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}/usr/share/man/man1" + install -m644 man/* "${pkgdir}/usr/share/man/man1" +}
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Thursday, March 1, 2012 @ 12:03:38 Author: stephane Revision: 151725 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 151724, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 68 ++--- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2012-03-01 17:03:32 UTC (rev 151724) +++ PKGBUILD2012-03-01 17:03:38 UTC (rev 151725) @@ -1,34 +0,0 @@ -# $Id$ -# Maintainer: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgname=pylint -pkgver=0.25.0 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://www.logilab.org/project/pylint"; -license=('GPL') -depends=('python-logilab-astng' 'python2') -makedepends=('python2-distribute') -optdepends=('tk: Pylint GUI') -source=("http://ftp.logilab.org/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz";) -sha1sums=('f6e4081bdc9cd8e726b307a1b73462dc478b0398') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py - - python2 setup.py build -} - - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 151724, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2012-03-01 17:03:38 UTC (rev 151725) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgname=pylint +pkgver=0.25.1 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://www.logilab.org/project/pylint"; +license=('GPL') +depends=('python-logilab-astng' 'python2') +makedepends=('python2-distribute') +optdepends=('tk: Pylint GUI') +source=("http://download.logilab.org/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz";) +sha1sums=('e567fde28a2135888b137f7dcdfa72abd06d3896') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py + + python2 setup.py build +} + + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}/usr/share/man/man1" + install -m644 man/* "${pkgdir}/usr/share/man/man1" +}
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Saturday, October 27, 2012 @ 20:53:22 Author: stephane Revision: 169762 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 169761, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 67 ++--- 1 file changed, 33 insertions(+), 34 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2012-10-28 00:53:09 UTC (rev 169761) +++ PKGBUILD2012-10-28 00:53:22 UTC (rev 169762) @@ -1,34 +0,0 @@ -# $Id$ -# Maintainer: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgname=pylint -pkgver=0.26.0 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://www.logilab.org/project/pylint"; -license=('GPL') -depends=('python2-logilab-astng' 'python2') -makedepends=('python2-distribute') -optdepends=('tk: Pylint GUI') -source=("http://download.logilab.org/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz";) -sha1sums=('5dcc07d622b4ff7d5751523fe0161989e463ffe6') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py - - python2 setup.py build -} - - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 169761, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2012-10-28 00:53:22 UTC (rev 169762) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgname=pylint +pkgver=0.26.0 +pkgrel=2 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://www.logilab.org/project/pylint"; +license=('GPL') +depends=('python2-logilab-astng' 'python2' 'python2-distribute') +optdepends=('tk: Pylint GUI') +source=("http://download.logilab.org/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz";) +sha1sums=('5dcc07d622b4ff7d5751523fe0161989e463ffe6') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py + + python2 setup.py build +} + + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}/usr/share/man/man1" + install -m644 man/* "${pkgdir}/usr/share/man/man1" +}
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Monday, November 10, 2014 @ 17:49:44 Author: fyan Revision: 225880 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 225879, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2014-11-10 16:49:29 UTC (rev 225879) +++ PKGBUILD2014-11-10 16:49:44 UTC (rev 225880) @@ -1,71 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python2-pylint' 'python-pylint') -pkgver=1.3.1 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools') -optdepends=('tk: Pylint GUI') -source=("http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.zip";) -sha1sums=('08ec434b33cc297b3bc3bd129908ab167f21c52e') - -prepare() { - cp -a ${pkgbase}-${pkgver}{,-py3} - - cd ${pkgbase}-${pkgver} - sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py __main__.py test/input/noext - - cd ../${pkgbase}-${pkgver}-py3 - sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py __main__.py test/input/noext -} - -build() { - cd ${pkgbase}-${pkgver} - python2 setup.py build - - cd ../${pkgbase}-${pkgver}-py3 - python3 setup.py build -} - -check() { - cd ${pkgbase}-${pkgver} - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s test/ -p *test_*.py || warning "Tests failed" - - cd ../${pkgbase}-${pkgver}-py3 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s test/ -p *test_*.py || warning "Tests failed" -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools') - - cd ${pkgbase}-${pkgver} - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}"/usr/share/man/man1 - install -m644 man/* "${pkgdir}/usr/share/man/man1" - - for i in epylint pylint pylint-gui pyreverse symilar; do - mv "${pkgdir}"/usr/bin/${i}{,2} - mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 - done -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools') - - cd ${pkgbase}-${pkgver}-py3 - - python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 225879, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2014-11-10 16:49:44 UTC (rev 225880) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python2-pylint' 'python-pylint') +pkgver=1.3.1 +pkgrel=2 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six') +optdepends=('tk: Pylint GUI') +source=("http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.zip";) +sha1sums=('08ec434b33cc297b3bc3bd129908ab167f21c52e') + +prepare() { + cp -a ${pkgbase}-${pkgver}{,-py3} + + cd ${pkgbase}-${pkgver} + sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py __main__.py test/input/noext + + cd ../${pkgbase}-${pkgver}-py3 + sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py __main__.py test/input/noext +} + +build() { + cd ${pkgbase}-${pkgver} + python2 setup.py build + + cd ../${pkgbase}-${pkgver}-py3 + python3 setup.py build +} + +check() { + cd ${pkgbase}-${pkgver} + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s test/ -p *test_*.py || warning "Tests failed" + + cd ../${pkgbase}-${pkgver}-py3 + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s test/ -p *test_*.py || warning "Tests failed" +} + +package_python2-pylint() { + depends=('python2-astroid' 'python2-setuptools' 'python2-six') + + cd ${pkgbase}-${pkgver} + + python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}"/usr/share/man/man1 + install -m644 man/* "${pkgdir}/usr/share/man/man1" + + for i in epylint pylint pylint-gui pyreverse symilar; do + mv "${pkgdir}"/usr/bin/${i}{,2} + mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 + done +} + +package_python-pylint() { + depends=('python-astroid' 'pytho
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Monday, November 24, 2014 @ 09:04:14 Author: fyan Revision: 227042 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 227041, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2014-11-24 08:03:52 UTC (rev 227041) +++ PKGBUILD2014-11-24 08:04:14 UTC (rev 227042) @@ -1,71 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python2-pylint' 'python-pylint') -pkgver=1.3.1 -pkgrel=2 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six') -optdepends=('tk: Pylint GUI') -source=("http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.zip";) -sha1sums=('08ec434b33cc297b3bc3bd129908ab167f21c52e') - -prepare() { - cp -a ${pkgbase}-${pkgver}{,-py3} - - cd ${pkgbase}-${pkgver} - sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py __main__.py test/input/noext - - cd ../${pkgbase}-${pkgver}-py3 - sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py __main__.py test/input/noext -} - -build() { - cd ${pkgbase}-${pkgver} - python2 setup.py build - - cd ../${pkgbase}-${pkgver}-py3 - python3 setup.py build -} - -check() { - cd ${pkgbase}-${pkgver} - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s test/ -p *test_*.py || warning "Tests failed" - - cd ../${pkgbase}-${pkgver}-py3 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s test/ -p *test_*.py || warning "Tests failed" -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-six') - - cd ${pkgbase}-${pkgver} - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}"/usr/share/man/man1 - install -m644 man/* "${pkgdir}/usr/share/man/man1" - - for i in epylint pylint pylint-gui pyreverse symilar; do - mv "${pkgdir}"/usr/bin/${i}{,2} - mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 - done -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-six') - - cd ${pkgbase}-${pkgver}-py3 - - python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 227041, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2014-11-24 08:04:14 UTC (rev 227042) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python2-pylint' 'python-pylint') +pkgver=1.4.0 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six') +optdepends=('tk: Pylint GUI') +source=("http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.tar.gz";) +sha1sums=('4e954d614862d5415ea39dc69644e95a1ed0a036') + +prepare() { + cp -a ${pkgbase}-${pkgver}{,-py3} + + cd ${pkgbase}-${pkgver} + sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py __main__.py test/input/noext + + cd ../${pkgbase}-${pkgver}-py3 + sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py __main__.py test/input/noext +} + +build() { + cd ${pkgbase}-${pkgver} + python2 setup.py build + + cd ../${pkgbase}-${pkgver}-py3 + python3 setup.py build +} + +check() { + cd ${pkgbase}-${pkgver} + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s test/ -p *test_*.py + + cd ../${pkgbase}-${pkgver}-py3 + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s test/ -p *test_*.py || warning "Tests failed" +} + +package_python2-pylint() { + depends=('python2-astroid' 'python2-setuptools' 'python2-six') + + cd ${pkgbase}-${pkgver} + + python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}"/usr/share/man/man1 + install -m644 man/* "${pkgdir}/usr/share/man/man1" + + for i in epylint pylint pylint-gui pyreverse symilar; do + mv "${pkgdir}"/usr/bin/${i}{,2} + mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 + done +} + +package_python-pylint() { + d
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Wednesday, July 1, 2015 @ 05:01:11 Author: fyan Revision: 241655 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 241654, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-07-01 03:00:53 UTC (rev 241654) +++ PKGBUILD2015-07-01 03:01:11 UTC (rev 241655) @@ -1,71 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python2-pylint' 'python-pylint') -pkgver=1.4.3 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six') -optdepends=('tk: Pylint GUI') -source=("http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.tar.gz";) -sha1sums=('a8c0f3901a42d2cd82d34cb83bf669ee98c9c4c3') - -prepare() { - cp -a ${pkgbase}-${pkgver}{,-py3} - - cd ${pkgbase}-${pkgver}/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd ../../${pkgbase}-${pkgver}-py3/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd ${pkgbase}-${pkgver} - python2 setup.py build - - cd ../${pkgbase}-${pkgver}-py3 - python3 setup.py build -} - -check() { - cd ${pkgbase}-${pkgver} - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" - - cd ../${pkgbase}-${pkgver}-py3 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-six') - - cd ${pkgbase}-${pkgver} - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}"/usr/share/man/man1 - install -m644 man/* "${pkgdir}/usr/share/man/man1" - - for i in epylint pylint pylint-gui pyreverse symilar; do - mv "${pkgdir}"/usr/bin/${i}{,2} - mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 - done -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-six') - - cd ${pkgbase}-${pkgver}-py3 - - python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 241654, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-07-01 03:01:11 UTC (rev 241655) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python2-pylint' 'python-pylint') +pkgver=1.4.4 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six') +optdepends=('tk: Pylint GUI') +source=("http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.tar.gz";) +sha1sums=('4f46ee34830cebb51a1c5f8fa27e132bd0952ae3') + +prepare() { + cp -a ${pkgbase}-${pkgver}{,-py3} + + cd ${pkgbase}-${pkgver}/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd ../../${pkgbase}-${pkgver}-py3/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript +} + +build() { + cd ${pkgbase}-${pkgver} + python2 setup.py build + + cd ../${pkgbase}-${pkgver}-py3 + python3 setup.py build +} + +check() { + cd ${pkgbase}-${pkgver} + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" + + cd ../${pkgbase}-${pkgver}-py3 + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" +} + +package_python2-pylint() { + depends=('python2-astroid' 'python2-setuptools' 'python2-six') + + cd ${pkgbase}-${pkgver} + + python2 setup.py install --prefix=/u
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Wednesday, March 11, 2015 @ 18:22:57 Author: fyan Revision: 233359 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 233358, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-03-11 17:22:38 UTC (rev 233358) +++ PKGBUILD2015-03-11 17:22:57 UTC (rev 233359) @@ -1,71 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python2-pylint' 'python-pylint') -pkgver=1.4.1 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six') -optdepends=('tk: Pylint GUI') -source=("http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.tar.gz";) -sha1sums=('8422341d4e02ad1516f4e6bc04931e6f480764bb') - -prepare() { - cp -a ${pkgbase}-${pkgver}{,-py3} - - cd ${pkgbase}-${pkgver} - sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py __main__.py test/input/noext - - cd ../${pkgbase}-${pkgver}-py3 - sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py __main__.py test/input/noext -} - -build() { - cd ${pkgbase}-${pkgver} - python2 setup.py build - - cd ../${pkgbase}-${pkgver}-py3 - python3 setup.py build -} - -check() { - cd ${pkgbase}-${pkgver} - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s test/ -p *test_*.py - - cd ../${pkgbase}-${pkgver}-py3 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s test/ -p *test_*.py || warning "Tests failed" -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-six') - - cd ${pkgbase}-${pkgver} - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}"/usr/share/man/man1 - install -m644 man/* "${pkgdir}/usr/share/man/man1" - - for i in epylint pylint pylint-gui pyreverse symilar; do - mv "${pkgdir}"/usr/bin/${i}{,2} - mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 - done -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-six') - - cd ${pkgbase}-${pkgver}-py3 - - python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 233358, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-03-11 17:22:57 UTC (rev 233359) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python2-pylint' 'python-pylint') +pkgver=1.4.2 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six') +optdepends=('tk: Pylint GUI') +source=("http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.tar.gz";) +sha1sums=('72e486d9db139e3ed2425ba589345043b877c229') + +prepare() { + cp -a ${pkgbase}-${pkgver}{,-py3} + + cd ${pkgbase}-${pkgver}/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd ../../${pkgbase}-${pkgver}-py3/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript +} + +build() { + cd ${pkgbase}-${pkgver} + python2 setup.py build + + cd ../${pkgbase}-${pkgver}-py3 + python3 setup.py build +} + +check() { + cd ${pkgbase}-${pkgver} + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" + + cd ../${pkgbase}-${pkgver}-py3 + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" +} + +package_python2-pylint() { + depends=('python2-astroid' 'python2-setuptools' 'python2-six') + + cd ${pkgbase}-${pkgver} + + python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}"/usr/share/man/man1 + install -m644 man/* "${pkgdir}/usr/share/man/man1" + + for i in epylint pylint pyli
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Sunday, March 15, 2015 @ 08:39:52 Author: fyan Revision: 233855 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 233854, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-03-15 07:39:40 UTC (rev 233854) +++ PKGBUILD2015-03-15 07:39:52 UTC (rev 233855) @@ -1,71 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python2-pylint' 'python-pylint') -pkgver=1.4.2 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six') -optdepends=('tk: Pylint GUI') -source=("http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.tar.gz";) -sha1sums=('72e486d9db139e3ed2425ba589345043b877c229') - -prepare() { - cp -a ${pkgbase}-${pkgver}{,-py3} - - cd ${pkgbase}-${pkgver}/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd ../../${pkgbase}-${pkgver}-py3/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd ${pkgbase}-${pkgver} - python2 setup.py build - - cd ../${pkgbase}-${pkgver}-py3 - python3 setup.py build -} - -check() { - cd ${pkgbase}-${pkgver} - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" - - cd ../${pkgbase}-${pkgver}-py3 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-six') - - cd ${pkgbase}-${pkgver} - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}"/usr/share/man/man1 - install -m644 man/* "${pkgdir}/usr/share/man/man1" - - for i in epylint pylint pylint-gui pyreverse symilar; do - mv "${pkgdir}"/usr/bin/${i}{,2} - mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 - done -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-six') - - cd ${pkgbase}-${pkgver}-py3 - - python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 233854, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-03-15 07:39:52 UTC (rev 233855) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python2-pylint' 'python-pylint') +pkgver=1.4.3 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six') +optdepends=('tk: Pylint GUI') +source=("http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.tar.gz";) +sha1sums=('a8c0f3901a42d2cd82d34cb83bf669ee98c9c4c3') + +prepare() { + cp -a ${pkgbase}-${pkgver}{,-py3} + + cd ${pkgbase}-${pkgver}/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd ../../${pkgbase}-${pkgver}-py3/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript +} + +build() { + cd ${pkgbase}-${pkgver} + python2 setup.py build + + cd ../${pkgbase}-${pkgver}-py3 + python3 setup.py build +} + +check() { + cd ${pkgbase}-${pkgver} + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" + + cd ../${pkgbase}-${pkgver}-py3 + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" +} + +package_python2-pylint() { + depends=('python2-astroid' 'python2-setuptools' 'python2-six') + + cd ${pkgbase}-${pkgver} + + python2 setup.py install --prefix=/us
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Monday, June 10, 2013 @ 08:57:33 Author: bpiotrowski Revision: 188124 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 188123, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 120 ++--- 1 file changed, 60 insertions(+), 60 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2013-06-10 06:57:27 UTC (rev 188123) +++ PKGBUILD2013-06-10 06:57:33 UTC (rev 188124) @@ -1,60 +0,0 @@ -# $Id$ -# Maintainer: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python2-pylint' 'python-pylint') -pkgver=0.27.0 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://www.logilab.org/project/pylint"; -license=('GPL') -makedepends=('python2-logilab-astng' 'python-logilab-astng' 'python-distribute' 'python2-distribute') -optdepends=('tk: Pylint GUI') -conflicts=('pylint<=0.26.0-2') -source=("http://download.logilab.org/pub/${pkgbase}/${pkgbase}-${pkgver}.tar.gz";) -sha1sums=('c6b04e53c09480646df6fe16c70136a02ba35a7f') - -build() { - cd "${srcdir}" - cp -a ${pkgbase}-${pkgver}{,-py3} - - cd ${pkgbase}-${pkgver} - - sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py - python2 setup.py build - - cd ../${pkgbase}-${pkgver}-py3 - - sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py - python3 setup.py build -} - -package_python2-pylint() { - replaces=('pylint<=0.26.0-2') - depends=('python2-logilab-astng') - - cd "${srcdir}"/${pkgbase}-${pkgver} - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}"/usr/share/man/man1 - install -m644 man/* "${pkgdir}/usr/share/man/man1" - - for i in epylint pylint pylint-gui pyreverse symilar; do - mv "${pkgdir}"/usr/bin/${i}{,2} - mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 - done -} - -package_python-pylint() { - depends=('python-logilab-astng') - - cd "${srcdir}"/${pkgbase}-${pkgver}-py3 - - python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 188123, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2013-06-10 06:57:33 UTC (rev 188124) @@ -0,0 +1,60 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python2-pylint' 'python-pylint') +pkgver=0.28.0 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://www.logilab.org/project/pylint"; +license=('GPL') +makedepends=('python2-logilab-astng' 'python-logilab-astng' 'python-distribute' 'python2-distribute') +optdepends=('tk: Pylint GUI') +conflicts=('pylint<=0.26.0-2') +source=("http://download.logilab.org/pub/${pkgbase}/${pkgbase}-${pkgver}.tar.gz";) +sha1sums=('285b8babd659a9dd21a782f87db0ae15c29728ef') + +build() { + cd "${srcdir}" + cp -a ${pkgbase}-${pkgver}{,-py3} + + cd ${pkgbase}-${pkgver} + + sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py + python2 setup.py build + + cd ../${pkgbase}-${pkgver}-py3 + + sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py + python3 setup.py build +} + +package_python2-pylint() { + replaces=('pylint<=0.26.0-2') + depends=('python2-logilab-astng') + + cd "${srcdir}"/${pkgbase}-${pkgver} + + python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}"/usr/share/man/man1 + install -m644 man/* "${pkgdir}/usr/share/man/man1" + + for i in epylint pylint pylint-gui pyreverse symilar; do + mv "${pkgdir}"/usr/bin/${i}{,2} + mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 + done +} + +package_python-pylint() { + depends=('python-logilab-astng') + + cd "${srcdir}"/${pkgbase}-${pkgver}-py3 + + python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}/usr/share/man/man1" + install -m644 man/* "${pkgdir}/usr/share/man/man1" +}
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Friday, April 26, 2013 @ 05:00:56 Author: angvp Revision: 183660 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 183659, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 93 +++-- 1 file changed, 60 insertions(+), 33 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2013-04-26 02:58:42 UTC (rev 183659) +++ PKGBUILD2013-04-26 03:00:56 UTC (rev 183660) @@ -1,33 +0,0 @@ -# $Id$ -# Maintainer: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgname=pylint -pkgver=0.26.0 -pkgrel=2 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://www.logilab.org/project/pylint"; -license=('GPL') -depends=('python2-logilab-astng' 'python2' 'python2-distribute') -optdepends=('tk: Pylint GUI') -source=("http://download.logilab.org/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz";) -sha1sums=('5dcc07d622b4ff7d5751523fe0161989e463ffe6') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py - - python2 setup.py build -} - - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 183659, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2013-04-26 03:00:56 UTC (rev 183660) @@ -0,0 +1,60 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python2-pylint' 'python-pylint') +pkgver=0.27.0 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://www.logilab.org/project/pylint"; +license=('GPL') +makedepends=('python2-logilab-astng' 'python-logilab-astng' 'python-distribute' 'python2-distribute') +optdepends=('tk: Pylint GUI') +conflicts=('pylint<=0.26.0-2') +source=("http://download.logilab.org/pub/${pkgbase}/${pkgbase}-${pkgver}.tar.gz";) +sha1sums=('c6b04e53c09480646df6fe16c70136a02ba35a7f') + +build() { + cd "${srcdir}" + cp -a ${pkgbase}-${pkgver}{,-py3} + + cd ${pkgbase}-${pkgver} + + sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py + python2 setup.py build + + cd ../${pkgbase}-${pkgver}-py3 + + sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py + python3 setup.py build +} + +package_python2-pylint() { + replaces=('pylint<=0.26.0-2') + depends=('python2-logilab-astng') + + cd "${srcdir}"/${pkgbase}-${pkgver} + + python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}"/usr/share/man/man1 + install -m644 man/* "${pkgdir}/usr/share/man/man1" + + for i in epylint pylint pylint-gui pyreverse symilar; do + mv "${pkgdir}"/usr/bin/${i}{,2} + mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 + done +} + +package_python-pylint() { + depends=('python-logilab-astng') + + cd "${srcdir}"/${pkgbase}-${pkgver}-py3 + + python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}/usr/share/man/man1" + install -m644 man/* "${pkgdir}/usr/share/man/man1" +}
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Wednesday, June 8, 2016 @ 10:36:26 Author: fyan Revision: 269123 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 269122, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-06-08 08:36:09 UTC (rev 269122) +++ PKGBUILD2016-06-08 08:36:26 UTC (rev 269123) @@ -1,71 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python-pylint' 'python2-pylint') -pkgver=1.5.5 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six' 'git') -optdepends=('tk: Pylint GUI') -source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) -sha1sums=('SKIP') - -prepare() { - cp -a pylint{,-py2} - - cd "$srcdir"/pylint/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd "$srcdir"/pylint-py2/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd "$srcdir"/pylint - python setup.py build - - cd "$srcdir"/pylint-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/pylint - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" - - cd "$srcdir"/pylint-py2 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-six') - - cd pylint - - python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-six') - - cd pylint-py2 - - python2 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 - - for _exe in epylint pylint pylint-gui pyreverse symilar; do - mv "$pkgdir"/usr/bin/${_exe}{,2} - mv "$pkgdir"/usr/share/man/man1/${_exe}{,2}.1 - done -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 269122, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-06-08 08:36:26 UTC (rev 269123) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python-pylint' 'python2-pylint') +pkgver=1.5.6 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six' 'git') +optdepends=('tk: Pylint GUI') +source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) +sha1sums=('SKIP') + +prepare() { + cp -a pylint{,-py2} + + cd "$srcdir"/pylint/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd "$srcdir"/pylint-py2/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript +} + +build() { + cd "$srcdir"/pylint + python setup.py build + + cd "$srcdir"/pylint-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/pylint + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" + + cd "$srcdir"/pylint-py2 + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" +} + +package_python-pylint() { + depends=('python-astroid' 'python-setuptools' 'python-six') + + cd pylint + + python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 + + install -d "$pkgdir"/usr/share/man/man1 + install -m644 man/* "$pkgdir"/usr/share/man/man1 +} + +package_python2-pylint() { + depends=('python2-astroid' 'python2-setuptools' 'python2-six') + + cd pylint
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Sunday, July 17, 2016 @ 04:58:31 Author: felixonmars Revision: 271951 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 271950, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 148 ++--- 1 file changed, 74 insertions(+), 74 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-07-17 04:58:14 UTC (rev 271950) +++ PKGBUILD2016-07-17 04:58:31 UTC (rev 271951) @@ -1,74 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python-pylint' 'python2-pylint') -pkgver=1.6.1 -pkgrel=2 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' - 'python2-six' 'python-six' 'python-isort' 'python2-isort' 'python-mccabe' - 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' 'git') -optdepends=('tk: Pylint GUI') -source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) -sha1sums=('SKIP') - -prepare() { - cp -a pylint{,-py2} - - cd "$srcdir"/pylint/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd "$srcdir"/pylint-py2/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd "$srcdir"/pylint - python setup.py build - - cd "$srcdir"/pylint-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/pylint - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" - - cd "$srcdir"/pylint-py2 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-six' 'python-mccabe' 'python-isort') - - cd pylint - - python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-six' 'python2-mccabe' 'python2-isort' - 'python2-backports.functools_lru_cache' 'python2-configparser') - - cd pylint-py2 - - python2 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 - - for _exe in epylint pylint pylint-gui pyreverse symilar; do - mv "$pkgdir"/usr/bin/${_exe}{,2} - mv "$pkgdir"/usr/share/man/man1/${_exe}{,2}.1 - done -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 271950, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-07-17 04:58:31 UTC (rev 271951) @@ -0,0 +1,74 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python-pylint' 'python2-pylint') +pkgver=1.6.2 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' + 'python2-six' 'python-six' 'python-isort' 'python2-isort' 'python-mccabe' + 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' 'git') +optdepends=('tk: Pylint GUI') +source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) +sha1sums=('SKIP') + +prepare() { + cp -a pylint{,-py2} + + cd "$srcdir"/pylint/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd "$srcdir"/pylint-py2/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript +} + +build() { + cd "$srcdir"/pylint + python setup.py build + + cd "$srcdir"/pylint-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/pylint + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" + + cd "$srcdir"/pylint-py2 + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s p
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Monday, July 18, 2016 @ 12:50:01 Author: felixonmars Revision: 271978 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 271977, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 148 ++--- 1 file changed, 74 insertions(+), 74 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-07-18 12:49:36 UTC (rev 271977) +++ PKGBUILD2016-07-18 12:50:01 UTC (rev 271978) @@ -1,74 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python-pylint' 'python2-pylint') -pkgver=1.6.2 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' - 'python2-six' 'python-six' 'python-isort' 'python2-isort' 'python-mccabe' - 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' 'git') -optdepends=('tk: Pylint GUI') -source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) -sha1sums=('SKIP') - -prepare() { - cp -a pylint{,-py2} - - cd "$srcdir"/pylint/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd "$srcdir"/pylint-py2/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd "$srcdir"/pylint - python setup.py build - - cd "$srcdir"/pylint-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/pylint - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" - - cd "$srcdir"/pylint-py2 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-six' 'python-mccabe' 'python-isort') - - cd pylint - - python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-six' 'python2-mccabe' 'python2-isort' - 'python2-backports.functools_lru_cache' 'python2-configparser') - - cd pylint-py2 - - python2 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 - - for _exe in epylint pylint pylint-gui pyreverse symilar; do - mv "$pkgdir"/usr/bin/${_exe}{,2} - mv "$pkgdir"/usr/share/man/man1/${_exe}{,2}.1 - done -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 271977, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-07-18 12:50:01 UTC (rev 271978) @@ -0,0 +1,74 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python-pylint' 'python2-pylint') +pkgver=1.6.3 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' + 'python2-six' 'python-six' 'python-isort' 'python2-isort' 'python-mccabe' + 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' 'git') +optdepends=('tk: Pylint GUI') +source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) +sha1sums=('SKIP') + +prepare() { + cp -a pylint{,-py2} + + cd "$srcdir"/pylint/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd "$srcdir"/pylint-py2/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript +} + +build() { + cd "$srcdir"/pylint + python setup.py build + + cd "$srcdir"/pylint-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/pylint + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" + + cd "$srcdir"/pylint-py2 + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s p
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Wednesday, July 20, 2016 @ 04:17:19 Author: felixonmars Revision: 272065 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 272064, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 148 ++--- 1 file changed, 74 insertions(+), 74 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-07-20 04:17:06 UTC (rev 272064) +++ PKGBUILD2016-07-20 04:17:19 UTC (rev 272065) @@ -1,74 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python-pylint' 'python2-pylint') -pkgver=1.6.3 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' - 'python2-six' 'python-six' 'python-isort' 'python2-isort' 'python-mccabe' - 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' 'git') -optdepends=('tk: Pylint GUI') -source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) -sha1sums=('SKIP') - -prepare() { - cp -a pylint{,-py2} - - cd "$srcdir"/pylint/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd "$srcdir"/pylint-py2/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd "$srcdir"/pylint - python setup.py build - - cd "$srcdir"/pylint-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/pylint - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" - - cd "$srcdir"/pylint-py2 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-six' 'python-mccabe' 'python-isort') - - cd pylint - - python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-six' 'python2-mccabe' 'python2-isort' - 'python2-backports.functools_lru_cache' 'python2-configparser') - - cd pylint-py2 - - python2 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 - - for _exe in epylint pylint pylint-gui pyreverse symilar; do - mv "$pkgdir"/usr/bin/${_exe}{,2} - mv "$pkgdir"/usr/share/man/man1/${_exe}{,2}.1 - done -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 272064, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-07-20 04:17:19 UTC (rev 272065) @@ -0,0 +1,74 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python-pylint' 'python2-pylint') +pkgver=1.6.4 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' + 'python2-six' 'python-six' 'python-isort' 'python2-isort' 'python-mccabe' + 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' 'git') +optdepends=('tk: Pylint GUI') +source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) +sha1sums=('SKIP') + +prepare() { + cp -a pylint{,-py2} + + cd "$srcdir"/pylint/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd "$srcdir"/pylint-py2/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript +} + +build() { + cd "$srcdir"/pylint + python setup.py build + + cd "$srcdir"/pylint-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/pylint + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" + + cd "$srcdir"/pylint-py2 + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Friday, July 8, 2016 @ 04:58:37 Author: felixonmars Revision: 271162 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 271161, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 145 +++-- 1 file changed, 74 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-07-08 04:58:23 UTC (rev 271161) +++ PKGBUILD2016-07-08 04:58:37 UTC (rev 271162) @@ -1,71 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python-pylint' 'python2-pylint') -pkgver=1.5.6 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six' 'git') -optdepends=('tk: Pylint GUI') -source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) -sha1sums=('SKIP') - -prepare() { - cp -a pylint{,-py2} - - cd "$srcdir"/pylint/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd "$srcdir"/pylint-py2/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd "$srcdir"/pylint - python setup.py build - - cd "$srcdir"/pylint-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/pylint - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" - - cd "$srcdir"/pylint-py2 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-six') - - cd pylint - - python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-six') - - cd pylint-py2 - - python2 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 - - for _exe in epylint pylint pylint-gui pyreverse symilar; do - mv "$pkgdir"/usr/bin/${_exe}{,2} - mv "$pkgdir"/usr/share/man/man1/${_exe}{,2}.1 - done -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 271161, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-07-08 04:58:37 UTC (rev 271162) @@ -0,0 +1,74 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python-pylint' 'python2-pylint') +pkgver=1.6.1 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' + 'python2-six' 'python-six' 'python-isort' 'python2-isort' 'python-mccabe' + 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' 'git') +optdepends=('tk: Pylint GUI') +source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) +sha1sums=('SKIP') + +prepare() { + cp -a pylint{,-py2} + + cd "$srcdir"/pylint/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd "$srcdir"/pylint-py2/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript +} + +build() { + cd "$srcdir"/pylint + python setup.py build + + cd "$srcdir"/pylint-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/pylint + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" + + cd "$srcdir"/pylint-py2 + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" +} + +package_python-pylint() { + depends=('python-astroid' 'python-setuptools' 'python-six' 'python-mccabe') + + cd pylint + + python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 + + install -d "$pkgdir"/usr/sha
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Friday, July 8, 2016 @ 05:15:53 Author: felixonmars Revision: 271166 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 271165, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 148 ++--- 1 file changed, 74 insertions(+), 74 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-07-08 05:15:40 UTC (rev 271165) +++ PKGBUILD2016-07-08 05:15:53 UTC (rev 271166) @@ -1,74 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python-pylint' 'python2-pylint') -pkgver=1.6.1 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' - 'python2-six' 'python-six' 'python-isort' 'python2-isort' 'python-mccabe' - 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' 'git') -optdepends=('tk: Pylint GUI') -source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) -sha1sums=('SKIP') - -prepare() { - cp -a pylint{,-py2} - - cd "$srcdir"/pylint/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd "$srcdir"/pylint-py2/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd "$srcdir"/pylint - python setup.py build - - cd "$srcdir"/pylint-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/pylint - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" - - cd "$srcdir"/pylint-py2 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-six' 'python-mccabe') - - cd pylint - - python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-six' 'python2-mccabe' - 'python2-backports.functools_lru_cache' 'python2-configparser') - - cd pylint-py2 - - python2 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 - - for _exe in epylint pylint pylint-gui pyreverse symilar; do - mv "$pkgdir"/usr/bin/${_exe}{,2} - mv "$pkgdir"/usr/share/man/man1/${_exe}{,2}.1 - done -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 271165, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-07-08 05:15:53 UTC (rev 271166) @@ -0,0 +1,74 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python-pylint' 'python2-pylint') +pkgver=1.6.1 +pkgrel=2 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' + 'python2-six' 'python-six' 'python-isort' 'python2-isort' 'python-mccabe' + 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' 'git') +optdepends=('tk: Pylint GUI') +source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) +sha1sums=('SKIP') + +prepare() { + cp -a pylint{,-py2} + + cd "$srcdir"/pylint/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd "$srcdir"/pylint-py2/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript +} + +build() { + cd "$srcdir"/pylint + python setup.py build + + cd "$srcdir"/pylint-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/pylint + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" + + cd "$srcdir"/pylint-py2 + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warn
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Friday, April 25, 2014 @ 16:47:32 Author: fyan Revision: 211750 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 211749, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 122 ++--- 1 file changed, 60 insertions(+), 62 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2014-04-25 14:46:57 UTC (rev 211749) +++ PKGBUILD2014-04-25 14:47:32 UTC (rev 211750) @@ -1,62 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python2-pylint' 'python-pylint') -pkgver=1.1.0 -pkgrel=3 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools') -optdepends=('tk: Pylint GUI') -source=(http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.tar.gz) -sha1sums=('b33594a2c627d72007bfa8c6d7619af699e26085') - -build() { - cd "${srcdir}" - cp -a ${pkgbase}-${pkgver}{,-py3} - - cd ${pkgbase}-${pkgver} - - sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py - python2 setup.py build - - cd ../${pkgbase}-${pkgver}-py3 - - sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py - python3 setup.py build -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools') - - cd "${srcdir}"/${pkgbase}-${pkgver} - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}"/usr/share/man/man1 - - mv man/pylint.1.orig man/pylint2.1.orig - install -m644 man/* "${pkgdir}/usr/share/man/man1" - - for i in epylint pylint pylint-gui pyreverse symilar; do - mv "${pkgdir}"/usr/bin/${i}{,2} - mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 - done - -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools') - - cd "${srcdir}"/${pkgbase}-${pkgver}-py3 - - python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 211749, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2014-04-25 14:47:32 UTC (rev 211750) @@ -0,0 +1,60 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python2-pylint' 'python-pylint') +pkgver=1.2.0 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools') +optdepends=('tk: Pylint GUI') +source=(http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.tar.gz) +sha1sums=('f57bd440edcaee3743ad18c45706ad015a408137') + +build() { + cp -a ${pkgbase}-${pkgver}{,-py3} + + cd ${pkgbase}-${pkgver} + + sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py __main__.py test/input/noext + python2 setup.py build + + cd ../${pkgbase}-${pkgver}-py3 + + sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py __main__.py test/input/noext + python3 setup.py build +} + +package_python2-pylint() { + depends=('python2-astroid' 'python2-setuptools') + + cd ${pkgbase}-${pkgver} + + python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}"/usr/share/man/man1 + + install -m644 man/* "${pkgdir}/usr/share/man/man1" + + for i in epylint pylint pylint-gui pyreverse symilar; do + mv "${pkgdir}"/usr/bin/${i}{,2} + mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 + done + +} + +package_python-pylint() { + depends=('python-astroid' 'python-setuptools') + + cd ${pkgbase}-${pkgver}-py3 + + python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}/usr/share/man/man1" + install -m644 man/* "${pkgdir}/usr/share/man/man1" +}
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Friday, May 16, 2014 @ 04:56:22 Author: fyan Revision: 212877 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 212876, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 135 + 1 file changed, 75 insertions(+), 60 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2014-05-16 02:55:36 UTC (rev 212876) +++ PKGBUILD2014-05-16 02:56:22 UTC (rev 212877) @@ -1,60 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python2-pylint' 'python-pylint') -pkgver=1.2.0 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools') -optdepends=('tk: Pylint GUI') -source=(http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.tar.gz) -sha1sums=('f57bd440edcaee3743ad18c45706ad015a408137') - -build() { - cp -a ${pkgbase}-${pkgver}{,-py3} - - cd ${pkgbase}-${pkgver} - - sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py __main__.py test/input/noext - python2 setup.py build - - cd ../${pkgbase}-${pkgver}-py3 - - sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py __main__.py test/input/noext - python3 setup.py build -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools') - - cd ${pkgbase}-${pkgver} - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}"/usr/share/man/man1 - - install -m644 man/* "${pkgdir}/usr/share/man/man1" - - for i in epylint pylint pylint-gui pyreverse symilar; do - mv "${pkgdir}"/usr/bin/${i}{,2} - mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 - done - -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools') - - cd ${pkgbase}-${pkgver}-py3 - - python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 212876, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2014-05-16 02:56:22 UTC (rev 212877) @@ -0,0 +1,75 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python2-pylint' 'python-pylint') +pkgver=1.2.1 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools') +checkdepends=('python-pytest' 'python2-pytest') +optdepends=('tk: Pylint GUI') +source=(http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.tar.gz) +sha1sums=('6a98e9ee4e3b16d2dcd87d5c9af3bde937b473f4') + +prepare() { + cp -a ${pkgbase}-${pkgver}{,-py3} + + cd ${pkgbase}-${pkgver} + sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py __main__.py test/input/noext + + cd ../${pkgbase}-${pkgver}-py3 + sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py __main__.py test/input/noext +} + +build() { + cd ${pkgbase}-${pkgver} + python2 setup.py build + + cd ../${pkgbase}-${pkgver}-py3 + python3 setup.py build +} + +check() { + # doesn't run this way + + cd ${pkgbase}-${pkgver} + #pytest2 + + cd ../${pkgbase}-${pkgver}-py3 + #pytest +} + +package_python2-pylint() { + depends=('python2-astroid' 'python2-setuptools') + + cd ${pkgbase}-${pkgver} + + python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}"/usr/share/man/man1 + + install -m644 man/* "${pkgdir}/usr/share/man/man1" + + for i in epylint pylint pylint-gui pyreverse symilar; do + mv "${pkgdir}"/usr/bin/${i}{,2} + mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 + done +} + +package_python-pylint() { + depends=('python-astroid' 'python-setuptools') + + cd ${pkgbase}-${pkgver}-py3 + + python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}/usr/share/man/man1" + install -m644 man/* "${pkgdir}/usr/share/man/man1" +}
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Saturday, July 26, 2014 @ 11:10:20 Author: fyan Revision: 218193 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 218192, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 150 ++--- 1 file changed, 75 insertions(+), 75 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2014-07-26 09:10:04 UTC (rev 218192) +++ PKGBUILD2014-07-26 09:10:20 UTC (rev 218193) @@ -1,75 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python2-pylint' 'python-pylint') -pkgver=1.2.1 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools') -checkdepends=('python-pytest' 'python2-pytest') -optdepends=('tk: Pylint GUI') -source=(http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.tar.gz) -sha1sums=('6a98e9ee4e3b16d2dcd87d5c9af3bde937b473f4') - -prepare() { - cp -a ${pkgbase}-${pkgver}{,-py3} - - cd ${pkgbase}-${pkgver} - sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py __main__.py test/input/noext - - cd ../${pkgbase}-${pkgver}-py3 - sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py __main__.py test/input/noext -} - -build() { - cd ${pkgbase}-${pkgver} - python2 setup.py build - - cd ../${pkgbase}-${pkgver}-py3 - python3 setup.py build -} - -check() { - # doesn't run this way - - cd ${pkgbase}-${pkgver} - #pytest2 - - cd ../${pkgbase}-${pkgver}-py3 - #pytest -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools') - - cd ${pkgbase}-${pkgver} - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}"/usr/share/man/man1 - - install -m644 man/* "${pkgdir}/usr/share/man/man1" - - for i in epylint pylint pylint-gui pyreverse symilar; do - mv "${pkgdir}"/usr/bin/${i}{,2} - mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 - done -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools') - - cd ${pkgbase}-${pkgver}-py3 - - python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 218192, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2014-07-26 09:10:20 UTC (rev 218193) @@ -0,0 +1,75 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python2-pylint' 'python-pylint') +pkgver=1.3.0 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools') +checkdepends=('python-pytest' 'python2-pytest') +optdepends=('tk: Pylint GUI') +source=("http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.zip";) +sha1sums=('f2be4efd219ba520e6a8fb208478e1beb0393c7e') + +prepare() { + cp -a ${pkgbase}-${pkgver}{,-py3} + + cd ${pkgbase}-${pkgver} + sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py __main__.py test/input/noext + + cd ../${pkgbase}-${pkgver}-py3 + sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py __main__.py test/input/noext +} + +build() { + cd ${pkgbase}-${pkgver} + python2 setup.py build + + cd ../${pkgbase}-${pkgver}-py3 + python3 setup.py build +} + +check() { + # doesn't run this way + + cd ${pkgbase}-${pkgver} + #pytest2 + + cd ../${pkgbase}-${pkgver}-py3 + #pytest +} + +package_python2-pylint() { + depends=('python2-astroid' 'python2-setuptools') + + cd ${pkgbase}-${pkgver} + + python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}"/usr/share/man/man1 + + install -m644 man/* "${pkgdir}/usr/share/man/man1" + + for i in epylint pylint pylint-gui pyreverse symilar; do + mv "${pkgdir}"/usr/bin/${i}{,2} + mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 + done +} + +package_python-pylint() { + depends=('python-astroid' 'python-setuptools') + + cd ${pkgbase}-${pkgver}-py3 + + python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}/usr/share/man/man1" + install -m644 man/* "${pkgdir}/usr/share/man/man1" +}
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Monday, August 25, 2014 @ 02:45:17 Author: fyan Revision: 220644 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 220643, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 146 + 1 file changed, 71 insertions(+), 75 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2014-08-25 00:44:56 UTC (rev 220643) +++ PKGBUILD2014-08-25 00:45:17 UTC (rev 220644) @@ -1,75 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python2-pylint' 'python-pylint') -pkgver=1.3.0 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools') -checkdepends=('python-pytest' 'python2-pytest') -optdepends=('tk: Pylint GUI') -source=("http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.zip";) -sha1sums=('f2be4efd219ba520e6a8fb208478e1beb0393c7e') - -prepare() { - cp -a ${pkgbase}-${pkgver}{,-py3} - - cd ${pkgbase}-${pkgver} - sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py __main__.py test/input/noext - - cd ../${pkgbase}-${pkgver}-py3 - sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py __main__.py test/input/noext -} - -build() { - cd ${pkgbase}-${pkgver} - python2 setup.py build - - cd ../${pkgbase}-${pkgver}-py3 - python3 setup.py build -} - -check() { - # doesn't run this way - - cd ${pkgbase}-${pkgver} - #pytest2 - - cd ../${pkgbase}-${pkgver}-py3 - #pytest -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools') - - cd ${pkgbase}-${pkgver} - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}"/usr/share/man/man1 - - install -m644 man/* "${pkgdir}/usr/share/man/man1" - - for i in epylint pylint pylint-gui pyreverse symilar; do - mv "${pkgdir}"/usr/bin/${i}{,2} - mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 - done -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools') - - cd ${pkgbase}-${pkgver}-py3 - - python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 220643, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2014-08-25 00:45:17 UTC (rev 220644) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python2-pylint' 'python-pylint') +pkgver=1.3.1 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools') +optdepends=('tk: Pylint GUI') +source=("http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.zip";) +sha1sums=('08ec434b33cc297b3bc3bd129908ab167f21c52e') + +prepare() { + cp -a ${pkgbase}-${pkgver}{,-py3} + + cd ${pkgbase}-${pkgver} + sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py __main__.py test/input/noext + + cd ../${pkgbase}-${pkgver}-py3 + sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py __main__.py test/input/noext +} + +build() { + cd ${pkgbase}-${pkgver} + python2 setup.py build + + cd ../${pkgbase}-${pkgver}-py3 + python3 setup.py build +} + +check() { + cd ${pkgbase}-${pkgver} + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s test/ -p *test_*.py || warning "Tests failed" + + cd ../${pkgbase}-${pkgver}-py3 + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s test/ -p *test_*.py || warning "Tests failed" +} + +package_python2-pylint() { + depends=('python2-astroid' 'python2-setuptools') + + cd ${pkgbase}-${pkgver} + + python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}"/usr/share/man/man1 + install -m644 man/* "${pkgdir}/usr/share/man/man1" + + for i in epylint pylint pylint-gui pyreverse symilar; do + mv "${pkgdir}"/usr/bin/${i}{,2} + mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 + done +} + +package_python-pylint() { + depends=('python-astroid' 'python-setuptools') + + cd ${pkgbase}-${pkgver}-py3 + + python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}/usr/share/man/man1" + inst
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Sunday, January 19, 2014 @ 05:34:07 Author: angvp Revision: 204397 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 204396, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 121 +++-- 1 file changed, 62 insertions(+), 59 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2014-01-19 04:33:21 UTC (rev 204396) +++ PKGBUILD2014-01-19 04:34:07 UTC (rev 204397) @@ -1,59 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python2-pylint' 'python-pylint') -pkgver=1.1.0 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid') -optdepends=('tk: Pylint GUI') -source=(http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.tar.gz) -sha1sums=('b33594a2c627d72007bfa8c6d7619af699e26085') - -build() { - cd "${srcdir}" - cp -a ${pkgbase}-${pkgver}{,-py3} - - cd ${pkgbase}-${pkgver} - - sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py - python2 setup.py build - - cd ../${pkgbase}-${pkgver}-py3 - - sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py - python3 setup.py build -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools') - - cd "${srcdir}"/${pkgbase}-${pkgver} - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}"/usr/share/man/man1 - install -m644 man/* "${pkgdir}/usr/share/man/man1" - - for i in epylint pylint pylint-gui pyreverse symilar; do - mv "${pkgdir}"/usr/bin/${i}{,2} - mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 - done -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools') - - cd "${srcdir}"/${pkgbase}-${pkgver}-py3 - - python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 204396, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2014-01-19 04:34:07 UTC (rev 204397) @@ -0,0 +1,62 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python2-pylint' 'python-pylint') +pkgver=1.1.0 +pkgrel=2 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools') +optdepends=('tk: Pylint GUI') +source=(http://pypi.python.org/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.tar.gz) +sha1sums=('b33594a2c627d72007bfa8c6d7619af699e26085') + +build() { + cd "${srcdir}" + cp -a ${pkgbase}-${pkgver}{,-py3} + + cd ${pkgbase}-${pkgver} + + sed -i "s|/usr/bin/env python|/usr/bin/env python2|" epylint.py + python2 setup.py build + + cd ../${pkgbase}-${pkgver}-py3 + + sed -i "s|/usr/bin/env python|/usr/bin/env python3|" epylint.py + python3 setup.py build +} + +package_python2-pylint() { + depends=('python2-astroid' 'python2-setuptools') + + cd "${srcdir}"/${pkgbase}-${pkgver} + + python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}"/usr/share/man/man1 + + mv man/pylint.1.orig man/pylint2.1.orig + install -m644 man/* "${pkgdir}/usr/share/man/man1" + + for i in epylint pylint pylint-gui pyreverse symilar; do + mv "${pkgdir}"/usr/bin/${i}{,2} + mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 + done + +} + +package_python-pylint() { + depends=('python-astroid' 'python-setuptools') + + cd "${srcdir}"/${pkgbase}-${pkgver}-py3 + + python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}/usr/share/man/man1" + install -m644 man/* "${pkgdir}/usr/share/man/man1" +}
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Saturday, January 16, 2016 @ 02:52:45 Author: fyan Revision: 258347 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 258346, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-01-16 01:52:26 UTC (rev 258346) +++ PKGBUILD2016-01-16 01:52:45 UTC (rev 258347) @@ -1,71 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python2-pylint' 'python-pylint') -pkgver=1.5.3 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six' 'git') -optdepends=('tk: Pylint GUI') -source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) -sha1sums=('SKIP') - -prepare() { - cp -a ${pkgbase}{,-py3} - - cd ${pkgbase}/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd ../../${pkgbase}-py3/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd ${pkgbase} - python2 setup.py build - - cd ../${pkgbase}-py3 - python3 setup.py build -} - -check() { - cd ${pkgbase} - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" - - cd ../${pkgbase}-py3 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-six') - - cd ${pkgbase} - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}"/usr/share/man/man1 - install -m644 man/* "${pkgdir}/usr/share/man/man1" - - for i in epylint pylint pylint-gui pyreverse symilar; do - mv "${pkgdir}"/usr/bin/${i}{,2} - mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 - done -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-six') - - cd ${pkgbase}-py3 - - python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 258346, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-01-16 01:52:45 UTC (rev 258347) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python2-pylint' 'python-pylint') +pkgver=1.5.4 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six' 'git') +optdepends=('tk: Pylint GUI') +source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) +sha1sums=('SKIP') + +prepare() { + cp -a ${pkgbase}{,-py3} + + cd ${pkgbase}/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd ../../${pkgbase}-py3/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript +} + +build() { + cd ${pkgbase} + python2 setup.py build + + cd ../${pkgbase}-py3 + python3 setup.py build +} + +check() { + cd ${pkgbase} + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" + + cd ../${pkgbase}-py3 + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" +} + +package_python2-pylint() { + depends=('python2-astroid' 'python2-setuptools' 'python2-six') + + cd ${pkgbase} + + python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}"/usr/share/man/man1 + install -m644 man/* "${pkgdir}/usr/share/man/man1" + + for i in epylint pylint pylint-gui pyreverse symilar; do + mv "${pkgdir}"/usr/bin/${i}{,2} + mv "${pkgdir}
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Monday, October 5, 2015 @ 10:51:40 Author: fyan Revision: 248365 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 248364, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 144 ++--- 1 file changed, 72 insertions(+), 72 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-10-05 08:51:18 UTC (rev 248364) +++ PKGBUILD2015-10-05 08:51:40 UTC (rev 248365) @@ -1,72 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python2-pylint' 'python-pylint') -pkgver=1.4.4.20150921 -_commit=794a019236afead67c745777f5927cbe6b3f0711 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six' 'mercurial') -optdepends=('tk: Pylint GUI') -source=("hg+https://felixonm...@bitbucket.org/logilab/pylint#revision=$_commit";) -sha1sums=('SKIP') - -prepare() { - cp -a ${pkgbase}{,-py3} - - cd ${pkgbase}/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd ../../${pkgbase}-py3/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd ${pkgbase} - python2 setup.py build - - cd ../${pkgbase}-py3 - python3 setup.py build -} - -check() { - cd ${pkgbase} - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" - - cd ../${pkgbase}-py3 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-six') - - cd ${pkgbase} - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}"/usr/share/man/man1 - install -m644 man/* "${pkgdir}/usr/share/man/man1" - - for i in epylint pylint pylint-gui pyreverse symilar; do - mv "${pkgdir}"/usr/bin/${i}{,2} - mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 - done -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-six') - - cd ${pkgbase}-py3 - - python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 248364, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-10-05 08:51:40 UTC (rev 248365) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python2-pylint' 'python-pylint') +pkgver=1.4.4.20151005 +_commit=10c668a2f8eb944c0338068c3ee4dba395bfa611 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six' 'mercurial') +optdepends=('tk: Pylint GUI') +source=("hg+https://felixonm...@bitbucket.org/logilab/pylint#revision=$_commit";) +sha1sums=('SKIP') + +prepare() { + cp -a ${pkgbase}{,-py3} + + cd ${pkgbase}/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd ../../${pkgbase}-py3/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript +} + +build() { + cd ${pkgbase} + python2 setup.py build + + cd ../${pkgbase}-py3 + python3 setup.py build +} + +check() { + cd ${pkgbase} + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" + + cd ../${pkgbase}-py3 + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" +} + +package_python2-pylint() { + depends=('python2-astroid' 'python2-setuptools' 'python2-six') + + cd ${pkgbase} + + python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}"/usr/share/man/man1 + install -m644 man/* "
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Monday, December 21, 2015 @ 02:30:42 Author: fyan Revision: 257053 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 257052, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-12-21 01:30:19 UTC (rev 257052) +++ PKGBUILD2015-12-21 01:30:42 UTC (rev 257053) @@ -1,71 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python2-pylint' 'python-pylint') -pkgver=1.5.1 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six' 'mercurial') -optdepends=('tk: Pylint GUI') -source=("hg+https://felixonm...@bitbucket.org/logilab/pylint#tag=pylint-$pkgver";) -sha1sums=('SKIP') - -prepare() { - cp -a ${pkgbase}{,-py3} - - cd ${pkgbase}/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd ../../${pkgbase}-py3/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd ${pkgbase} - python2 setup.py build - - cd ../${pkgbase}-py3 - python3 setup.py build -} - -check() { - cd ${pkgbase} - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" - - cd ../${pkgbase}-py3 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-six') - - cd ${pkgbase} - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}"/usr/share/man/man1 - install -m644 man/* "${pkgdir}/usr/share/man/man1" - - for i in epylint pylint pylint-gui pyreverse symilar; do - mv "${pkgdir}"/usr/bin/${i}{,2} - mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 - done -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-six') - - cd ${pkgbase}-py3 - - python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 257052, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-12-21 01:30:42 UTC (rev 257053) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python2-pylint' 'python-pylint') +pkgver=1.5.2 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six' 'git') +optdepends=('tk: Pylint GUI') +source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) +sha1sums=('SKIP') + +prepare() { + cp -a ${pkgbase}{,-py3} + + cd ${pkgbase}/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd ../../${pkgbase}-py3/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript +} + +build() { + cd ${pkgbase} + python2 setup.py build + + cd ../${pkgbase}-py3 + python3 setup.py build +} + +check() { + cd ${pkgbase} + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" + + cd ../${pkgbase}-py3 + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" +} + +package_python2-pylint() { + depends=('python2-astroid' 'python2-setuptools' 'python2-six') + + cd ${pkgbase} + + python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}"/usr/share/man/man1 + install -m644 man/* "${pkgdir}/usr/share/man/man1" + + for i in epylint pylint pylint-gui pyreverse symilar; do + mv "${pkgdir}"/usr/bin/${i}{,2} +
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Monday, January 11, 2016 @ 12:17:56 Author: fyan Revision: 257947 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 257946, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-01-11 11:17:32 UTC (rev 257946) +++ PKGBUILD2016-01-11 11:17:56 UTC (rev 257947) @@ -1,71 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python2-pylint' 'python-pylint') -pkgver=1.5.2 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six' 'git') -optdepends=('tk: Pylint GUI') -source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) -sha1sums=('SKIP') - -prepare() { - cp -a ${pkgbase}{,-py3} - - cd ${pkgbase}/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd ../../${pkgbase}-py3/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd ${pkgbase} - python2 setup.py build - - cd ../${pkgbase}-py3 - python3 setup.py build -} - -check() { - cd ${pkgbase} - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" - - cd ../${pkgbase}-py3 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-six') - - cd ${pkgbase} - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}"/usr/share/man/man1 - install -m644 man/* "${pkgdir}/usr/share/man/man1" - - for i in epylint pylint pylint-gui pyreverse symilar; do - mv "${pkgdir}"/usr/bin/${i}{,2} - mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 - done -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-six') - - cd ${pkgbase}-py3 - - python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 257946, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-01-11 11:17:56 UTC (rev 257947) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python2-pylint' 'python-pylint') +pkgver=1.5.3 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six' 'git') +optdepends=('tk: Pylint GUI') +source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) +sha1sums=('SKIP') + +prepare() { + cp -a ${pkgbase}{,-py3} + + cd ${pkgbase}/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd ../../${pkgbase}-py3/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript +} + +build() { + cd ${pkgbase} + python2 setup.py build + + cd ../${pkgbase}-py3 + python3 setup.py build +} + +check() { + cd ${pkgbase} + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" + + cd ../${pkgbase}-py3 + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" +} + +package_python2-pylint() { + depends=('python2-astroid' 'python2-setuptools' 'python2-six') + + cd ${pkgbase} + + python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}"/usr/share/man/man1 + install -m644 man/* "${pkgdir}/usr/share/man/man1" + + for i in epylint pylint pylint-gui pyreverse symilar; do + mv "${pkgdir}"/usr/bin/${i}{,2} + mv "${pkgdir}"/
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Tuesday, March 22, 2016 @ 04:45:49 Author: fyan Revision: 262217 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 262216, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-03-22 03:45:32 UTC (rev 262216) +++ PKGBUILD2016-03-22 03:45:49 UTC (rev 262217) @@ -1,71 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python2-pylint' 'python-pylint') -pkgver=1.5.4 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six' 'git') -optdepends=('tk: Pylint GUI') -source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) -sha1sums=('SKIP') - -prepare() { - cp -a ${pkgbase}{,-py3} - - cd ${pkgbase}/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd ../../${pkgbase}-py3/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd ${pkgbase} - python2 setup.py build - - cd ../${pkgbase}-py3 - python3 setup.py build -} - -check() { - cd ${pkgbase} - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" - - cd ../${pkgbase}-py3 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-six') - - cd ${pkgbase} - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}"/usr/share/man/man1 - install -m644 man/* "${pkgdir}/usr/share/man/man1" - - for i in epylint pylint pylint-gui pyreverse symilar; do - mv "${pkgdir}"/usr/bin/${i}{,2} - mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 - done -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-six') - - cd ${pkgbase}-py3 - - python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 262216, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-03-22 03:45:49 UTC (rev 262217) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python-pylint' 'python2-pylint') +pkgver=1.5.5 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six' 'git') +optdepends=('tk: Pylint GUI') +source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) +sha1sums=('SKIP') + +prepare() { + cp -a pylint{,-py2} + + cd "$srcdir"/pylint/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd "$srcdir"/pylint-py2/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript +} + +build() { + cd "$srcdir"/pylint + python setup.py build + + cd "$srcdir"/pylint-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/pylint + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" + + cd "$srcdir"/pylint-py2 + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" +} + +package_python-pylint() { + depends=('python-astroid' 'python-setuptools' 'python-six') + + cd pylint + + python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 + + install -d "$pkgdir"/usr/share/man/man1 + install -m644 man/* "$pkgdir"/usr/share/man/man1 +} + +package_python2-pylint() { + depends=('python2-astroid' 'python2-setuptools' 'python2-six') + + cd pylint-py2
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Monday, November 30, 2015 @ 02:55:17 Author: fyan Revision: 252072 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 252071, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 143 ++--- 1 file changed, 71 insertions(+), 72 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-11-30 01:54:59 UTC (rev 252071) +++ PKGBUILD2015-11-30 01:55:17 UTC (rev 252072) @@ -1,72 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python2-pylint' 'python-pylint') -pkgver=1.4.4.20151005 -_commit=10c668a2f8eb944c0338068c3ee4dba395bfa611 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six' 'mercurial') -optdepends=('tk: Pylint GUI') -source=("hg+https://felixonm...@bitbucket.org/logilab/pylint#revision=$_commit";) -sha1sums=('SKIP') - -prepare() { - cp -a ${pkgbase}{,-py3} - - cd ${pkgbase}/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd ../../${pkgbase}-py3/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd ${pkgbase} - python2 setup.py build - - cd ../${pkgbase}-py3 - python3 setup.py build -} - -check() { - cd ${pkgbase} - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" - - cd ../${pkgbase}-py3 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-six') - - cd ${pkgbase} - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}"/usr/share/man/man1 - install -m644 man/* "${pkgdir}/usr/share/man/man1" - - for i in epylint pylint pylint-gui pyreverse symilar; do - mv "${pkgdir}"/usr/bin/${i}{,2} - mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 - done -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-six') - - cd ${pkgbase}-py3 - - python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 252071, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-11-30 01:55:17 UTC (rev 252072) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python2-pylint' 'python-pylint') +pkgver=1.5 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six' 'mercurial') +optdepends=('tk: Pylint GUI') +source=("hg+https://felixonm...@bitbucket.org/logilab/pylint#tag=pylint-$pkgver";) +sha1sums=('SKIP') + +prepare() { + cp -a ${pkgbase}{,-py3} + + cd ${pkgbase}/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd ../../${pkgbase}-py3/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript +} + +build() { + cd ${pkgbase} + python2 setup.py build + + cd ../${pkgbase}-py3 + python3 setup.py build +} + +check() { + cd ${pkgbase} + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" + + cd ../${pkgbase}-py3 + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" +} + +package_python2-pylint() { + depends=('python2-astroid' 'python2-setuptools' 'python2-six') + + cd ${pkgbase} + + python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}"/usr/share/man/man1 + install -m644 man/* "${pkgdir}/usr/share/man/man1" + + for i in epylint pylint
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Thursday, December 3, 2015 @ 03:49:42 Author: fyan Revision: 252142 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 252141, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 142 ++--- 1 file changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-12-03 02:49:19 UTC (rev 252141) +++ PKGBUILD2015-12-03 02:49:42 UTC (rev 252142) @@ -1,71 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python2-pylint' 'python-pylint') -pkgver=1.5 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six' 'mercurial') -optdepends=('tk: Pylint GUI') -source=("hg+https://felixonm...@bitbucket.org/logilab/pylint#tag=pylint-$pkgver";) -sha1sums=('SKIP') - -prepare() { - cp -a ${pkgbase}{,-py3} - - cd ${pkgbase}/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd ../../${pkgbase}-py3/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd ${pkgbase} - python2 setup.py build - - cd ../${pkgbase}-py3 - python3 setup.py build -} - -check() { - cd ${pkgbase} - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" - - cd ../${pkgbase}-py3 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-six') - - cd ${pkgbase} - - python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}"/usr/share/man/man1 - install -m644 man/* "${pkgdir}/usr/share/man/man1" - - for i in epylint pylint pylint-gui pyreverse symilar; do - mv "${pkgdir}"/usr/bin/${i}{,2} - mv "${pkgdir}"/usr/share/man/man1/${i}{,2}.1 - done -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-six') - - cd ${pkgbase}-py3 - - python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 - - install -d "${pkgdir}/usr/share/man/man1" - install -m644 man/* "${pkgdir}/usr/share/man/man1" -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 252141, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-12-03 02:49:42 UTC (rev 252142) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python2-pylint' 'python-pylint') +pkgver=1.5.1 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' 'python2-six' 'python-six' 'mercurial') +optdepends=('tk: Pylint GUI') +source=("hg+https://felixonm...@bitbucket.org/logilab/pylint#tag=pylint-$pkgver";) +sha1sums=('SKIP') + +prepare() { + cp -a ${pkgbase}{,-py3} + + cd ${pkgbase}/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd ../../${pkgbase}-py3/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript +} + +build() { + cd ${pkgbase} + python2 setup.py build + + cd ../${pkgbase}-py3 + python3 setup.py build +} + +check() { + cd ${pkgbase} + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" + + cd ../${pkgbase}-py3 + PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" +} + +package_python2-pylint() { + depends=('python2-astroid' 'python2-setuptools' 'python2-six') + + cd ${pkgbase} + + python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + + install -d "${pkgdir}"/usr/share/man/man1 + install -m644 man/* "${pkgdir}/usr/share/man/man1" + + for i in epylint pylint pylint-gui pyreverse symilar; do + mv "${pkgdir}"/us
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Friday, September 29, 2017 @ 15:31:57 Author: felixonmars Revision: 306470 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 306469, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 156 ++--- 1 file changed, 78 insertions(+), 78 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-09-29 15:31:17 UTC (rev 306469) +++ PKGBUILD2017-09-29 15:31:57 UTC (rev 306470) @@ -1,78 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python-pylint' 'python2-pylint') -pkgver=1.7.2 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python-astroid' 'python2-astroid' 'python-setuptools' 'python2-setuptools' - 'python-six' 'python2-six' 'python-isort' 'python2-isort' 'python-mccabe' - 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' - 'python2-singledispatch') -checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'mpdecimal') -optdepends=('tk: Pylint GUI') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz";) -sha512sums=('e0e2c76aa0310e0252094f44c9aff0ab2c4d5a733d86b1a9f56bbdb593097f4c5037e767bca50d80f2cd9af1076edd7c8fc85ec052a90a484a0dd7bc5c704ff0') - -prepare() { - cp -a pylint-pylint-$pkgver{,-py2} - - cd "$srcdir"/pylint-pylint-$pkgver/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd "$srcdir"/pylint-pylint-$pkgver-py2/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd "$srcdir"/pylint-pylint-$pkgver - python setup.py build - - cd "$srcdir"/pylint-pylint-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/pylint-pylint-$pkgver - python setup.py pytest - - cd "$srcdir"/pylint-pylint-$pkgver-py2 - python2 setup.py pytest -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-mccabe' 'python-isort') - - cd pylint-pylint-$pkgver - - python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-mccabe' 'python2-isort' - 'python2-backports.functools_lru_cache' 'python2-configparser' 'python2-singledispatch') - - cd pylint-pylint-$pkgver-py2 - - python2 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 - - for _exe in epylint pylint pyreverse symilar; do - mv "$pkgdir"/usr/bin/${_exe}{,2} - mv "$pkgdir"/usr/share/man/man1/${_exe}{,2}.1 - done - - mv "$pkgdir"/usr/share/man/man1/pylint-gui{,2}.1 -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 306469, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-09-29 15:31:57 UTC (rev 306470) @@ -0,0 +1,78 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python-pylint' 'python2-pylint') +pkgver=1.7.3 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python-astroid' 'python2-astroid' 'python-setuptools' 'python2-setuptools' + 'python-six' 'python2-six' 'python-isort' 'python2-isort' 'python-mccabe' + 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' + 'python2-singledispatch') +checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'mpdecimal') +optdepends=('tk: Pylint GUI') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz";) +sha512sums=('471b27286c6ca91837e952fc18df28e81303ae813853f36bacbb072cfb3d14352b1ec5b17204d0304ff0fc7704f8737efabfad9e5e9d70d159eb995126d25aad') + +prepare() { + cp -a pylint-pylint-$pkgver{,-py2} + + cd "$srcdir"/pylint-pylint-$pkgver/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd "$srcdir"/pylint-pylint-$pkgver-py2/pylint + sed -e "s|/usr/bin/e
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Saturday, September 30, 2017 @ 14:39:40 Author: felixonmars Revision: 306492 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 306491, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 156 ++--- 1 file changed, 78 insertions(+), 78 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-09-30 14:39:19 UTC (rev 306491) +++ PKGBUILD2017-09-30 14:39:40 UTC (rev 306492) @@ -1,78 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python-pylint' 'python2-pylint') -pkgver=1.7.3 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python-astroid' 'python2-astroid' 'python-setuptools' 'python2-setuptools' - 'python-six' 'python2-six' 'python-isort' 'python2-isort' 'python-mccabe' - 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' - 'python2-singledispatch') -checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'mpdecimal') -optdepends=('tk: Pylint GUI') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz";) -sha512sums=('471b27286c6ca91837e952fc18df28e81303ae813853f36bacbb072cfb3d14352b1ec5b17204d0304ff0fc7704f8737efabfad9e5e9d70d159eb995126d25aad') - -prepare() { - cp -a pylint-pylint-$pkgver{,-py2} - - cd "$srcdir"/pylint-pylint-$pkgver/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd "$srcdir"/pylint-pylint-$pkgver-py2/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd "$srcdir"/pylint-pylint-$pkgver - python setup.py build - - cd "$srcdir"/pylint-pylint-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/pylint-pylint-$pkgver - python setup.py pytest - - cd "$srcdir"/pylint-pylint-$pkgver-py2 - python2 setup.py pytest -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-mccabe' 'python-isort') - - cd pylint-pylint-$pkgver - - python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-mccabe' 'python2-isort' - 'python2-backports.functools_lru_cache' 'python2-configparser' 'python2-singledispatch') - - cd pylint-pylint-$pkgver-py2 - - python2 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 - - for _exe in epylint pylint pyreverse symilar; do - mv "$pkgdir"/usr/bin/${_exe}{,2} - mv "$pkgdir"/usr/share/man/man1/${_exe}{,2}.1 - done - - mv "$pkgdir"/usr/share/man/man1/pylint-gui{,2}.1 -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 306491, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-09-30 14:39:40 UTC (rev 306492) @@ -0,0 +1,78 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python-pylint' 'python2-pylint') +pkgver=1.7.4 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python-astroid' 'python2-astroid' 'python-setuptools' 'python2-setuptools' + 'python-six' 'python2-six' 'python-isort' 'python2-isort' 'python-mccabe' + 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' + 'python2-singledispatch') +checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'mpdecimal') +optdepends=('tk: Pylint GUI') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz";) +sha512sums=('0c2e7594a8c263aa6210912bfb02c5a19c041e920590f34389e5586e36734953afec34cac9119d3072c89a188f8d272a87e941b1ee99ec2e7f3ba11cc55b018d') + +prepare() { + cp -a pylint-pylint-$pkgver{,-py2} + + cd "$srcdir"/pylint-pylint-$pkgver/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd "$srcdir"/pylint-pylint-$pkgver-py2/pylint + sed -e "s|/usr/bin
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Monday, June 26, 2017 @ 13:06:19 Author: felixonmars Revision: 299269 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 299268, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 156 ++--- 1 file changed, 78 insertions(+), 78 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-06-26 13:05:23 UTC (rev 299268) +++ PKGBUILD2017-06-26 13:06:19 UTC (rev 299269) @@ -1,78 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python-pylint' 'python2-pylint') -pkgver=1.7.1 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python-astroid' 'python2-astroid' 'python-setuptools' 'python2-setuptools' - 'python-six' 'python2-six' 'python-isort' 'python2-isort' 'python-mccabe' - 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' - 'python2-singledispatch') -checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'mpdecimal') -optdepends=('tk: Pylint GUI') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz";) -sha512sums=('2a04d01ba252e986b5092a7fdf1674d68de6a23c2f9cfcb9e65caac5cddc6482d1e82efab3cdd2caa37117b618dd96a39d7fce489bd977db335d2900bddb515d') - -prepare() { - cp -a pylint-pylint-$pkgver{,-py2} - - cd "$srcdir"/pylint-pylint-$pkgver/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd "$srcdir"/pylint-pylint-$pkgver-py2/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd "$srcdir"/pylint-pylint-$pkgver - python setup.py build - - cd "$srcdir"/pylint-pylint-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/pylint-pylint-$pkgver - python setup.py pytest - - cd "$srcdir"/pylint-pylint-$pkgver-py2 - python2 setup.py pytest -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-mccabe' 'python-isort') - - cd pylint-pylint-$pkgver - - python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-mccabe' 'python2-isort' - 'python2-backports.functools_lru_cache' 'python2-configparser' 'python2-singledispatch') - - cd pylint-pylint-$pkgver-py2 - - python2 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 - - for _exe in epylint pylint pyreverse symilar; do - mv "$pkgdir"/usr/bin/${_exe}{,2} - mv "$pkgdir"/usr/share/man/man1/${_exe}{,2}.1 - done - - mv "$pkgdir"/usr/share/man/man1/pylint-gui{,2}.1 -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 299268, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-06-26 13:06:19 UTC (rev 299269) @@ -0,0 +1,78 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python-pylint' 'python2-pylint') +pkgver=1.7.2 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python-astroid' 'python2-astroid' 'python-setuptools' 'python2-setuptools' + 'python-six' 'python2-six' 'python-isort' 'python2-isort' 'python-mccabe' + 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' + 'python2-singledispatch') +checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'mpdecimal') +optdepends=('tk: Pylint GUI') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz";) +sha512sums=('e0e2c76aa0310e0252094f44c9aff0ab2c4d5a733d86b1a9f56bbdb593097f4c5037e767bca50d80f2cd9af1076edd7c8fc85ec052a90a484a0dd7bc5c704ff0') + +prepare() { + cp -a pylint-pylint-$pkgver{,-py2} + + cd "$srcdir"/pylint-pylint-$pkgver/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd "$srcdir"/pylint-pylint-$pkgver-py2/pylint + sed -e "s|/usr/bin/env py
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Wednesday, January 11, 2017 @ 15:39:29 Author: felixonmars Revision: 285680 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 285679, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 154 +++-- 1 file changed, 80 insertions(+), 74 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-01-11 15:39:07 UTC (rev 285679) +++ PKGBUILD2017-01-11 15:39:29 UTC (rev 285680) @@ -1,74 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python-pylint' 'python2-pylint') -pkgver=1.6.4 -pkgrel=2 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' - 'python2-six' 'python-six' 'python-isort' 'python2-isort' 'python-mccabe' - 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' 'git') -optdepends=('tk: Pylint GUI') -source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) -sha1sums=('SKIP') - -prepare() { - cp -a pylint{,-py2} - - cd "$srcdir"/pylint/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd "$srcdir"/pylint-py2/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd "$srcdir"/pylint - python setup.py build - - cd "$srcdir"/pylint-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/pylint - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" - - cd "$srcdir"/pylint-py2 - PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s pylint/test/ -p *test_*.py || warning "Tests failed" -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-six' 'python-mccabe' 'python-isort') - - cd pylint - - python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-six' 'python2-mccabe' 'python2-isort' - 'python2-backports.functools_lru_cache' 'python2-configparser') - - cd pylint-py2 - - python2 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 - - for _exe in epylint pylint pylint-gui pyreverse symilar; do - mv "$pkgdir"/usr/bin/${_exe}{,2} - mv "$pkgdir"/usr/share/man/man1/${_exe}{,2}.1 - done -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 285679, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-01-11 15:39:29 UTC (rev 285680) @@ -0,0 +1,80 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python-pylint' 'python2-pylint') +pkgver=1.6.4.20170104 +_commit=da1da56853380a5a387ad287f4398402b14ef123 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' + 'python2-six' 'python-six' 'python-isort' 'python2-isort' 'python-mccabe' + 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' + 'python-editdistance' 'python2-editdistance' 'git') +checkdepends=('python-pytest-runner' 'python2-pytest-runner') +optdepends=('tk: Pylint GUI') +#source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) +source=("git+https://github.com/PyCQA/pylint.git#commit=$_commit";) +sha1sums=('SKIP') + +prepare() { + cp -a pylint{,-py2} + + cd "$srcdir"/pylint/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd "$srcdir"/pylint-py2/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript +} + +build() { + cd "$srcdir"/pylint + python setup.py build + + cd "$srcdir"/pylint-py2 + python2 setup.py build +} + +check() { + cd "$
[arch-commits] Commit in pylint/repos/extra-any (PKGBUILD PKGBUILD)
Date: Thursday, May 4, 2017 @ 14:10:16 Author: felixonmars Revision: 295269 archrelease: copy trunk to extra-any Added: pylint/repos/extra-any/PKGBUILD (from rev 295268, pylint/trunk/PKGBUILD) Deleted: pylint/repos/extra-any/PKGBUILD --+ PKGBUILD | 158 ++--- 1 file changed, 78 insertions(+), 80 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-05-04 14:09:38 UTC (rev 295268) +++ PKGBUILD2017-05-04 14:10:16 UTC (rev 295269) @@ -1,80 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Alexander Fehr - -pkgbase=pylint -pkgname=('python-pylint' 'python2-pylint') -pkgver=1.6.4.20170104 -_commit=da1da56853380a5a387ad287f4398402b14ef123 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="http://pylint.org"; -license=('GPL') -makedepends=('python2-astroid' 'python-astroid' 'python2-setuptools' 'python-setuptools' - 'python2-six' 'python-six' 'python-isort' 'python2-isort' 'python-mccabe' - 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' - 'python-editdistance' 'python2-editdistance' 'git') -checkdepends=('python-pytest-runner' 'python2-pytest-runner') -optdepends=('tk: Pylint GUI') -#source=("git+https://github.com/PyCQA/pylint.git#tag=pylint-$pkgver";) -source=("git+https://github.com/PyCQA/pylint.git#commit=$_commit";) -sha1sums=('SKIP') - -prepare() { - cp -a pylint{,-py2} - - cd "$srcdir"/pylint/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript - - cd "$srcdir"/pylint-py2/pylint - sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/input/noext test/data/ascript -} - -build() { - cd "$srcdir"/pylint - python setup.py build - - cd "$srcdir"/pylint-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/pylint - python setup.py ptr || warning "Tests failed" - - cd "$srcdir"/pylint-py2 - python2 setup.py ptr -} - -package_python-pylint() { - depends=('python-astroid' 'python-setuptools' 'python-editdistance' 'python-mccabe' 'python-isort') - - cd pylint - - python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 -} - -package_python2-pylint() { - depends=('python2-astroid' 'python2-setuptools' 'python2-editdistance' 'python2-mccabe' 'python2-isort' - 'python2-backports.functools_lru_cache' 'python2-configparser') - - cd pylint-py2 - - python2 setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 man/* "$pkgdir"/usr/share/man/man1 - - for _exe in epylint pylint pyreverse symilar; do - mv "$pkgdir"/usr/bin/${_exe}{,2} - mv "$pkgdir"/usr/share/man/man1/${_exe}{,2}.1 - done - - mv "$pkgdir"/usr/share/man/man1/pylint-gui{,2}.1 -} Copied: pylint/repos/extra-any/PKGBUILD (from rev 295268, pylint/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-05-04 14:10:16 UTC (rev 295269) @@ -0,0 +1,78 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python-pylint' 'python2-pylint') +pkgver=1.7.1 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="http://pylint.org"; +license=('GPL') +makedepends=('python-astroid' 'python2-astroid' 'python-setuptools' 'python2-setuptools' + 'python-six' 'python2-six' 'python-isort' 'python2-isort' 'python-mccabe' + 'python2-mccabe' 'python2-backports.functools_lru_cache' 'python2-configparser' + 'python2-singledispatch') +checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'mpdecimal') +optdepends=('tk: Pylint GUI') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz";) +sha512sums=('2a04d01ba252e986b5092a7fdf1674d68de6a23c2f9cfcb9e65caac5cddc6482d1e82efab3cdd2caa37117b618dd96a39d7fce489bd977db335d2900bddb515d') + +prepare() { + cp -a pylint-pylint-$pkgver{,-py2} + + cd "$srcdir"/pylint-pylint-$pkgver/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript + + cd "$srcdir"/pylint-pylint-$pkgver-py2/pylint + sed -e "s|/usr/bin/env python|/usr/bin/env python2|" -e "s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py test/inp