Date: Tuesday, April 25, 2023 @ 13:30:14
Author: alerque
Revision: 1448663
archrelease: copy trunk to community-staging-any
Added:
python-pylint/repos/community-staging-any/PKGBUILD
(from rev 1448662, python-pylint/trunk/PKGBUILD)
Deleted:
python-pylint/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 140 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 70 insertions(+), 70 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-25 13:30:05 UTC (rev 1448662)
+++ PKGBUILD 2023-04-25 13:30:14 UTC (rev 1448663)
@@ -1,70 +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.17.2
-pkgrel=2
-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')
-_archive="$_pyname-$pkgver"
-source=("https://github.com/PyCQA/pylint/archive/v$pkgver/$_archive.tar.gz")
-sha256sums=('4e1052a2cf2d9c3098382e395519abaa3ebec8d5b749cad8d249cccb799adb05')
-
-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
-}
Copied: python-pylint/repos/community-staging-any/PKGBUILD (from rev 1448662,
python-pylint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-25 13:30:14 UTC (rev 1448663)
@@ -0,0 +1,70 @@
+# 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.17.3
+pkgrel=2
+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')
+_archive="$_pyname-$pkgver"
+source=("https://github.com/PyCQA/pylint/archive/v$pkgver/$_archive.tar.gz")
+sha256sums=('4424866476f7af8ffa62b63b62bb7887e87483f52f48b9998ecfde6a179efe78')
+
+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
+}