Date: Wednesday, November 6, 2019 @ 10:06:53
  Author: felixonmars
Revision: 366841

archrelease: copy trunk to staging-any

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

----------+
 PKGBUILD |   91 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 44 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2019-11-06 10:06:39 UTC (rev 366840)
+++ PKGBUILD    2019-11-06 10:06:53 UTC (rev 366841)
@@ -1,47 +0,0 @@
-# Maintainer: Angel Velasquez <[email protected]>
-# Maintainer: Felix Yan <[email protected]>
-# Contributor: Stéphane Gaudreault <[email protected]>
-# Contributor: Alexander Fehr <pizzapunk gmail com>
-
-pkgname=python-pylint
-pkgver=2.3.1
-pkgrel=3
-pkgdesc="Analyzes Python code looking for bugs and signs of poor quality"
-arch=('any')
-url="https://pylint.org";
-license=('GPL')
-depends=('python-astroid' 'python-setuptools' 'python-mccabe' 'python-isort')
-makedepends=('python-pytest-runner')
-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=('9f3081325f6486e1e9c57cf68c3b81b35f34cdda9839ddc566f732989e06821c64713dc61b21bcc5177fb73fa7fb5ee626b53fcdb7eef620ff4620115e59b4cf')
-
-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/staging-any/PKGBUILD (from rev 366840, 
python-pylint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2019-11-06 10:06:53 UTC (rev 366841)
@@ -0,0 +1,44 @@
+# Maintainer: Angel Velasquez <[email protected]>
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Stéphane Gaudreault <[email protected]>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+pkgname=python-pylint
+pkgver=2.4.3
+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-setuptools' 'python-mccabe' 'python-isort')
+makedepends=('python-pytest-runner')
+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=('ab1bcb7e51d0e6afd9f20e928bc93f75464b3b370e5dadb17f52090a4cab6639c904d063617bc076ce5e65143432cd7e41e36075a8df213237bfea7ac8a67b0a')
+
+prepare() {
+  sed -i 's/pytest<3.3/pytest/' pylint-pylint-$pkgver/setup.py
+}
+
+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
+}

Reply via email to