2008-04-14 23:56:07 +00:00
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")}
|
2008-06-14 00:48:45 +00:00
|
|
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
2008-04-14 23:56:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
Name: Cython
|
2009-03-14 11:40:23 +00:00
|
|
|
Version: 0.11
|
|
|
|
Release: 1%{?dist}
|
2008-04-14 23:56:07 +00:00
|
|
|
Summary: A language for writing Python extension modules
|
|
|
|
|
|
|
|
Group: Development/Tools
|
|
|
|
License: Python
|
|
|
|
URL: http://www.cython.org
|
|
|
|
Source0: http://www.cython.org/Cython-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildRequires: python-devel python-setuptools
|
|
|
|
Requires: python
|
|
|
|
|
|
|
|
%description
|
|
|
|
This is a development version of Pyrex, a language
|
|
|
|
for writing Python extension modules.
|
|
|
|
|
|
|
|
For more info, see:
|
|
|
|
|
|
|
|
Doc/About.html for a description of the language
|
|
|
|
INSTALL.txt for installation instructions
|
|
|
|
USAGE.txt for usage instructions
|
|
|
|
Demos for usage examples
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Cython-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2008-06-14 00:48:45 +00:00
|
|
|
%check
|
2009-03-14 11:40:23 +00:00
|
|
|
%{__python} runtests.py -x numpy
|
2008-04-14 23:56:07 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/cython
|
2008-06-14 00:48:45 +00:00
|
|
|
%{python_sitearch}/Cython
|
2008-11-19 20:09:00 +00:00
|
|
|
%{python_sitearch}/pyximport
|
2008-04-14 23:56:07 +00:00
|
|
|
%if 0%{?fedora} >= 9
|
2008-06-14 00:48:45 +00:00
|
|
|
%{python_sitearch}/Cython*egg-info
|
2008-04-14 23:56:07 +00:00
|
|
|
%endif
|
|
|
|
%doc *.txt Demos Doc Tools
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2009-03-14 11:40:23 +00:00
|
|
|
* Sat Mar 14 2009 Neal Becker <ndbecker2@gmail.com> - 0.11-1
|
|
|
|
- Update to 0.11
|
|
|
|
- Exclude numpy from tests so we don't have to BR it
|
|
|
|
|
2009-02-23 20:13:54 +00:00
|
|
|
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-12-17 12:10:19 +00:00
|
|
|
* Wed Dec 17 2008 Neal Becker <ndbecker2@gmail.com> - 0.10.3-1
|
|
|
|
- Update to 0.10.3
|
|
|
|
|
2008-12-04 17:52:11 +00:00
|
|
|
* Thu Dec 04 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.10.2-2
|
|
|
|
- Rebuild for Python 2.6
|
|
|
|
|
2008-12-01 13:23:20 +00:00
|
|
|
* Mon Dec 1 2008 Neal Becker <ndbecker2@gmail.com> - 0.10.2-1
|
|
|
|
- Update to 0.10.2
|
|
|
|
|
2008-11-29 16:36:48 +00:00
|
|
|
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.10.1-2
|
|
|
|
- Rebuild for Python 2.6
|
|
|
|
|
2008-11-19 20:09:00 +00:00
|
|
|
* Wed Nov 19 2008 Neal Becker <ndbecker2@gmail.com> - 0.10.1-1
|
|
|
|
- Update to 0.10.1
|
|
|
|
|
|
|
|
* Sun Nov 9 2008 Neal Becker <ndbecker2@gmail.com> - 0.10-3
|
|
|
|
- Fix typo
|
|
|
|
|
2008-11-09 12:40:23 +00:00
|
|
|
* Sun Nov 9 2008 Neal Becker <ndbecker2@gmail.com> - 0.10-1
|
|
|
|
- Update to 0.10
|
|
|
|
|
2008-06-14 00:48:45 +00:00
|
|
|
* Fri Jun 13 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.8-2
|
|
|
|
- Install into python_sitearch
|
|
|
|
- Add %%check
|
|
|
|
|
2008-06-13 15:51:06 +00:00
|
|
|
* Fri Jun 13 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.8-1
|
|
|
|
- Update to 0.9.8
|
|
|
|
|
2008-04-14 23:56:07 +00:00
|
|
|
* Mon Apr 14 2008 José Matos <jamatos[AT]fc.up.pt> - 0.9.6.13.1-3
|
|
|
|
- Remove remaining --record.
|
|
|
|
- Add more documentation (Doc and Tools).
|
|
|
|
- Add correct entry for egg-info (F9+).
|
|
|
|
|
|
|
|
* Mon Apr 14 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.13.1-2
|
|
|
|
- Change License to Python
|
|
|
|
- Install About.html
|
|
|
|
- Fix mixed spaces/tabs
|
|
|
|
- Don't use --record
|
|
|
|
|
|
|
|
* Tue Apr 8 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.13.1-1
|
|
|
|
- Update to 0.9.6.13.1
|
|
|
|
|
|
|
|
* Mon Apr 7 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.13-1
|
|
|
|
- Update to 0.9.6.13
|
|
|
|
- Add docs
|
|
|
|
|
|
|
|
* Tue Feb 26 2008 Neal Becker <ndbecker2@gmail.com> - 0.9.6.12-1
|
|
|
|
- Initial version
|
|
|
|
|