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

Caleb Maclennan alerque at gemini.archlinux.org
Thu Nov 25 20:24:32 UTC 2021


    Date: Thursday, November 25, 2021 @ 20:24:31
  Author: alerque
Revision: 1054785

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  111 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 56 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-25 20:24:09 UTC (rev 1054784)
+++ PKGBUILD	2021-11-25 20:24:31 UTC (rev 1054785)
@@ -1,55 +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.11.1
-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)
-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=('b797b4906068c616db2aaf364e56506d42b130474e98a16a0e2b9eb72fa0b1b7')
-
-prepare() {
-	cd "$_archive"
-	# Remove overly restrictive dependency pinning that ends up in runtime checks
-	sed -i -e '/>=/{s/>.*//;p}' 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-any/PKGBUILD (from rev 1054784, python-pylint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-25 20:24:31 UTC (rev 1054785)
@@ -0,0 +1,56 @@
+# 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.12.1
+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=('9fa85a5f0704c8a880762c3e7c938993b2ff619291171acde97127fcb134c02e')
+
+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/*
+}



More information about the arch-commits mailing list