1 | Summary: A language for writing Python extension modules |
---|
2 | Summary(ja): Python 拡張モジュールを簡単に作成するためのプログラミング言語 |
---|
3 | Name: Cython |
---|
4 | Version: 0.29.13 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | Group: Development/Languages |
---|
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 | BuildRequires: python-setuptools |
---|
15 | BuildRequires: python-rpm-macros |
---|
16 | |
---|
17 | Vendor: Project Vine |
---|
18 | Distribution: Vine Linux |
---|
19 | |
---|
20 | %description |
---|
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. |
---|
22 | |
---|
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. |
---|
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 | |
---|
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. |
---|
28 | |
---|
29 | |
---|
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 | |
---|
48 | %prep |
---|
49 | %setup -q |
---|
50 | |
---|
51 | %build |
---|
52 | %{py_build} |
---|
53 | %{py3_build} |
---|
54 | |
---|
55 | |
---|
56 | %install |
---|
57 | rm -rf $RPM_BUILD_ROOT |
---|
58 | %{py_install} |
---|
59 | %{py3_install} |
---|
60 | |
---|
61 | |
---|
62 | %clean |
---|
63 | rm -rf $RPM_BUILD_ROOT |
---|
64 | |
---|
65 | |
---|
66 | %files |
---|
67 | %defattr(-,root,root,-) |
---|
68 | %license COPYING.txt LICENSE.txt |
---|
69 | %doc README.txt USAGE.txt |
---|
70 | #{_bindir}/cygdb |
---|
71 | #{_bindir}/cython |
---|
72 | #{_bindir}/cythonize |
---|
73 | %{python_sitearch}/Cython |
---|
74 | %{python_sitearch}/pyximport |
---|
75 | %{python_sitearch}/Cython-%{version}-*-info |
---|
76 | %{python_sitearch}/cython.* |
---|
77 | |
---|
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}/* |
---|
85 | |
---|
86 | |
---|
87 | %changelog |
---|
88 | * Fri Oct 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.29.13-1 |
---|
89 | - new upstream release. |
---|
90 | |
---|
91 | * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.23.4-1 |
---|
92 | - new upstream release |
---|
93 | |
---|
94 | * Sun Jul 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.1-1 |
---|
95 | - new upstream release |
---|
96 | |
---|
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 | |
---|
101 | * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.19.2-1 |
---|
102 | - new upstream release |
---|
103 | |
---|
104 | * Thu Mar 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18-1 |
---|
105 | - new upstream release |
---|
106 | |
---|
107 | * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.15.1-1 |
---|
108 | - initial build for Vine Linux |
---|