diff --git a/Cython-0.29.36.tar.gz b/Cython-0.29.36.tar.gz deleted file mode 100644 index 277993f..0000000 --- a/Cython-0.29.36.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:41c0cfd2d754e383c9eeb95effc9aa4ab847d0c9747077ddd7c0dcb68c3bc01f -size 2097760 diff --git a/Cython-3.0.0.tar.gz b/Cython-3.0.0.tar.gz new file mode 100644 index 0000000..d10e437 --- /dev/null +++ b/Cython-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:350b18f9673e63101dbbfcf774ee2f57c20ac4636d255741d76ca79016b1bd82 +size 2691719 diff --git a/python-Cython.changes b/python-Cython.changes index 8e6b6bc..05ecf9c 100644 --- a/python-Cython.changes +++ b/python-Cython.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Jul 19 12:23:38 UTC 2023 - Matej Cepl + +- Update to the official release of 3.0.0: + - The complete list is seriously long, so I would relegate you + to https://github.com/cython/cython/blob/master/CHANGES.rst + - The implemented PEPs are: + - PEP-3131: Supporting Non-ASCII Identifiers + - PEP-479: generator_stop (enabled by default for language_level=3) + - PEP-487: Simpler customisation of class creation + - PEP-563: Postponed Evaluation of Annotations + - PEP-570: Positional-Only Parameters + - PEP-572: Assignment Expressions (a.k.a. the walrus operator :=) + - PEP-590: Vectorcall protocol + - PEP-614: Relaxing Grammar Restrictions On Decorators + - Cython supports all released versions of Python from 2.7 to + 3.11 (and some experimental parts of 3.12) inclusive. + ------------------------------------------------------------------- Mon Jul 10 19:03:16 UTC 2023 - Matej Cepl diff --git a/python-Cython.spec b/python-Cython.spec index 7cb83e5..00b011e 100644 --- a/python-Cython.spec +++ b/python-Cython.spec @@ -16,25 +16,27 @@ # -%{?sle15_python_module_pythons} %bcond_with test +%{?sle15_python_module_pythons} Name: python-Cython -Version: 0.29.36 +Version: 3.0.0 Release: 0 Summary: The Cython compiler for writing C extensions for the Python language License: Apache-2.0 URL: https://cython.org/ +# SourceRepository: https://github.com/cython/cython Source: https://files.pythonhosted.org/packages/source/C/Cython/Cython-%{version}.tar.gz Source1: python-Cython-rpmlintrc BuildRequires: %{python_module devel} BuildRequires: %{python_module pip} BuildRequires: %{python_module wheel} -BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: python-rpm-macros +Conflicts: python-Cython < 3 +Provides: python-Cython3 = 3.0.0 +Obsoletes: python-Cython3 <= 3.0.0 Requires: python-devel -Requires: python-xml Requires(post): update-alternatives Requires(postun):update-alternatives %python_subpackages @@ -91,7 +93,7 @@ $python runtests.py -v %python_alternative %{_bindir}/cython %python_alternative %{_bindir}/cythonize %{python_sitearch}/Cython/ -%{python_sitearch}/Cython-%{version}*-info +%{python_sitearch}/Cython-%{version}.dist-info %{python_sitearch}/cython.py* %pycache_only %{python_sitearch}/__pycache__/cython*.py* %{python_sitearch}/pyximport/