[arch-commits] Commit in (python2-pylint)

2020-07-12 Thread Jelle van der Waa via arch-commits
Date: Sunday, July 12, 2020 @ 11:15:14
  Author: jelle
Revision: 391744

Remove unused python2-pylint

Deleted:
  python2-pylint/


[arch-commits] Commit in python2-pylint/repos (extra-any extra-any/PKGBUILD)

2020-03-20 Thread Felix Yan via arch-commits
Date: Friday, March 20, 2020 @ 17:59:24
  Author: felixonmars
Revision: 378016

archrelease: copy trunk to extra-any

Added:
  python2-pylint/repos/extra-any/
  python2-pylint/repos/extra-any/PKGBUILD
(from rev 378015, python2-pylint/trunk/PKGBUILD)

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

Copied: python2-pylint/repos/extra-any/PKGBUILD (from rev 378015, 
python2-pylint/trunk/PKGBUILD)
===
--- extra-any/PKGBUILD  (rev 0)
+++ extra-any/PKGBUILD  2020-03-20 17:59:24 UTC (rev 378016)
@@ -0,0 +1,53 @@
+# Maintainer: Angel Velasquez 
+# Maintainer: Felix Yan 
+# Contributor: Stéphane Gaudreault 
+# Contributor: Alexander Fehr 
+
+pkgname=python2-pylint
+pkgver=1.9.5
+pkgrel=1
+pkgdesc="Analyzes Python code looking for bugs and signs of poor quality"
+arch=('any')
+url="https://pylint.org;
+license=('GPL')
+depends=('python2-astroid' 'python2-setuptools' 'python2-mccabe' 
'python2-isort'
+ 'python2-backports.functools_lru_cache' 'python2-configparser' 
'python2-singledispatch')
+checkdepends=('python2-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=('0ba1feabd21617de5dbfdd98a73fb285fb3e4c19afd77ecc21807a762335ebb4250edeea89d6ec14178ed9e154ca7471b0ab65f0bd3cbde2b318b1125441beb5')
+
+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 python2|" -e 
"s|/usr/bin/python$|/usr/bin/python2|" -i epylint.py __main__.py 
test/input/noext test/data/ascript
+}
+
+build() {
+  cd "$srcdir"/pylint-pylint-$pkgver
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/pylint-pylint-$pkgver
+  python2 setup.py pytest
+}
+
+package() {
+  depends=('python2-astroid' 'python2-setuptools' 'python2-mccabe' 
'python2-isort'
+   'python2-backports.functools_lru_cache' 'python2-configparser' 
'python2-singledispatch')
+
+  cd pylint-pylint-$pkgver
+
+  python2 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
+
+  for _exe in epylint pylint pyreverse symilar; do
+ mv "$pkgdir"/usr/bin/${_exe}{,2}
+ mv "$pkgdir"/usr/share/man/man1/${_exe}{,2}.1
+  done
+}


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

2020-03-20 Thread Felix Yan via arch-commits
Date: Friday, March 20, 2020 @ 17:59:12
  Author: felixonmars
Revision: 378015

upgpkg: python2-pylint 1.9.5-1

Modified:
  python2-pylint/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-20 17:49:43 UTC (rev 378014)
+++ PKGBUILD2020-03-20 17:59:12 UTC (rev 378015)
@@ -4,7 +4,7 @@
 # Contributor: Alexander Fehr 
 
 pkgname=python2-pylint
-pkgver=1.9.2
+pkgver=1.9.5
 pkgrel=1
 pkgdesc="Analyzes Python code looking for bugs and signs of poor quality"
 arch=('any')
@@ -16,7 +16,7 @@
 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=('5b2f7f00c7ff2ca5e53a9bb616f314a8f1460ec1acd8123407bc73c23a26502d1adb6cffad8020f0c3d9964adf316929fd159c5720f019c5ce6aa8cdc791955d')
+sha512sums=('0ba1feabd21617de5dbfdd98a73fb285fb3e4c19afd77ecc21807a762335ebb4250edeea89d6ec14178ed9e154ca7471b0ab65f0bd3cbde2b318b1125441beb5')
 
 prepare() {
   sed -i 's/pytest<3.3/pytest/' pylint-pylint-$pkgver/setup.py


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

2019-05-26 Thread Antonio Rojas via arch-commits
Date: Sunday, May 26, 2019 @ 21:04:15
  Author: arojas
Revision: 354341

https

Modified:
  python2-pylint/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-05-26 21:03:44 UTC (rev 354340)
+++ PKGBUILD2019-05-26 21:04:15 UTC (rev 354341)
@@ -8,7 +8,7 @@
 pkgrel=1
 pkgdesc="Analyzes Python code looking for bugs and signs of poor quality"
 arch=('any')
-url="http://pylint.org;
+url="https://pylint.org;
 license=('GPL')
 depends=('python2-astroid' 'python2-setuptools' 'python2-mccabe' 
'python2-isort'
  'python2-backports.functools_lru_cache' 'python2-configparser' 
'python2-singledispatch')