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

Felix Yan felixonmars at gemini.archlinux.org
Tue Jul 27 06:37:49 UTC 2021


    Date: Tuesday, July 27, 2021 @ 06:37:49
  Author: felixonmars
Revision: 420445

archrelease: copy trunk to extra-any

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

----------+
 PKGBUILD |   77 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-27 06:37:37 UTC (rev 420444)
+++ PKGBUILD	2021-07-27 06:37:49 UTC (rev 420445)
@@ -1,38 +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.7.4
-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')
-checkdepends=('mpdecimal')
-optdepends=('tk: Pylint GUI'
-            'graphviz: To have other output formats than dot or vcg')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz")
-sha512sums=('3ca73bac41bc84ad4277fa48e7b23de2eba717ef52787bd091fc681cbba748095cbe4e6b79f5518aaf2a6a7f03c86880b2e72e1b0da7afcfdf78dde37584144f')
-
-build() {
-  cd pylint-pylint-$pkgver
-  python setup.py build
-}
-
-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 man/* "$pkgdir"/usr/share/man/man1
-}

Copied: python-pylint/repos/extra-any/PKGBUILD (from rev 420444, python-pylint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-07-27 06:37:49 UTC (rev 420445)
@@ -0,0 +1,39 @@
+# 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.0
+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=('d4f6b6c6046265beb0e17b8d375d2604a889bf9b6569d4dae9cdec3f92c8c76d440f6527c9d42f7197a73d4a65fab73f57e5ab99c98d40681119eb051b117211')
+
+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
+}



More information about the arch-commits mailing list