Bump to cython 0.29.21 70/250670/4 accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified accepted/tizen_unified sandbox/dh0128.kwak/cython-0.29.21_20201231 tizen tizen_6.5 tizen_7.0 tizen_7.0_hotfix tizen_8.0 accepted/tizen/6.5/unified/20211028.230430 accepted/tizen/7.0/unified/20221110.062250 accepted/tizen/7.0/unified/hotfix/20221116.111325 accepted/tizen/8.0/unified/20231005.095421 accepted/tizen/unified/20210104.130246 submit/tizen/20210104.020415 submit/tizen_6.5/20211028.163601 tizen_6.5.m2_release tizen_7.0_m2_release tizen_8.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 31 Dec 2020 04:21:04 +0000 (13:21 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 31 Dec 2020 04:40:54 +0000 (13:40 +0900)
Change-Id: I42df9d950b31bb78e567863418ea87a1d1814b85

packaging/python-cython.manifest [new file with mode: 0644]
packaging/python-cython.spec [new file with mode: 0644]

diff --git a/packaging/python-cython.manifest b/packaging/python-cython.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/python-cython.spec b/packaging/python-cython.spec
new file mode 100644 (file)
index 0000000..5904436
--- /dev/null
@@ -0,0 +1,55 @@
+Name:           python-cython
+Version:        0.29.21
+Release:        0
+Url:            http://www.cython.org
+Summary:        The Cython compiler for writing C extensions for the Python language
+License:        Apache-2.0
+Group:          Development/Languages/Python
+
+Source:         %{name}-%{version}.tar.gz
+BuildRequires:  fdupes
+BuildRequires:  python-devel
+BuildRequires:  python-xml
+BuildRequires:  python-libxml2
+BuildRequires:  python-lxml
+Provides:       python-cython = %{version}
+Obsoletes:      python-cython < %{version}
+Requires:       python-xml
+Requires:       python-libxml2
+Requires:       python-lxml
+
+
+%description
+The Cython language makes writing C extensions for the Python language as
+easy as Python itself.  Cython is a source code translator based on the
+well-known Pyrex, but supports more cutting edge functionality and
+optimizations.
+
+The Cython language is very close to the Python language (and most Python
+code is also valid Cython code), but Cython additionally supports calling C
+functions and declaring C types on variables and class attributes. This
+allows the compiler to generate very efficient C code from Cython code.
+
+This makes Cython the ideal language for writing glue code for external C
+libraries, and for fast C modules that speed up the execution of Python
+code.
+
+%prep
+%setup -q -n cython-%{version}
+
+%build
+CFLAGS="%{optflags}" python setup.py build
+
+%install
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%fdupes -s %{buildroot}%{python_sitearch} %{buildroot}%{_docdir}
+%remove_docs
+
+%files
+%license LICENSE.txt
+%{_bindir}/cygdb
+%{_bindir}/cython
+%{_bindir}/cythonize
+%{python_sitearch}/Cython*
+%{python_sitearch}/cython.py*
+%{python_sitearch}/pyximport/