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

Felix Yan felixonmars at archlinux.org
Tue Sep 1 21:47:28 UTC 2020


    Date: Tuesday, September 1, 2020 @ 21:47:28
  Author: felixonmars
Revision: 395113

archrelease: copy trunk to testing-any

Added:
  python-pylint/repos/testing-any/
  python-pylint/repos/testing-any/PKGBUILD
    (from rev 395112, python-pylint/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: python-pylint/repos/testing-any/PKGBUILD (from rev 395112, python-pylint/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2020-09-01 21:47:28 UTC (rev 395113)
@@ -0,0 +1,37 @@
+# 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.6.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')
+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=('8e42ae71b407bd926d3dba51a377016c93139777d6dfdd06e70a293e94ef78d1c0d59daa63fb6bab29f20eb5adc99ec808fc3dd0ed15718722b7da29923ece74')
+
+build() {
+  cd pylint-pylint-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pylint-pylint-$pkgver
+  python setup.py pytest
+}
+
+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
+}



More information about the arch-commits mailing list