14
0
forked from pool/python-Cython

- 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=176
This commit is contained in:
2023-08-13 18:19:49 +00:00
committed by Git OBS Bridge
parent 45716b9fbb
commit a22fc45760
4 changed files with 28 additions and 8 deletions

View File

@@ -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/