2013-07-25 15:52:37 +00:00
|
|
|
|
Name: python-cffi
|
2021-02-12 12:20:44 +00:00
|
|
|
|
Version: 1.14.5
|
2021-06-02 22:44:05 +00:00
|
|
|
|
Release: 2%{?dist}
|
2013-07-25 15:52:37 +00:00
|
|
|
|
Summary: Foreign Function Interface for Python to call C code
|
2015-06-16 14:52:34 +00:00
|
|
|
|
License: MIT
|
2019-03-27 12:01:30 +00:00
|
|
|
|
URL: https://cffi.readthedocs.org/
|
|
|
|
|
Source0: %{pypi_source cffi}
|
2013-07-25 15:52:37 +00:00
|
|
|
|
|
2021-01-08 19:46:10 +00:00
|
|
|
|
BuildRequires: make
|
2018-08-22 19:08:15 +00:00
|
|
|
|
BuildRequires: libffi-devel
|
|
|
|
|
BuildRequires: gcc
|
2013-07-25 15:52:37 +00:00
|
|
|
|
|
2018-08-22 19:08:15 +00:00
|
|
|
|
# For tests:
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
|
|
|
|
|
%?python_enable_dependency_generator
|
2013-07-25 15:52:37 +00:00
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Foreign Function Interface for Python, providing a convenient and
|
|
|
|
|
reliable way of calling existing C code from Python. The interface is
|
|
|
|
|
based on LuaJIT’s FFI.
|
|
|
|
|
|
|
|
|
|
%package -n python3-cffi
|
|
|
|
|
Summary: Foreign Function Interface for Python 3 to call C code
|
2018-08-22 19:08:15 +00:00
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-pycparser
|
2016-01-11 19:51:29 +00:00
|
|
|
|
%{?python_provide:%python_provide python3-cffi}
|
2013-07-25 15:52:37 +00:00
|
|
|
|
|
|
|
|
|
%description -n python3-cffi
|
|
|
|
|
Foreign Function Interface for Python, providing a convenient and
|
|
|
|
|
reliable way of calling existing C code from Python. The interface is
|
|
|
|
|
based on LuaJIT’s FFI.
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
Summary: Documentation for CFFI
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
Documentation for CFFI, the Foreign Function Interface for Python.
|
|
|
|
|
|
|
|
|
|
%prep
|
2019-03-28 11:06:27 +00:00
|
|
|
|
%autosetup -p1 -n cffi-%{version}
|
2013-07-25 15:52:37 +00:00
|
|
|
|
|
|
|
|
|
%build
|
2017-01-06 22:39:00 +00:00
|
|
|
|
%py3_build
|
2013-07-25 15:52:37 +00:00
|
|
|
|
|
|
|
|
|
cd doc
|
2018-08-22 19:08:15 +00:00
|
|
|
|
make SPHINXBUILD=sphinx-build-3 html
|
2013-07-25 15:52:37 +00:00
|
|
|
|
rm build/html/.buildinfo
|
|
|
|
|
|
|
|
|
|
%install
|
2018-08-22 19:08:15 +00:00
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
%check
|
2020-09-08 09:19:52 +00:00
|
|
|
|
PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest c/ testing/
|
2013-07-25 15:52:37 +00:00
|
|
|
|
|
|
|
|
|
%files -n python3-cffi
|
2015-07-15 12:23:38 +00:00
|
|
|
|
%doc PKG-INFO
|
|
|
|
|
%license LICENSE
|
2018-08-22 19:08:15 +00:00
|
|
|
|
%{python3_sitearch}/cffi/
|
|
|
|
|
%{python3_sitearch}/_cffi_backend.*.so
|
|
|
|
|
%{python3_sitearch}/cffi-%{version}-py%{python3_version}.egg-info/
|
2013-07-25 15:52:37 +00:00
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%doc doc/build/html
|
|
|
|
|
|
|
|
|
|
%changelog
|
2021-06-02 22:44:05 +00:00
|
|
|
|
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 1.14.5-2
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
2021-02-12 12:20:44 +00:00
|
|
|
|
* Fri Feb 12 2021 Lumír Balhar <lbalhar@redhat.com> - 1.14.5-1
|
|
|
|
|
- Update to 1.14.5
|
|
|
|
|
Resolves: rhbz#1927933
|
|
|
|
|
|
2021-01-27 09:46:11 +00:00
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
2020-11-19 13:08:43 +00:00
|
|
|
|
* Thu Nov 19 2020 Joel Capitao <jcapitao@redhat.com> - 1.14.3-1
|
|
|
|
|
- Update to 1.14.3
|
|
|
|
|
|
2020-09-08 09:19:52 +00:00
|
|
|
|
* Tue Sep 08 2020 Lumír Balhar <lbalhar@redhat.com> - 1.14.2-1
|
|
|
|
|
- Update to 1.14.2 (#1869032)
|
|
|
|
|
|
2020-08-15 09:44:58 +00:00
|
|
|
|
* Fri Aug 14 2020 Miro Hrončok <mhroncok@redhat.com> - 1.14.1-1
|
|
|
|
|
- Update to 1.14.1
|
|
|
|
|
- Fixes: rhbz#1860698
|
|
|
|
|
- Fixes: rhbz#1865276
|
2020-07-29 00:07:15 +00:00
|
|
|
|
|
2020-05-23 02:47:51 +00:00
|
|
|
|
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.14.0-2
|
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
|
2020-02-10 05:50:34 +00:00
|
|
|
|
* Mon Feb 10 2020 Lumír Balhar <lbalhar@redhat.com> - 1.14.0
|
|
|
|
|
- Update to 1.14.0 (#1800646)
|
|
|
|
|
|
2020-01-30 11:08:37 +00:00
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
2019-11-18 09:41:47 +00:00
|
|
|
|
* Mon Nov 18 2019 Lumír Balhar <lbalhar@redhat.com> - 1.13.2-1
|
|
|
|
|
- Update to 1.13.2 (#1768219)
|
|
|
|
|
|
2019-10-21 14:52:06 +00:00
|
|
|
|
* Mon Oct 21 2019 Miro Hrončok <mhroncok@redhat.com> - 1.13.1-1
|
|
|
|
|
- Update to 1.13.1 (#1763767)
|
|
|
|
|
|
2019-10-15 10:22:55 +00:00
|
|
|
|
* Tue Oct 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1.13.0-1
|
|
|
|
|
- Update to 1.13.0 (#1761757)
|
|
|
|
|
|
2019-10-13 10:41:04 +00:00
|
|
|
|
* Sun Oct 13 2019 Miro Hrončok <mhroncok@redhat.com> - 1.12.3-5
|
|
|
|
|
- Subpackage python2-cffi has been removed
|
|
|
|
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
|
|
|
2019-10-03 12:05:39 +00:00
|
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.12.3-4
|
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
|
2019-08-26 11:31:35 +00:00
|
|
|
|
* Mon Aug 26 2019 Miro Hrončok <mhroncok@redhat.com> - 1.12.3-3
|
|
|
|
|
- Reduce Python 2 build dependencies
|
|
|
|
|
|
2019-08-16 00:09:39 +00:00
|
|
|
|
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 1.12.3-2
|
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
|
2019-07-25 23:38:59 +00:00
|
|
|
|
* Thu Jul 25 2019 Miro Hrončok <mhroncok@redhat.com> - 1.12.3-1
|
|
|
|
|
- Update to 1.12.3 (#1701577)
|
|
|
|
|
- https://cffi.readthedocs.io/en/latest/whatsnew.html#v1-12-3
|
|
|
|
|
|
2019-07-16 11:14:30 +00:00
|
|
|
|
* Mon Jul 15 2019 Petr Viktorin <pviktori@redhat.com> - 1.12.2-2
|
|
|
|
|
- Remove unused build dependency on Cython
|
|
|
|
|
- Remove duplicate build dependency on pytest
|
|
|
|
|
|
2019-03-27 12:01:30 +00:00
|
|
|
|
* Wed Mar 27 2019 Miro Hrončok <mhroncok@redhat.com> - 1.12.2-1
|
|
|
|
|
- Update to 1.12.2 (#1677888)
|
|
|
|
|
|
2019-02-02 06:02:49 +00:00
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.5-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
2018-08-22 19:08:15 +00:00
|
|
|
|
* Wed Aug 22 2018 Miro Hrončok <mhroncok@redhat.com> - 1.11.5-6
|
|
|
|
|
- Fix FTBFS (#1605627)
|
|
|
|
|
|
2018-07-13 23:45:25 +00:00
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.5-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
2018-06-15 18:48:28 +00:00
|
|
|
|
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 1.11.5-4
|
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
|
2018-05-25 14:28:33 +00:00
|
|
|
|
* Fri May 25 2018 Gwyn Ciesla <limburgher@gmail.com> - 1.11.5-3
|
|
|
|
|
- Disable tests to fix mock-only FTBFS.
|
|
|
|
|
|
2018-03-09 04:57:40 +00:00
|
|
|
|
* Fri Mar 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.11.5-2
|
|
|
|
|
- Update Python 2 dependency declarations to new packaging standards
|
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
|
|
|
2018-03-02 17:20:29 +00:00
|
|
|
|
* Fri Mar 02 2018 John Dulaney <jdulaney@Fedoraproject.org> - 1.11.2-1
|
|
|
|
|
- New release 1.11.5
|
|
|
|
|
|
2018-02-09 08:05:40 +00:00
|
|
|
|
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.11.2-3
|
|
|
|
|
- Escape macros in %%changelog
|
|
|
|
|
|
2018-02-09 07:01:58 +00:00
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
2017-10-20 02:31:38 +00:00
|
|
|
|
* Thu Oct 19 2017 John Dulaney <jdulaney@Fedoraproject.org> - 1.11.2-1
|
|
|
|
|
- New release 1.11.0
|
2018-02-09 08:05:40 +00:00
|
|
|
|
- Fix %%check
|
2017-10-20 02:31:38 +00:00
|
|
|
|
|
2017-09-27 15:07:01 +00:00
|
|
|
|
* Wed Sep 27 2017 Troy Dawson <tdawson@redhat.com> - 1.11.0-2
|
|
|
|
|
- Cleanup spec file conditionals
|
|
|
|
|
|
2017-09-24 04:46:29 +00:00
|
|
|
|
* Sat Sep 23 2017 John Dulaney <jdulaney@Fedoraproject.org> - 1.11.0-1
|
|
|
|
|
- New release 1.11.0
|
|
|
|
|
|
2017-08-03 06:41:31 +00:00
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
|
2017-07-27 09:50:56 +00:00
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
2017-04-04 19:21:52 +00:00
|
|
|
|
* Tue Apr 04 2017 John Dulaney <jdulaney@Fedoraproject.org> - 1.10.0-1
|
|
|
|
|
- New release 1.10.0
|
|
|
|
|
|
2017-02-11 08:33:42 +00:00
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
2017-01-07 17:34:30 +00:00
|
|
|
|
* Sat Jan 07 2017 John Dulaney <jdulaney@Fedoraproject.org> - 1.9.1-1
|
|
|
|
|
- Update to latest upstream 1.9.1
|
|
|
|
|
|
2017-01-06 22:39:00 +00:00
|
|
|
|
* Fri Jan 6 2017 Orion Poplawski <orion@cora.nwra.com> - 1.8.3-4
|
|
|
|
|
- Modernize spec
|
|
|
|
|
|
2016-12-12 15:58:43 +00:00
|
|
|
|
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.8.3-3
|
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
- Disable test dependencies
|
|
|
|
|
|
2016-11-03 15:47:39 +00:00
|
|
|
|
* Thu Nov 03 2016 John Dulaney <jdulaney@Fedoraproject.org> - 1.8.3-2
|
|
|
|
|
- Re-disable check
|
|
|
|
|
|
2016-09-19 04:23:00 +00:00
|
|
|
|
* Sun Sep 18 2016 John Dulaney <jdulaney@Fedoraproject.org> - 1.8.3-1
|
|
|
|
|
- Update to 1.8.3
|
|
|
|
|
- Reenable check
|
|
|
|
|
|
2016-09-07 16:22:37 +00:00
|
|
|
|
* Wed Sep 07 2016 John Dulaney <jdulaney@fedoraproject.org> - 1.8.2-1
|
|
|
|
|
- Update to 1.8.2
|
|
|
|
|
|
2016-08-09 13:54:13 +00:00
|
|
|
|
* Tue Aug 09 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.7.0-3
|
|
|
|
|
- Record installed files
|
|
|
|
|
|
2016-07-19 09:12:08 +00:00
|
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-2
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
|
2016-06-23 17:29:26 +00:00
|
|
|
|
* Thu Jun 23 2016 John Dulaney <jdulaney@fedoraproject.org> - 1.7.0-1
|
|
|
|
|
- Update to 1.7.0
|
|
|
|
|
|
2016-04-28 17:06:02 +00:00
|
|
|
|
* Thu Apr 28 2016 John Dulaney <jdulaney@fedoraproject.org> - 1.6.0-3
|
|
|
|
|
- Switch Source0 to using pypi.io
|
|
|
|
|
|
2016-04-28 16:31:06 +00:00
|
|
|
|
* Thu Apr 28 2016 John Dulaney <jdulaney@fedoraproject.org> - 1.6.0-2
|
|
|
|
|
- Update Source0 URL to account for pypi change
|
|
|
|
|
|
2016-04-21 16:47:01 +00:00
|
|
|
|
* Thu Apr 21 2016 John Dulaney <jdulaney@fedoraproject.org> - 1.6.0-1
|
|
|
|
|
- Update to 1.6.0 (#1329203)
|
|
|
|
|
|
2016-02-15 08:41:23 +00:00
|
|
|
|
* Mon Feb 15 2016 John Dulaney <jdulaney@fedoraproject.org> - 1.5.2-1
|
|
|
|
|
- Update to 1.5.2 (#1299272)
|
|
|
|
|
|
2016-02-04 19:11:11 +00:00
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
2016-01-18 14:33:54 +00:00
|
|
|
|
* Mon Jan 18 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.5.0-1
|
|
|
|
|
- Update to 1.5.0 (#1299272)
|
|
|
|
|
|
2016-01-11 19:51:29 +00:00
|
|
|
|
* Mon Jan 11 2016 Nathaniel McCallum <npmccallum@redhat.com> - 1.4.2-2
|
|
|
|
|
- Move python-cffi => python2-cffi
|
|
|
|
|
|
2015-12-22 04:07:49 +00:00
|
|
|
|
* Tue Dec 22 2015 John Dulaney <jdulaney@fedoraproject.org> - 1.4.2-1
|
|
|
|
|
- Update to 1.4.2 (#1293504)
|
|
|
|
|
|
2015-12-18 00:58:05 +00:00
|
|
|
|
* Thu Dec 17 2015 John Dulaney <jdulaney@fedoraproject.org> - 1.4.1-1
|
|
|
|
|
- Update to latest upstream release
|
|
|
|
|
|
2015-12-11 05:14:02 +00:00
|
|
|
|
* Fri Dec 11 2015 John Dulaney <jdulaney@fedoraproject.org> - 1.3.1-1
|
2015-12-11 05:04:55 +00:00
|
|
|
|
- Update to latest upstream release
|
|
|
|
|
|
2015-10-13 08:03:48 +00:00
|
|
|
|
* Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 1.1.2-4
|
|
|
|
|
- Rebuilt for Python3.5 rebuild
|
|
|
|
|
|
2015-07-15 12:23:38 +00:00
|
|
|
|
* Wed Jul 15 2015 Parag Nemade <pnemade AT redhat DOT com> - 1.1.2-3
|
|
|
|
|
- Modernize spec file
|
|
|
|
|
- add missing source
|
|
|
|
|
|
2015-06-18 18:43:41 +00:00
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
2015-06-16 14:52:34 +00:00
|
|
|
|
* Tue Jun 16 2015 Nathaniel McCallum <npmccallum@redhat.com> - 1.1.2-2
|
|
|
|
|
- Update to 1.1.2
|
|
|
|
|
- Fix license
|
|
|
|
|
|
2014-08-19 21:32:03 +00:00
|
|
|
|
* Tue Aug 19 2014 Eric Smith <spacewar@gmail.com> 0.8.6-1
|
|
|
|
|
- Update to latest upstream.
|
|
|
|
|
- No python3 in el7.
|
|
|
|
|
|
2014-08-17 20:59:10 +00:00
|
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
|
2014-06-07 19:02:32 +00:00
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
2014-05-12 15:09:02 +00:00
|
|
|
|
* Mon May 12 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.8.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
|
|
|
2014-02-27 04:00:16 +00:00
|
|
|
|
* Wed Feb 26 2014 Eric Smith <spacewar@gmail.com> 0.8.1-1
|
|
|
|
|
- Update to latest upstream.
|
|
|
|
|
|
|
|
|
|
* Tue Aug 13 2013 Eric Smith <spacewar@gmail.com> 0.6-5
|
2013-08-13 16:39:04 +00:00
|
|
|
|
- Add Requires of python{,3}-pycparser.
|
|
|
|
|
|
2014-02-27 04:00:16 +00:00
|
|
|
|
* Thu Jul 25 2013 Eric Smith <spacewar@gmail.com> 0.6-4
|
2013-07-25 18:04:53 +00:00
|
|
|
|
- Fix broken conditionals in spec (missing question marks), needed for el6.
|
|
|
|
|
|
2014-02-27 04:00:16 +00:00
|
|
|
|
* Tue Jul 23 2013 Eric Smith <spacewar@gmail.com> 0.6-3
|
2013-07-25 15:52:37 +00:00
|
|
|
|
- Add Python3 support.
|
|
|
|
|
|
2014-02-27 04:00:16 +00:00
|
|
|
|
* Mon Jul 22 2013 Eric Smith <spacewar@gmail.com> 0.6-2
|
2013-07-25 15:52:37 +00:00
|
|
|
|
- Better URL, and use version macro in Source0.
|
|
|
|
|
|
2014-02-27 04:00:16 +00:00
|
|
|
|
* Sun Jul 21 2013 Eric Smith <spacewar@gmail.com> 0.6-1
|
2013-07-25 15:52:37 +00:00
|
|
|
|
- initial version
|