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

Felix Yan fyan at archlinux.org
Tue Sep 22 05:37:15 UTC 2015


    Date: Tuesday, September 22, 2015 @ 07:37:14
  Author: fyan
Revision: 141443

upgpkg: python-raven 5.7.2-2

rebuild for python 3.5

Modified:
  python-raven/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-22 05:32:34 UTC (rev 141442)
+++ PKGBUILD	2015-09-22 05:37:14 UTC (rev 141443)
@@ -5,7 +5,7 @@
 pkgbase=python-raven
 pkgname=(python-raven python2-raven)
 pkgver=5.7.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Python client for Sentry."
 arch=(any)
 url="http://pypi.python.org/pypi/raven"
@@ -20,7 +20,7 @@
               'python-webtest' 'python2-webtest' 'python-anyjson' 'python2-anyjson'
               'python-flask' 'python2-flask' 'python-blinker' 'python2-blinker'
               'python-logbook' 'python2-logbook' 'python-pytest-django' 'python2-pytest-django'
-              'python2-webpy')
+              'python2-webpy' 'python-flask-login' 'python2-flask-login')
 source=("git+https://github.com/getsentry/raven-python.git#tag=$pkgver")
 md5sums=('SKIP')
 
@@ -36,20 +36,20 @@
   python2 setup.py build
 }
 
-check() {
+check() {(
   # Hack distribution check by installing it
 
   cd "$srcdir/raven-python"
-  # Expected failures: No Python 3 package for flask-login.
   python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.4/site-packages:$PYTHONPATH" \
-    py.test tests || warning "Tests failed"
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.5/site-packages:$PYTHONPATH" \
+    py.test tests
 
   cd "$srcdir/raven-python"
-  # Expected failures: No Python 2 package for flask-login.
   python2 setup.py install --root="$PWD/tmp_install" --optimize=1
   PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" \
-    py.test tests || warning "Tests failed"
+    py.test tests
+  ) || warning "Tests failed"
+  # pytest-django doesn't work with pytest 2.8
 }
 
 package_python-raven() {



More information about the arch-commits mailing list