[arch-commits] Commit in python-astroid/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu May 17 06:34:43 UTC 2018


    Date: Thursday, May 17, 2018 @ 06:34:42
  Author: felixonmars
Revision: 324413

upgpkg: python-astroid 1.6.4-1

Modified:
  python-astroid/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-17 06:33:03 UTC (rev 324412)
+++ PKGBUILD	2018-05-17 06:34:42 UTC (rev 324413)
@@ -4,7 +4,7 @@
 
 pkgbase=python-astroid
 pkgname=('python2-astroid' 'python-astroid')
-pkgver=1.6.3
+pkgver=1.6.4
 pkgrel=1
 pkgdesc="Useful miscellaneous modules used by Logilab projects"
 arch=('any')
@@ -16,7 +16,7 @@
 checkdepends=('python-dateutil' 'python2-dateutil' 'python-pytest' 'python2-pytest' 'python-numpy'
               'python2-numpy' 'python-nose' 'python2-nose')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/astroid/archive/astroid-$pkgver.tar.gz")
-sha512sums=('e8c1a7c9529df21e00a2c405fd9c34939f0a4d1ec777e3fb39dbf2430c5414408a879ba8c0703c6383064a78670cbf4c4231ba490fb5e92928fc633274e4023c')
+sha512sums=('fce442f1b622a54e3b4c4f7b4bd36f3d161990cbc276cfddc7307fd4840f40024d974ba8f20c24f77aeb1577650e65800d3931b9224429694bc9d7ae684ffe26')
 
 prepare() {
   cp -a astroid-astroid-$pkgver{,-py2}
@@ -32,9 +32,7 @@
 
 check() {
   cd "$srcdir"/astroid-astroid-$pkgver
-  python -c "from astroid import __pkginfo__; print(__pkginfo__.version)"
-  # https://github.com/PyCQA/astroid/issues/472
-  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" -v || warning "Tests failed"
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" -v
 
   cd "$srcdir"/astroid-astroid-$pkgver-py2
   PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s build/lib/astroid/tests -p "unittest*.py" -v



More information about the arch-commits mailing list