Date: Tuesday, March 22, 2016 @ 04:40:09
  Author: fyan
Revision: 262214

upgpkg: python-astroid 1.4.5-1

Modified:
  python-astroid/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-03-22 00:42:48 UTC (rev 262213)
+++ PKGBUILD    2016-03-22 03:40:09 UTC (rev 262214)
@@ -4,7 +4,7 @@
 
 pkgbase=python-astroid
 pkgname=('python2-astroid' 'python-astroid')
-pkgver=1.4.4
+pkgver=1.4.5
 pkgrel=1
 pkgdesc="Useful miscellaneous modules used by Logilab projects"
 arch=('any')
@@ -12,7 +12,7 @@
 license=('LGPL')
 makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 
'python2-six' 'git'
              'python-lazy-object-proxy' 'python2-lazy-object-proxy' 
'python-wrapt' 'python2-wrapt'
-             'python2-singledispatch')
+             'python2-singledispatch' 'python2-enum34')
 source=("git+https://github.com/PyCQA/astroid.git#tag=astroid-$pkgver";)
 sha1sums=('SKIP')
 
@@ -21,18 +21,18 @@
 }
 
 build() {
-  cd astroid
+  cd "$srcdir"/astroid
   python setup.py build
 
-  cd ../astroid-py2
+  cd "$srcdir"/astroid-py2
   python2 setup.py build
 }
 
 check() {
-  cd astroid
+  cd "$srcdir"/astroid
   PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -Wi -m unittest discover -s 
build/lib/astroid/tests -p "unittest*.py"
 
-  cd ../astroid-py2
+  cd "$srcdir"/astroid-py2
   PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -Wi -m unittest discover -s 
build/lib/astroid/tests -p "unittest*.py" || warning "Tests failed"
 }
 
@@ -43,15 +43,15 @@
 
   cd astroid
 
-  python setup.py install --optimize=1 --skip-build --prefix=/usr 
--root="${pkgdir}"
+  python setup.py install --optimize=1 --skip-build --prefix=/usr 
--root="$pkgdir"
 }
 
 package_python2-astroid() {
-  depends=('python2-six' 'python2-lazy-object-proxy' 'python2-wrapt' 
'python2-singledispatch')
+  depends=('python2-six' 'python2-lazy-object-proxy' 'python2-wrapt' 
'python2-singledispatch' 'python2-enum34')
   replaces=('python2-logilab-astng')
   conflicts=('python2-logilab-astng')
 
   cd astroid-py2
 
-  python2 setup.py install --optimize=1 --skip-build --prefix=/usr 
--root="${pkgdir}"
+  python2 setup.py install --optimize=1 --skip-build --prefix=/usr 
--root="$pkgdir"
 }

Reply via email to