[arch-commits] Commit in python-pylint/repos/community-any (PKGBUILD PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Tue Mar 29 09:01:22 UTC 2022


    Date: Tuesday, March 29, 2022 @ 09:01:22
  Author: alerque
Revision: 1177596

archrelease: copy trunk to community-any

Added:
  python-pylint/repos/community-any/PKGBUILD
    (from rev 1177595, python-pylint/trunk/PKGBUILD)
Deleted:
  python-pylint/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  124 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 62 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-29 09:01:15 UTC (rev 1177595)
+++ PKGBUILD	2022-03-29 09:01:22 UTC (rev 1177596)
@@ -1,62 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Angel Velasquez <angvp at archlinux.org>
-# Contributor: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
-# Contributor: Alexander Fehr <pizzapunk gmail com>
-
-_pyname=pylint
-pkgname=python-$_pyname
-pkgver=2.13.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
-         dill
-         isort
-         mccabe
-         platformdirs
-         toml
-         typing_extensions) # for python<3.10
-depends=(python
-         "${_pydeps[@]/#/python-}")
-makedepends=(python-{build,installer}
-             python-setuptools
-             python-sphinx
-             python-wheel)
-checkdepends=(mpdecimal
-              python-gitpython
-              python-pytest{,-timeout})
-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=('f6d9d0fc4f09877b7231b5bed3cf349ca2d35e5621dd905d222bed59dc882610')
-
-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
-	# Give ourselves a way to granularly disable test dependent on installed path
-	sed -i -e '/^markers =/a\    pathdependent: Does not play nice' setup.cfg
-	sed -i -e '/test_do_not_import_files_from_local_directory_with_pythonpath/i\    @pytest.mark.pathdependent' tests/test_self.py
-}
-
-build() {
-	cd "$_archive"
-	python -m build -wn
-	make PYTHONPATH="$PWD/build/lib" -C doc man
-}
-
-check() {
-	cd "$_archive"
-	PYTHONPATH="$PWD:$PWD/build/lib" pytest -m 'not pathdependent' \
-		--deselect tests/benchmark/test_baseline_benchmarks.py
-}
-
-package() {
-	cd "$_archive"
-	python -m installer -d "$pkgdir" dist/*.whl
-	install -Dm0644 -t "$pkgdir/usr/share/man/man1/" doc/_build/man/*
-}

Copied: python-pylint/repos/community-any/PKGBUILD (from rev 1177595, python-pylint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-29 09:01:22 UTC (rev 1177596)
@@ -0,0 +1,62 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+_pyname=pylint
+pkgname=python-$_pyname
+pkgver=2.13.3
+pkgrel=1
+pkgdesc='Analyzes Python code looking for bugs and signs of poor quality'
+arch=(any)
+url=https://pylint.org
+license=(GPL)
+_pydeps=(astroid
+         dill
+         isort
+         mccabe
+         platformdirs
+         toml
+         typing_extensions) # for python<3.10
+depends=(python
+         "${_pydeps[@]/#/python-}")
+makedepends=(python-{build,installer}
+             python-setuptools
+             python-sphinx
+             python-wheel)
+checkdepends=(mpdecimal
+              python-gitpython
+              python-pytest{,-timeout})
+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=('650b677f80ee7dee2f268edf38de0dc0561b49dda880a9a68c7e1180207b02b1')
+
+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
+	# Give ourselves a way to granularly disable test dependent on installed path
+	sed -i -e '/^markers =/a\    pathdependent: Does not play nice' setup.cfg
+	sed -i -e '/test_do_not_import_files_from_local_directory_with_pythonpath/i\    @pytest.mark.pathdependent' tests/test_self.py
+}
+
+build() {
+	cd "$_archive"
+	python -m build -wn
+	make PYTHONPATH="$PWD/build/lib" -C doc man
+}
+
+check() {
+	cd "$_archive"
+	PYTHONPATH="$PWD:$PWD/build/lib" pytest -m 'not pathdependent' \
+		--deselect tests/benchmark/test_baseline_benchmarks.py
+}
+
+package() {
+	cd "$_archive"
+	python -m installer -d "$pkgdir" dist/*.whl
+	install -Dm0644 -t "$pkgdir/usr/share/man/man1/" doc/_build/man/*
+}



More information about the arch-commits mailing list