Date: Tuesday, March 3, 2015 @ 18:44:48
  Author: fyan
Revision: 232489

upgpkg: python-cffi 0.9.0-1

Modified:
  python-cffi/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2015-03-03 16:56:40 UTC (rev 232488)
+++ PKGBUILD    2015-03-03 17:44:48 UTC (rev 232489)
@@ -1,11 +1,11 @@
 # $Id$
-# Maintainer: Felix Yan <felixonm...@gmail.com>
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
 # Contributor: lilydjwg <lilyd...@gmail.com>
 
 _name=cffi
 pkgbase=python-$_name
 pkgname=(python-$_name python2-$_name)
-pkgver=0.8.6
+pkgver=0.9.0
 pkgrel=1
 pkgdesc="Foreign Function Interface for Python calling C code"
 arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@
 makedepends=('python-setuptools' 'python2-setuptools' 'python-pycparser' 
'python2-pycparser')
 checkdepends=('python-pytest' 'python2-pytest')
 
source=("http://pypi.python.org/packages/source/c/${_name}/${_name}-${pkgver}.tar.gz";)
-sha512sums=('b913d459bf0d355f0cb42fa0587a940c227d6765450033b14ab4d5281173cd1875cd6872911bb4f0b567cc1c5b0ca330615ec5f6ba205b25c41b683ae8c77790')
+sha512sums=('76e242a4bc847607488ec20d89a717f490c19e5eff6b76f44d284557926a5181d99050d625a64c523081e850e399fd39a78906773b6c692b2a6efbc113c1a735')
 
 prepare() {
   cp -a $_name-$pkgver{,-py2}
@@ -29,11 +29,13 @@
 }
 
 check() {
+  # -x c testing should be removed on next release
+  # https://bitbucket.org/cffi/cffi/issue/184/09-failed-tests-in-python-3
   cd "$srcdir/$_name-$pkgver"
-  PYTHONPATH="$(pwd)/build/lib.linux-$CARCH-3.4:$PYTHONPATH" py.test
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.4:$PYTHONPATH" py.test -x c testing
 
   cd "$srcdir/$_name-$pkgver-py2"
-  PYTHONPATH="$(pwd)/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2 -x c 
testing
 }
 
 package_python-cffi() {

Reply via email to