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

Evangelos Foutras foutrelis at archlinux.org
Sun Nov 3 21:51:18 UTC 2019


    Date: Sunday, November 3, 2019 @ 21:51:18
  Author: foutrelis
Revision: 366604

archrelease: copy trunk to staging-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-03 21:51:14 UTC (rev 366603)
+++ PKGBUILD	2019-11-03 21:51:18 UTC (rev 366604)
@@ -1,47 +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.3.1
-pkgrel=2
-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 366603, python-pylint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-03 21:51:18 UTC (rev 366604)
@@ -0,0 +1,47 @@
+# 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.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
+}



More information about the arch-commits mailing list