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

Felix Yan felixonmars at archlinux.org
Fri Dec 22 06:51:56 UTC 2017


    Date: Friday, December 22, 2017 @ 06:51:55
  Author: felixonmars
Revision: 275403

upgpkg: python-raven 6.4.0-1

Modified:
  python-raven/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-22 06:50:27 UTC (rev 275402)
+++ PKGBUILD	2017-12-22 06:51:55 UTC (rev 275403)
@@ -4,7 +4,7 @@
 
 pkgbase=python-raven
 pkgname=(python-raven python2-raven)
-pkgver=6.3.0
+pkgver=6.4.0
 pkgrel=1
 pkgdesc="Python client for Sentry"
 arch=('any')
@@ -23,12 +23,9 @@
               'python-flask-login' 'python2-flask-login' 'python-pytest-timeout'
               'python2-pytest-timeout' 'python-zconfig' 'python2-zconfig')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/getsentry/raven-python/archive/$pkgver.tar.gz")
-sha512sums=('e8708206d3840ca087b9428d5243306be83c4a8d59a9f32d53dc7e1a931c647410a37a2aa5bd0853e30e41137f0a318f5c509a5fd3b8c8815ccb126d65a04458')
+sha512sums=('c7c1a68c8634e428c1958a4162f2470385cc2451a65d38c852539ad0c0dc650848c6dcd8dec7cbfde5bd0a34a3965b79029e64772c2c9ce4a6e37190f62b7f3e')
 
 prepare() {
-  # Remove in next version
-  sed -i '/recursive-include/a recursive-include raven/contrib/zconfig *.xml' raven-python-$pkgver/MANIFEST.in
-
   cp -a raven-python-$pkgver{,-py2}
 }
 
@@ -42,16 +39,17 @@
 
 check() {
   # Hack distribution check by installing it
+  # "-p no:logging": https://github.com/getsentry/raven-python/issues/1164
 
   cd "$srcdir"/raven-python-$pkgver
   python setup.py install --root="$PWD/tmp_install" --optimize=1
   PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH" \
-    py.test tests
+    py.test -p no:logging tests
 
-  cd "$srcdir"/raven-python-$pkgver
+  cd "$srcdir"/raven-python-$pkgver-py2
   python2 setup.py install --root="$PWD/tmp_install" --optimize=1
   PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" \
-    py.test2 tests
+    py.test2 -p no:logging tests
 }
 
 package_python-raven() {



More information about the arch-commits mailing list