| [6011] | 1 | Summary: C-Extensions for Python |
|---|
| 2 | Name: Cython |
|---|
| [8064] | 3 | Version: 0.19.2 |
|---|
| [6011] | 4 | Release: 1%{?_dist_release} |
|---|
| 5 | |
|---|
| 6 | Group: Development/Tools |
|---|
| 7 | License: Apache |
|---|
| 8 | URL: http://cython.org/ |
|---|
| 9 | Source0: http://cython.org/release/%{name}-%{version}.tar.gz |
|---|
| 10 | |
|---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 12 | |
|---|
| 13 | BuildRequires: python-devel |
|---|
| 14 | |
|---|
| 15 | Vendor: Project Vine |
|---|
| 16 | Distribution: Vine Linux |
|---|
| 17 | Packager: Takemikaduchi |
|---|
| 18 | |
|---|
| 19 | %description |
|---|
| 20 | Cython is a language that makes writing C extensions for the Python language |
|---|
| 21 | as easy as Python itself. Cython is based on the well-known Pyrex, but supports |
|---|
| 22 | more cutting edge functionality and optimizations. |
|---|
| 23 | |
|---|
| 24 | The Cython language is very close to the Python language, but Cython additionally |
|---|
| 25 | supports calling C functions and declaring C types on variables and class attributes. |
|---|
| 26 | This allows the compiler to generate very efficient C code from Cython code. |
|---|
| 27 | The generated C code compiles with Python 2.4 and later (including Python 3). |
|---|
| 28 | |
|---|
| 29 | This makes Cython the ideal language for wrapping external C libraries, and for fast |
|---|
| 30 | C modules that speed up the execution of Python code. |
|---|
| 31 | |
|---|
| 32 | |
|---|
| 33 | %prep |
|---|
| 34 | %setup -q |
|---|
| 35 | |
|---|
| 36 | %build |
|---|
| 37 | %{__python} setup.py build |
|---|
| 38 | |
|---|
| 39 | |
|---|
| 40 | %install |
|---|
| 41 | rm -rf $RPM_BUILD_ROOT |
|---|
| 42 | %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT |
|---|
| 43 | |
|---|
| 44 | %clean |
|---|
| 45 | rm -rf $RPM_BUILD_ROOT |
|---|
| 46 | |
|---|
| 47 | |
|---|
| 48 | %files |
|---|
| 49 | %defattr(-,root,root,-) |
|---|
| 50 | %doc COPYING.txt LICENSE.txt README.txt USAGE.txt |
|---|
| 51 | %{_bindir}/cygdb |
|---|
| 52 | %{_bindir}/cython |
|---|
| 53 | %{python_sitearch}/Cython |
|---|
| 54 | %{python_sitearch}/pyximport |
|---|
| [7582] | 55 | %{python_sitearch}/Cython-%{version}-py2.7.egg-info |
|---|
| [6011] | 56 | %{python_sitearch}/cython.* |
|---|
| 57 | |
|---|
| 58 | |
|---|
| 59 | %changelog |
|---|
| [8064] | 60 | * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.19.2-1 |
|---|
| 61 | - new upstream release |
|---|
| 62 | |
|---|
| [7582] | 63 | * Thu Mar 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18-1 |
|---|
| 64 | - new upstream release |
|---|
| 65 | |
|---|
| [6011] | 66 | * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.15.1-1 |
|---|
| 67 | - initial build for Vine Linux |
|---|