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