Date: Tuesday, July 3, 2018 @ 10:53:08
  Author: foutrelis
Revision: 350801

upgpkg: python-pytest-isort 0.2.0-1

Modified:
  python-pytest-isort/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-07-03 10:52:54 UTC (rev 350800)
+++ PKGBUILD    2018-07-03 10:53:08 UTC (rev 350801)
@@ -4,7 +4,6 @@
 pkgbase=python-pytest-isort
 pkgname=('python-pytest-isort' 'python2-pytest-isort')
 pkgver=0.2.0
-_commit=86363b59c1c9de7b3c03362971d942e627c06a28
 pkgrel=1
 pkgdesc='pytest plugin to perform isort checks (import ordering)'
 arch=('any')
@@ -11,7 +10,7 @@
 license=('BSD')
 url='https://github.com/moccu/pytest-isort'
 makedepends=('python-pytest-cache' 'python2-pytest-cache' 'python-isort' 
'python2-isort' 'git')
-source=("git+https://github.com/moccu/pytest-isort#commit=$_commit";)
+source=("git+https://github.com/moccu/pytest-isort#tag=$pkgver";)
 sha512sums=('SKIP')
 
 prepare() {
@@ -31,11 +30,11 @@
 
   cd "$srcdir"/pytest-isort
   python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH" 
py.test || warning "Tests failed"
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH" 
py.test
 
   cd "$srcdir"/pytest-isort-py2
   python2 setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" 
py.test2 || warning "Tests failed"
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" 
py.test2
 }
 
 package_python-pytest-isort() {

Reply via email to