Bump to python3-cython 0.29.30 20/277820/2 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified sandbox/backup/python3-cython_0.29.30_20231226 sandbox/dh0128.kwak/cython-0.29.30-20220713 tizen_7.0 tizen_7.0_hotfix tizen_8.0 accepted/tizen/7.0/unified/20221110.061549 accepted/tizen/7.0/unified/hotfix/20221116.111354 accepted/tizen/8.0/unified/20231005.095450 accepted/tizen/unified/20220718.140442 submit/tizen/20220714.062314 tizen_7.0_m2_release tizen_8.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 13 Jul 2022 06:43:43 +0000 (15:43 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 14 Jul 2022 06:13:55 +0000 (15:13 +0900)
Change-Id: Ia980d5fe25540bf01709afe815f2bcc92ab55a83

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

diff --git a/packaging/python3-cython.manifest b/packaging/python3-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/python3-cython.spec b/packaging/python3-cython.spec
new file mode 100644 (file)
index 0000000..d4dd083
--- /dev/null
@@ -0,0 +1,57 @@
+Name:           python3-cython
+Version:        0.29.30
+Release:        0
+Url:            http://www.cython.org
+Summary:        The Cython compiler for writing C extensions for the python3 language
+License:        Apache-2.0
+Group:          Development/Languages/Python
+
+Source:         %{name}-%{version}.tar.gz
+BuildRequires:  fdupes
+BuildRequires:  python3-devel
+BuildRequires:  python3-xml
+BuildRequires:  python-libxml2
+BuildRequires:  python3-lxml
+Provides:       python3-cython = %{version}
+Obsoletes:      python3-cython < %{version}
+Requires:       python3-xml
+Requires:       python-libxml2
+Requires:       python3-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
+export CFLAGS="%{optflags}"
+%{_bindir}/python3 setup.py build
+
+%install
+%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%fdupes -s %{buildroot}%{python3_sitearch} %{buildroot}%{_docdir}
+%remove_docs
+
+%files
+%license LICENSE.txt
+%{_bindir}/cygdb
+%{_bindir}/cython
+%{_bindir}/cythonize
+%{python3_sitearch}/Cython*
+%{python3_sitearch}/cython*
+%{python3_sitearch}/pyximport/
+%{python3_sitearch}/__pycache__/cython*