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