Date: Saturday, December 11, 2021 @ 10:55:13 Author: alerque Revision: 1068219
archrelease: copy trunk to community-testing-any Added: python-pylint/repos/community-testing-any/PKGBUILD (from rev 1068218, python-pylint/trunk/PKGBUILD) Deleted: python-pylint/repos/community-testing-any/PKGBUILD ----------+ PKGBUILD | 112 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 56 insertions(+), 56 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-12-11 10:55:06 UTC (rev 1068218) +++ PKGBUILD 2021-12-11 10:55:13 UTC (rev 1068219) @@ -1,56 +0,0 @@ -# Maintainer: Caleb Maclennan <ca...@alerque.com> -# Contributor: Angel Velasquez <an...@archlinux.org> -# Contributor: Felix Yan <felixonm...@archlinux.org> -# Contributor: Stéphane Gaudreault <steph...@archlinux.org> -# Contributor: Alexander Fehr <pizzapunk gmail com> - -_pyname=pylint -pkgname=python-$_pyname -pkgver=2.12.2 -pkgrel=1 -pkgdesc='Analyzes Python code looking for bugs and signs of poor quality' -arch=(any) -url=https://pylint.org -license=(GPL) -_pydeps=(astroid - isort - mccabe - platformdirs - toml - typing_extensions) # for python<3.10 -depends=(python - "${_pydeps[@]/#/python-}") -makedepends=(python-setuptools - python-sphinx) -checkdepends=(mpdecimal - python-pytest - python-gitpython) -optdepends=('graphviz: Enable output formats other than dot or vcg' - 'tk: Pylint GUI') -_archive="$_pyname-$pkgver" -source=("https://github.com/PyCQA/pylint/archive/v$pkgver/$_archive.tar.gz") -sha256sums=('411308682f3d4578bb769e7fa549c8f34edf1033871d2e8cd5c3ce16a5741c59') - -prepare() { - cd "$_archive" - # Remove overly restrictive dependency pinning that ends up in runtime checks - sed -i -e '/>=/{s/>.*//;p}' -e '/python_requires/d' setup.cfg -} - -build() { - cd "$_archive" - python setup.py build - make PYTHONPATH="$PWD/build/lib" -C doc man -} - -check() { - cd "$_archive" - PYTHONPATH="$PWD/build/lib" pytest \ - --deselect tests/benchmark/test_baseline_benchmarks.py -} - -package() { - cd "$_archive" - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm0644 -t "$pkgdir/usr/share/man/man1/" doc/_build/man/* -} Copied: python-pylint/repos/community-testing-any/PKGBUILD (from rev 1068218, python-pylint/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-12-11 10:55:13 UTC (rev 1068219) @@ -0,0 +1,56 @@ +# Maintainer: Caleb Maclennan <ca...@alerque.com> +# Contributor: Angel Velasquez <an...@archlinux.org> +# Contributor: Felix Yan <felixonm...@archlinux.org> +# Contributor: Stéphane Gaudreault <steph...@archlinux.org> +# Contributor: Alexander Fehr <pizzapunk gmail com> + +_pyname=pylint +pkgname=python-$_pyname +pkgver=2.12.2 +pkgrel=2 +pkgdesc='Analyzes Python code looking for bugs and signs of poor quality' +arch=(any) +url=https://pylint.org +license=(GPL) +_pydeps=(astroid + isort + mccabe + platformdirs + toml + typing_extensions) # for python<3.10 +depends=(python + "${_pydeps[@]/#/python-}") +makedepends=(python-setuptools + python-sphinx) +checkdepends=(mpdecimal + python-pytest + python-gitpython) +optdepends=('graphviz: Enable output formats other than dot or vcg' + 'tk: Pylint GUI') +_archive="$_pyname-$pkgver" +source=("https://github.com/PyCQA/pylint/archive/v$pkgver/$_archive.tar.gz") +sha256sums=('411308682f3d4578bb769e7fa549c8f34edf1033871d2e8cd5c3ce16a5741c59') + +prepare() { + cd "$_archive" + # Remove overly restrictive dependency pinning that ends up in runtime checks + sed -i -e '/>=/{s/>.*//;p}' -e '/python_requires/d' setup.cfg +} + +build() { + cd "$_archive" + python setup.py build + make PYTHONPATH="$PWD/build/lib" -C doc man +} + +check() { + cd "$_archive" + PYTHONPATH="$PWD/build/lib" pytest \ + --deselect tests/benchmark/test_baseline_benchmarks.py +} + +package() { + cd "$_archive" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm0644 -t "$pkgdir/usr/share/man/man1/" doc/_build/man/* +}