]> git.pld-linux.org Git - packages/python-cffi.git/blobdiff - python-cffi.spec
rebuild with separate debuginfo build-ids
[packages/python-cffi.git] / python-cffi.spec
index 592de310c0e3114f03da97446495472fe4920df7..0718b1c8673ee1505b2461863a9365a2fb2b214f 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:       4
 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
@@ -84,9 +82,7 @@ Ten pakiet zawiera moduł Pythona 3.
 Summary:       API documentation for Python CFFI module
 Summary(pl.UTF-8):     Dokumentacja API modułu Pythona CFFI
 Group:         Documentation
-%if "%{_rpmversion}" >= "5"
 BuildArch:     noarch
-%endif
 
 %description apidocs
 API documentation for Python CFFI module.
@@ -96,15 +92,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 +107,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.216831 seconds and 4 git commands to generate.