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

Felix Yan felixonmars at archlinux.org
Tue Nov 27 13:56:10 UTC 2018


    Date: Tuesday, November 27, 2018 @ 13:56:09
  Author: felixonmars
Revision: 340431

archrelease: copy trunk to testing-any

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

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-27 13:55:50 UTC (rev 340430)
+++ PKGBUILD	2018-11-27 13:56:09 UTC (rev 340431)
@@ -1,46 +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.2.0
-pkgrel=1
-pkgdesc="Analyzes Python code looking for bugs and signs of poor quality"
-arch=('any')
-url="http://pylint.org"
-license=('GPL')
-depends=('python-astroid' 'python-setuptools' 'python-mccabe' 'python-isort')
-checkdepends=('python-pytest-runner' '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=('20a7abc08c73981618f1d2162daae780291b39a186f64ad871a761d59f164efd9ef8cedd6c3f904cae71b7d72040a7efe7d529d693294f4d886046160f06073d')
-
-prepare() {
-  sed -i 's/pytest<3.3/pytest/' pylint-pylint-$pkgver/setup.py
-
-  cd "$srcdir"/pylint-pylint-$pkgver/pylint
-  sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript
-}
-
-build() {
-  cd "$srcdir"/pylint-pylint-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd "$srcdir"/pylint-pylint-$pkgver
-  # https://github.com/PyCQA/pylint/issues/2288
-  python setup.py pytest || warning "Tests failed"
-}
-
-package() {
-  depends=('python-astroid' 'python-setuptools' 'python-mccabe' 'python-isort')
-
-  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/testing-any/PKGBUILD (from rev 340430, python-pylint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-27 13:56:09 UTC (rev 340431)
@@ -0,0 +1,46 @@
+# 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.2.1
+pkgrel=1
+pkgdesc="Analyzes Python code looking for bugs and signs of poor quality"
+arch=('any')
+url="http://pylint.org"
+license=('GPL')
+depends=('python-astroid' 'python-setuptools' 'python-mccabe' 'python-isort')
+checkdepends=('python-pytest-runner' '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=('9e556df190344206deb9494ffa806afb818977b0095ed92b8b5c439f1f70e7177909f0ae7521e25f477dcda58c7c070c58b125e90856fbe3a722b7808ccb6c21')
+
+prepare() {
+  sed -i 's/pytest<3.3/pytest/' pylint-pylint-$pkgver/setup.py
+
+  cd "$srcdir"/pylint-pylint-$pkgver/pylint
+  sed -e "s|/usr/bin/env python|/usr/bin/env python3|" -e "s|/usr/bin/python$|/usr/bin/python3|" -i epylint.py __main__.py test/input/noext test/data/ascript
+}
+
+build() {
+  cd "$srcdir"/pylint-pylint-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/pylint-pylint-$pkgver
+  # https://github.com/PyCQA/pylint/issues/2288
+  python setup.py pytest || warning "Tests failed"
+}
+
+package() {
+  depends=('python-astroid' 'python-setuptools' 'python-mccabe' 'python-isort')
+
+  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