[arch-commits] Commit in pylint/repos (testing-any testing-any/PKGBUILD)
Date: Wednesday, June 6, 2018 @ 16:20:05 Author: felixonmars Revision: 326045 archrelease: copy trunk to testing-any Added: pylint/repos/testing-any/ pylint/repos/testing-any/PKGBUILD (from rev 326044, pylint/trunk/PKGBUILD) --+ PKGBUILD | 79 + 1 file changed, 79 insertions(+) Copied: pylint/repos/testing-any/PKGBUILD (from rev 326044, pylint/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2018-06-06 16:20:05 UTC (rev 326045) @@ -0,0 +1,79 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python-pylint' 'python2-pylint') +pkgver=1.9.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' +'graphviz: To have other output formats than dot or vcg') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz";) +sha512sums=('5b2f7f00c7ff2ca5e53a9bb616f314a8f1460ec1acd8123407bc73c23a26502d1adb6cffad8020f0c3d9964adf316929fd159c5720f019c5ce6aa8cdc791955d') + +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 +}
[arch-commits] Commit in pylint/repos (testing-any testing-any/PKGBUILD)
Date: Thursday, May 17, 2018 @ 06:39:55 Author: felixonmars Revision: 324416 archrelease: copy trunk to testing-any Added: pylint/repos/testing-any/ pylint/repos/testing-any/PKGBUILD (from rev 324415, pylint/trunk/PKGBUILD) --+ PKGBUILD | 79 + 1 file changed, 79 insertions(+) Copied: pylint/repos/testing-any/PKGBUILD (from rev 324415, pylint/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2018-05-17 06:39:55 UTC (rev 324416) @@ -0,0 +1,79 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python-pylint' 'python2-pylint') +pkgver=1.9.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' +'graphviz: To have other output formats than dot or vcg') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz";) +sha512sums=('f35abf97208c554abe08911e02a79bf4883532608f6d791e59b38c6abdb19332ae1c8c3db7be03362973f5fbaf70bc091722399e3df253f0496deec9b0cd1d6f') + +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 +}
[arch-commits] Commit in pylint/repos (testing-any testing-any/PKGBUILD)
Date: Thursday, April 5, 2018 @ 15:36:33 Author: felixonmars Revision: 320968 archrelease: copy trunk to testing-any Added: pylint/repos/testing-any/ pylint/repos/testing-any/PKGBUILD (from rev 320967, pylint/trunk/PKGBUILD) --+ PKGBUILD | 79 + 1 file changed, 79 insertions(+) Copied: pylint/repos/testing-any/PKGBUILD (from rev 320967, pylint/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2018-04-05 15:36:33 UTC (rev 320968) @@ -0,0 +1,79 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python-pylint' 'python2-pylint') +pkgver=1.8.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' +'graphviz: To have other output formats than dot or vcg') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz";) +sha512sums=('bfdb39d1d79b206d7b09f070b677e6a4172ab514defe1599d6ee92e888d8611e36966a9543eb01c0ae1c496e0646e9d63cabace4ca1aab979d768395eab32bef') + +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 || warning "Tests failed" + + 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 +}
[arch-commits] Commit in pylint/repos (testing-any testing-any/PKGBUILD)
Date: Sunday, February 4, 2018 @ 18:57:38 Author: angvp Revision: 315864 archrelease: copy trunk to testing-any Added: pylint/repos/testing-any/ pylint/repos/testing-any/PKGBUILD (from rev 315863, pylint/trunk/PKGBUILD) --+ PKGBUILD | 79 + 1 file changed, 79 insertions(+) Copied: pylint/repos/testing-any/PKGBUILD (from rev 315863, pylint/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2018-02-04 18:57:38 UTC (rev 315864) @@ -0,0 +1,79 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Maintainer: Felix Yan +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python-pylint' 'python2-pylint') +pkgver=1.8.2 +pkgrel=2 +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' +'graphviz: To have other output formats than dot or vcg') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz";) +sha512sums=('ac0e7d53b5482435b0579b475684bb725358f21ae3a09d15fdf01bb51dd06f9204c4be3b17de69d4e11d1fed38820f0046625030928ca5699f2828c8f2a44716') + +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 +}
[arch-commits] Commit in pylint/repos (testing-any testing-any/PKGBUILD)
Date: Tuesday, January 23, 2018 @ 14:59:38 Author: felixonmars Revision: 315302 archrelease: copy trunk to testing-any Added: pylint/repos/testing-any/ pylint/repos/testing-any/PKGBUILD (from rev 315301, pylint/trunk/PKGBUILD) --+ PKGBUILD | 78 + 1 file changed, 78 insertions(+) Copied: pylint/repos/testing-any/PKGBUILD (from rev 315301, pylint/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2018-01-23 14:59:38 UTC (rev 315302) @@ -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.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=('ac0e7d53b5482435b0579b475684bb725358f21ae3a09d15fdf01bb51dd06f9204c4be3b17de69d4e11d1fed38820f0046625030928ca5699f2828c8f2a44716') + +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 +}
[arch-commits] Commit in pylint/repos (testing-any testing-any/PKGBUILD)
Date: Tuesday, December 19, 2017 @ 04:51:21 Author: felixonmars Revision: 313330 archrelease: copy trunk to testing-any Added: pylint/repos/testing-any/ pylint/repos/testing-any/PKGBUILD (from rev 313329, pylint/trunk/PKGBUILD) --+ PKGBUILD | 78 + 1 file changed, 78 insertions(+) Copied: pylint/repos/testing-any/PKGBUILD (from rev 313329, pylint/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2017-12-19 04:51:21 UTC (rev 313330) @@ -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.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 +}
[arch-commits] Commit in pylint/repos (testing-any testing-any/PKGBUILD)
Date: Saturday, January 17, 2015 @ 05:00:16 Author: fyan Revision: 229464 archrelease: copy trunk to testing-any Added: pylint/repos/testing-any/ pylint/repos/testing-any/PKGBUILD (from rev 229463, pylint/trunk/PKGBUILD) --+ PKGBUILD | 71 + 1 file changed, 71 insertions(+) Copied: pylint/repos/testing-any/PKGBUILD (from rev 229463, pylint/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2015-01-17 04:00:16 UTC (rev 229464) @@ -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.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" +}
[arch-commits] Commit in pylint/repos (testing-any testing-any/PKGBUILD)
Date: Friday, January 17, 2014 @ 00:52:14 Author: angvp Revision: 204304 archrelease: copy trunk to testing-any Added: pylint/repos/testing-any/ pylint/repos/testing-any/PKGBUILD (from rev 204303, pylint/trunk/PKGBUILD) --+ PKGBUILD | 59 +++ 1 file changed, 59 insertions(+) Copied: pylint/repos/testing-any/PKGBUILD (from rev 204303, pylint/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2014-01-16 23:52:14 UTC (rev 204304) @@ -0,0 +1,59 @@ +# $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" +}
[arch-commits] Commit in pylint/repos (testing-any testing-any/PKGBUILD)
Date: Tuesday, August 20, 2013 @ 08:49:57 Author: angvp Revision: 193429 archrelease: copy trunk to testing-any Added: pylint/repos/testing-any/ pylint/repos/testing-any/PKGBUILD (from rev 193428, pylint/trunk/PKGBUILD) --+ PKGBUILD | 61 + 1 file changed, 61 insertions(+) Copied: pylint/repos/testing-any/PKGBUILD (from rev 193428, pylint/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2013-08-20 06:49:57 UTC (rev 193429) @@ -0,0 +1,61 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Contributor: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python2-pylint' 'python-pylint') +pkgver=1.0.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') +optdepends=('tk: Pylint GUI') +conflicts=('pylint<=0.26.0-2') +source=(http://pypi.python.org/packages/source/p/{$pkgbase}/${pkgbase}-${pkgver}.tar.gz) +sha1sums=('307636004ff1c8d70982052b74d5e7b126d69167') + +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' '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-logilab-astng' '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 (testing-any testing-any/PKGBUILD)
Date: Saturday, August 17, 2013 @ 10:38:59 Author: angvp Revision: 193144 archrelease: copy trunk to testing-any Added: pylint/repos/testing-any/ pylint/repos/testing-any/PKGBUILD (from rev 193143, pylint/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: pylint/repos/testing-any/PKGBUILD (from rev 193143, pylint/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2013-08-17 08:38:59 UTC (rev 193144) @@ -0,0 +1,60 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python2-pylint' 'python-pylint') +pkgver=0.28.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') +makedepends=('python2-logilab-astng' 'python-logilab-astng') +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' '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-logilab-astng' '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 (testing-any testing-any/PKGBUILD)
Date: Tuesday, November 27, 2012 @ 07:50:45 Author: stephane Revision: 172060 archrelease: copy trunk to testing-any Added: pylint/repos/testing-any/ pylint/repos/testing-any/PKGBUILD (from rev 172059, pylint/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: pylint/repos/testing-any/PKGBUILD (from rev 172059, pylint/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2012-11-27 12:50:45 UTC (rev 172060) @@ -0,0 +1,60 @@ +# $Id$ +# Maintainer: Stéphane Gaudreault +# Contributor: Alexander Fehr + +pkgbase=pylint +pkgname=('python2-pylint' 'python-pylint') +pkgver=0.26.0 +pkgrel=3 +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=('5dcc07d622b4ff7d5751523fe0161989e463ffe6') + +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" +}