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

Felix Yan felixonmars at gemini.archlinux.org
Fri Aug 6 15:31:55 UTC 2021


    Date: Friday, August 6, 2021 @ 15:31:55
  Author: felixonmars
Revision: 421177

archrelease: copy trunk to extra-any

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

----------+
 PKGBUILD |   80 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 41 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-06 15:31:47 UTC (rev 421176)
+++ PKGBUILD	2021-08-06 15:31:55 UTC (rev 421177)
@@ -1,39 +0,0 @@
-# Maintainer: Angel Velasquez <angvp at archlinux.org>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
-# Contributor: Alexander Fehr <pizzapunk gmail com>
-
-pkgname=python-pylint
-pkgver=2.8.1
-pkgrel=1
-pkgdesc="Analyzes Python code looking for bugs and signs of poor quality"
-arch=('any')
-url="https://pylint.org"
-license=('GPL')
-depends=('python-astroid' 'python-mccabe' 'python-isort' 'python-setuptools' 'python-toml')
-makedepends=('python-pytest-runner' 'python-pytest-benchmark' 'python-sphinx')
-checkdepends=('mpdecimal')
-optdepends=('tk: Pylint GUI'
-            'graphviz: To have other output formats than dot or vcg')
-source=("https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz")
-sha512sums=('ec8710396f07cdec8a395748ffda403a1f3fbd00094a1ad32e976c52be946c08b9e32521205dc165a0284467c68d9f467be40d141907bcd148b94e285eeca606')
-
-build() {
-  cd pylint-pylint-$pkgver
-  python setup.py build
-  make PYTHONPATH="$PWD/build/lib" -C doc man
-}
-
-check() {
-  cd pylint-pylint-$pkgver
-  # https://github.com/PyCQA/pylint/issues/3895
-  python setup.py pytest || echo "Tests failed"
-}
-
-package() {
-  cd pylint-pylint-$pkgver
-  python setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1
-
-  install -d "$pkgdir"/usr/share/man/man1
-  install -m644 doc/_build/man/* "$pkgdir"/usr/share/man/man1
-}

Copied: python-pylint/repos/extra-any/PKGBUILD (from rev 421176, python-pylint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-06 15:31:55 UTC (rev 421177)
@@ -0,0 +1,41 @@
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+pkgname=python-pylint
+pkgver=2.8.2
+pkgrel=1
+pkgdesc="Analyzes Python code looking for bugs and signs of poor quality"
+arch=('any')
+url="https://pylint.org"
+license=('GPL')
+depends=('python-astroid' 'python-mccabe' 'python-isort' 'python-setuptools' 'python-toml')
+makedepends=('python-pytest-runner' 'python-pytest-benchmark' 'python-setuptools-scm'
+             'python-sphinx')
+checkdepends=('mpdecimal')
+optdepends=('tk: Pylint GUI'
+            'graphviz: To have other output formats than dot or vcg')
+source=("https://github.com/PyCQA/pylint/archive/v$pkgver/pylint-$pkgver.tar.gz")
+sha512sums=('7023603668f540ecc0b35f3289377855c4c0df01e04a9af255f5c8031f568f6b76508bb3a7f0aba8e76a86b63eae423908c30f47258d6dee46bb23320c952701')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd pylint-$pkgver
+  python setup.py build
+  make PYTHONPATH="$PWD/build/lib" -C doc man
+}
+
+check() {
+  cd pylint-$pkgver
+  python setup.py pytest || echo "Tests failed"
+}
+
+package() {
+  cd pylint-$pkgver
+  python setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1
+
+  install -d "$pkgdir"/usr/share/man/man1
+  install -m644 doc/_build/man/* "$pkgdir"/usr/share/man/man1
+}



More information about the arch-commits mailing list