Update to 1.12.2 (#1677888)

Allow all tests on ppc64le (#1552724)
This commit is contained in:
Miro Hrončok 2019-03-27 13:01:30 +01:00
parent 9a2d51a4a1
commit 824bcda4e7
3 changed files with 11 additions and 14 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@
/cffi-1.11.0.tar.gz
/cffi-1.11.2.tar.gz
/cffi-1.11.5.tar.gz
/cffi-1.12.2.tar.gz

View File

@ -1,10 +1,10 @@
Name: python-cffi
Version: 1.11.5
Release: 7%{?dist}
Version: 1.12.2
Release: 1%{?dist}
Summary: Foreign Function Interface for Python to call C code
License: MIT
URL: http://cffi.readthedocs.org/
Source0: %pypi_source cffi
URL: https://cffi.readthedocs.org/
Source0: %{pypi_source cffi}
BuildRequires: libffi-devel
BuildRequires: gcc
@ -73,15 +73,8 @@ rm build/html/.buildinfo
%py3_install
%check
# https://bugzilla.redhat.com/show_bug.cgi?id=1552724
%ifarch ppc64le
k="not test_float and not test_complex_types"
%else
k=""
%endif
PYTHONPATH=%{buildroot}%{python2_sitearch} %{__python2} -m pytest -k "$k" c/ testing/
PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest -k "$k" c/ testing/
PYTHONPATH=%{buildroot}%{python2_sitearch} %{__python2} -m pytest c/ testing/
PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest c/ testing/
%files -n python2-cffi
%doc PKG-INFO
@ -101,6 +94,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest -k "$k" c/ tes
%doc doc/build/html
%changelog
* Wed Mar 27 2019 Miro Hrončok <mhroncok@redhat.com> - 1.12.2-1
- Update to 1.12.2 (#1677888)
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.5-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (cffi-1.11.5.tar.gz) = 6770d5293cfd7405e733d60c96655641b5bcc5878fc66a737f4a8308f465d459ee0e3fcaa47893d8f57fb195e5534dd7e4728c868f33d7e657688f45e1fb1880
SHA512 (cffi-1.12.2.tar.gz) = af4fe47cf5d6f1126222898365cfa21e9f11d0e71b87d869014dbb37af30dca9ddf50c989030d0f610f50e8099e8dfd08a688d8c3629abbcc4f0294f5f91b817