Date: Tuesday, February 28, 2023 @ 09:34:48 Author: alerque Revision: 1405586
archrelease: copy trunk to community-any Deleted: python-pylint/repos/community-any/PKGBUILD ----------+ PKGBUILD | 71 ------------------------------------------------------------- 1 file changed, 71 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-02-28 09:31:10 UTC (rev 1405585) +++ PKGBUILD 2023-02-28 09:34:48 UTC (rev 1405586) @@ -1,71 +0,0 @@ -# Maintainer: Caleb Maclennan <[email protected]> -# Contributor: David Runge <[email protected]> -# Contributor: Angel Velasquez <[email protected]> -# Contributor: Felix Yan <[email protected]> -# Contributor: Stéphane Gaudreault <[email protected]> -# Contributor: Alexander Fehr <pizzapunk gmail com> - -_pyname=pylint -pkgname=python-$_pyname -pkgver=2.16.2 -pkgrel=1 -pkgdesc='Analyzes Python code looking for bugs and signs of poor quality' -arch=(any) -url=https://pylint.pycqa.org -license=(GPL) -_pydeps=(astroid - colorama - dill - isort - mccabe - platformdirs - tomli # for python <3.11 - tomlkit) -depends=(python - "${_pydeps[@]/#/python-}") -makedepends=(python-{build,installer} - python-myst-parser - python-setuptools - python-sphinx{,-reredirects} - python-wheel) -checkdepends=(mpdecimal - python-gitpython - python-py - python-pytest{,-timeout,-benchmark}) -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=('55e7cb236f706807bfecd2e3d710e98fb5657adffb5c8ef7fd7eb843c41c5841') - -prepare() { - cd "$_archive" - # Remove build time dependency pinning that conflicts with Arch packages - sed -i -E '/^requires/s/~=[0-9.]+//g' pyproject.toml - # 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 -m build -wn - make PYTHONPATH="$PWD/build/lib" -C doc man -} - -check() { - local deselected=( - --deselect tests/test_functional.py::test_functional - --deselect tests/test_self.py::TestRunTC::test_do_not_import_files_from_local_directory - --deselect tests/testutils/test_testutils_utils.py::test__test_environ_pythonpath_no_arg - --deselect tests/benchmark/test_baseline_benchmarks.py - ) - cd "$_archive" - export PYTHONPATH="$PWD:$PWD/build/lib" - pytest -vv --color=yes "${deselected[@]}" -} - -package() { - cd "$_archive" - python -m installer -d "$pkgdir" dist/*.whl - install -Dm0644 -t "$pkgdir/usr/share/man/man1/" doc/_build/man/*.1 -}
