[9329] | 1 | Summary: A language for writing Python extension modules |
---|
| 2 | Summary(ja): Python 拡張モジュールを簡単に作成するためのプログラミング言語 |
---|
[6011] | 3 | Name: Cython |
---|
[12277] | 4 | Version: 0.29.13 |
---|
[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 |
---|
[12277] | 14 | BuildRequires: python-setuptools |
---|
| 15 | BuildRequires: python-rpm-macros |
---|
[6011] | 16 | |
---|
| 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | |
---|
| 20 | %description |
---|
[9329] | 21 | 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] | 22 | |
---|
[9329] | 23 | 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] | 24 | This allows the compiler to generate very efficient C code from Cython code. |
---|
| 25 | The generated C code compiles with Python 2.4 and later (including Python 3). |
---|
| 26 | |
---|
[9329] | 27 | 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] | 28 | |
---|
| 29 | |
---|
[12277] | 30 | %package -n python3-Cython |
---|
| 31 | Summary: A language for writing Python extension modules |
---|
| 32 | Summary(ja): Python 拡張モジュールを簡単に作成するためのプログラミング言語 |
---|
| 33 | Group: Development/Languages |
---|
| 34 | BuildRequires: python3-devel |
---|
| 35 | BuildRequires: python3-setuptools |
---|
| 36 | BuildRequires: python3-rpm-macros |
---|
| 37 | |
---|
| 38 | %description -n python3-Cython |
---|
| 39 | 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. |
---|
| 40 | |
---|
| 41 | 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. |
---|
| 42 | This allows the compiler to generate very efficient C code from Cython code. |
---|
| 43 | The generated C code compiles with Python 2.4 and later (including Python 3). |
---|
| 44 | |
---|
| 45 | This makes Cython the ideal language for wrapping external C libraries, and for fast C modules that speed up the execution of Python code. |
---|
| 46 | |
---|
| 47 | |
---|
[6011] | 48 | %prep |
---|
| 49 | %setup -q |
---|
| 50 | |
---|
| 51 | %build |
---|
[12277] | 52 | %{py_build} |
---|
| 53 | %{py3_build} |
---|
[6011] | 54 | |
---|
| 55 | |
---|
| 56 | %install |
---|
| 57 | rm -rf $RPM_BUILD_ROOT |
---|
[12277] | 58 | %{py_install} |
---|
| 59 | %{py3_install} |
---|
[6011] | 60 | |
---|
[12277] | 61 | |
---|
[6011] | 62 | %clean |
---|
| 63 | rm -rf $RPM_BUILD_ROOT |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | %files |
---|
| 67 | %defattr(-,root,root,-) |
---|
[12277] | 68 | %license COPYING.txt LICENSE.txt |
---|
| 69 | %doc README.txt USAGE.txt |
---|
| 70 | #{_bindir}/cygdb |
---|
| 71 | #{_bindir}/cython |
---|
| 72 | #{_bindir}/cythonize |
---|
[6011] | 73 | %{python_sitearch}/Cython |
---|
| 74 | %{python_sitearch}/pyximport |
---|
[12277] | 75 | %{python_sitearch}/Cython-%{version}-*-info |
---|
[6011] | 76 | %{python_sitearch}/cython.* |
---|
| 77 | |
---|
[12277] | 78 | %files -n python3-Cython |
---|
| 79 | %license COPYING.txt LICENSE.txt |
---|
| 80 | %doc README.txt USAGE.txt |
---|
| 81 | %{_bindir}/cygdb |
---|
| 82 | %{_bindir}/cython |
---|
| 83 | %{_bindir}/cythonize |
---|
| 84 | %{python3_sitearch}/* |
---|
[6011] | 85 | |
---|
[12277] | 86 | |
---|
[6011] | 87 | %changelog |
---|
[12277] | 88 | * Fri Oct 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.29.13-1 |
---|
| 89 | - new upstream release. |
---|
| 90 | |
---|
[9791] | 91 | * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.23.4-1 |
---|
| 92 | - new upstream release |
---|
| 93 | |
---|
[9646] | 94 | * Sun Jul 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.1-1 |
---|
| 95 | - new upstream release |
---|
| 96 | |
---|
[9329] | 97 | * Wed Feb 4 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.21.2-1 |
---|
| 98 | - new upstream release |
---|
| 99 | - moved to Development/Languages Group |
---|
| 100 | |
---|
[8064] | 101 | * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.19.2-1 |
---|
| 102 | - new upstream release |
---|
| 103 | |
---|
[7582] | 104 | * Thu Mar 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18-1 |
---|
| 105 | - new upstream release |
---|
| 106 | |
---|
[6011] | 107 | * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.15.1-1 |
---|
| 108 | - initial build for Vine Linux |
---|