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

Caleb Maclennan alerque at gemini.archlinux.org
Tue Aug 31 20:05:48 UTC 2021


    Date: Tuesday, August 31, 2021 @ 20:05:48
  Author: alerque
Revision: 1010221

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  108 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 54 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-31 20:04:35 UTC (rev 1010220)
+++ PKGBUILD	2021-08-31 20:05:48 UTC (rev 1010221)
@@ -1,54 +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.10.2
-pkgrel=2
-pkgdesc='Analyzes Python code looking for bugs and signs of poor quality'
-arch=(any)
-url=https://pylint.org
-license=(GPL)
-depends=(python
-         python-astroid
-         python-isort
-         python-platformdirs)
-makedepends=(python-setuptools
-             python-sphinx)
-checkdepends=(mpdecimal
-              python-mccabe
-              python-toml
-              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/pylint-$pkgver.tar.gz")
-sha256sums=('639254a0ef06dacfcfb27ce01bc3b1ddf27dbe702ba0685ae0286e0d02ff9194')
-
-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"
-	export PYTHONHASHSEED=0
-	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 1010220, python-pylint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-31 20:05:48 UTC (rev 1010221)
@@ -0,0 +1,54 @@
+# 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.10.2
+pkgrel=2
+pkgdesc='Analyzes Python code looking for bugs and signs of poor quality'
+arch=(any)
+url=https://pylint.org
+license=(GPL)
+depends=(python
+         python-astroid
+         python-isort
+         python-platformdirs)
+makedepends=(python-setuptools
+             python-sphinx)
+checkdepends=(mpdecimal
+              python-mccabe
+              python-toml
+              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/pylint-$pkgver.tar.gz")
+sha256sums=('639254a0ef06dacfcfb27ce01bc3b1ddf27dbe702ba0685ae0286e0d02ff9194')
+
+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"
+	export PYTHONHASHSEED=0
+	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