[arch-commits] Commit in python-pylint/trunk (PKGBUILD)

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


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

upgpkg: python-pylint 2.8.0-1

Modified:
  python-pylint/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-27 06:16:08 UTC (rev 420443)
+++ PKGBUILD	2021-07-27 06:37:37 UTC (rev 420444)
@@ -4,7 +4,7 @@
 # Contributor: Alexander Fehr <pizzapunk gmail com>
 
 pkgname=python-pylint
-pkgver=2.7.4
+pkgver=2.8.0
 pkgrel=1
 pkgdesc="Analyzes Python code looking for bugs and signs of poor quality"
 arch=('any')
@@ -11,16 +11,17 @@
 url="https://pylint.org"
 license=('GPL')
 depends=('python-astroid' 'python-mccabe' 'python-isort' 'python-setuptools' 'python-toml')
-makedepends=('python-pytest-runner' 'python-pytest-benchmark')
+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=("$pkgname-$pkgver.tar.gz::https://github.com/PyCQA/pylint/archive/pylint-$pkgver.tar.gz")
-sha512sums=('3ca73bac41bc84ad4277fa48e7b23de2eba717ef52787bd091fc681cbba748095cbe4e6b79f5518aaf2a6a7f03c86880b2e72e1b0da7afcfdf78dde37584144f')
+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() {
@@ -34,5 +35,5 @@
   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
+  install -m644 doc/_build/man/* "$pkgdir"/usr/share/man/man1
 }



More information about the arch-commits mailing list