]> git.pld-linux.org Git - packages/python-cffi.git/blobdiff - python-cffi.spec
- release 2 (by relup.sh)
[packages/python-cffi.git] / python-cffi.spec
index 592de310c0e3114f03da97446495472fe4920df7..3ae28290e2ff9527e2fd8c03e9597d61e6c99f8c 100644 (file)
@@ -1,4 +1,3 @@
-# TODO: examine test_thread.py failures and remove --ignore from py.test invocations
 #
 # Conditional build:
 %bcond_without python2 # CPython 2.x module
@@ -9,14 +8,13 @@
 Summary:       Foreign Function Interface for Python 2 calling C code
 Summary(pl.UTF-8):     Interfejs funkcji obcych (FFI) dla Pythona 2 wywołującego kod w C
 Name:          python-cffi
-Version:       1.11.5
-Release:       1
+Version:       1.14.4
+Release:       2
 License:       MIT
 Group:         Libraries/Python
 #Source0Download: https://pypi.org/simple/cffi/
 Source0:       https://files.pythonhosted.org/packages/source/c/cffi/cffi-%{version}.tar.gz
-# Source0-md5: ac8492f4ad952360737413e82d661908
-Patch0:                %{name}-tests.patch
+# Source0-md5: ad3d8537b1516bad6bcdc36c458788be
 URL:           http://cffi.readthedocs.org/
 BuildRequires: libffi-devel >= 3
 BuildRequires: pkgconfig
@@ -96,15 +94,14 @@ Dokumentacja API modułu Pythona CFFI.
 
 %prep
 %setup -q -n cffi-%{version}
-%patch0 -p1
 
 %build
 %if %{with python2}
 %py_build
 
 %if %{with tests}
-PYTHONPATH=$(echo build-2/lib.linux-*) \
-py.test-2 --ignore=testing/embedding/test_thread.py c testing
+PYTHONPATH=$(pwd):$(echo $(pwd)/build-2/lib.linux-*) \
+py.test-2 c testing
 %endif
 %endif
 
@@ -112,8 +109,8 @@ py.test-2 --ignore=testing/embedding/test_thread.py c testing
 %py3_build
 
 %if %{with tests}
-PYTHONPATH=$(echo build-3/lib.linux-*) \
-py.test-3 --ignore=testing/embedding/test_thread.py c testing
+PYTHONPATH=$(pwd):$(echo $(pwd)/build-3/lib.linux-*) \
+py.test-3 c testing
 %endif
 %endif
 
This page took 0.070069 seconds and 4 git commands to generate.