Date: Saturday, July 31, 2021 @ 12:57:57 Author: felixonmars Revision: 420955
archrelease: copy trunk to extra-any Added: python-pylint/repos/extra-any/PKGBUILD (from rev 420954, python-pylint/trunk/PKGBUILD) Deleted: python-pylint/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 78 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-07-31 12:57:45 UTC (rev 420954) +++ PKGBUILD 2021-07-31 12:57:57 UTC (rev 420955) @@ -1,39 +0,0 @@ -# Maintainer: Angel Velasquez <an...@archlinux.org> -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Stéphane Gaudreault <steph...@archlinux.org> -# Contributor: Alexander Fehr <pizzapunk gmail com> - -pkgname=python-pylint -pkgver=2.8.0 -pkgrel=1 -pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" -arch=('any') -url="https://pylint.org" -license=('GPL') -depends=('python-astroid' 'python-mccabe' 'python-isort' 'python-setuptools' 'python-toml') -makedepends=('python-pytest-runner' 'python-pytest-benchmark' 'python-sphinx') -checkdepends=('mpdecimal') -optdepends=('tk: Pylint GUI' - 'graphviz: To have other output formats than dot or vcg') -source=("https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz") -sha512sums=('d4f6b6c6046265beb0e17b8d375d2604a889bf9b6569d4dae9cdec3f92c8c76d440f6527c9d42f7197a73d4a65fab73f57e5ab99c98d40681119eb051b117211') - -build() { - cd pylint-pylint-$pkgver - python setup.py build - make PYTHONPATH="$PWD/build/lib" -C doc man -} - -check() { - cd pylint-pylint-$pkgver - # https://github.com/PyCQA/pylint/issues/3895 - python setup.py pytest || echo "Tests failed" -} - -package() { - cd pylint-pylint-$pkgver - python setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 - - install -d "$pkgdir"/usr/share/man/man1 - install -m644 doc/_build/man/* "$pkgdir"/usr/share/man/man1 -} Copied: python-pylint/repos/extra-any/PKGBUILD (from rev 420954, python-pylint/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-07-31 12:57:57 UTC (rev 420955) @@ -0,0 +1,39 @@ +# Maintainer: Angel Velasquez <an...@archlinux.org> +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Stéphane Gaudreault <steph...@archlinux.org> +# Contributor: Alexander Fehr <pizzapunk gmail com> + +pkgname=python-pylint +pkgver=2.8.1 +pkgrel=1 +pkgdesc="Analyzes Python code looking for bugs and signs of poor quality" +arch=('any') +url="https://pylint.org" +license=('GPL') +depends=('python-astroid' 'python-mccabe' 'python-isort' 'python-setuptools' 'python-toml') +makedepends=('python-pytest-runner' 'python-pytest-benchmark' 'python-sphinx') +checkdepends=('mpdecimal') +optdepends=('tk: Pylint GUI' + 'graphviz: To have other output formats than dot or vcg') +source=("https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz") +sha512sums=('ec8710396f07cdec8a395748ffda403a1f3fbd00094a1ad32e976c52be946c08b9e32521205dc165a0284467c68d9f467be40d141907bcd148b94e285eeca606') + +build() { + cd pylint-pylint-$pkgver + python setup.py build + make PYTHONPATH="$PWD/build/lib" -C doc man +} + +check() { + cd pylint-pylint-$pkgver + # https://github.com/PyCQA/pylint/issues/3895 + python setup.py pytest || echo "Tests failed" +} + +package() { + cd pylint-pylint-$pkgver + python setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1 + + install -d "$pkgdir"/usr/share/man/man1 + install -m644 doc/_build/man/* "$pkgdir"/usr/share/man/man1 +}