Accepting request 1099554 from devel:languages:python

- 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/request/show/1099554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython3?expand=0&rev=4
This commit is contained in:
Ana Guerrero 2023-07-25 09:23:41 +00:00 committed by Git OBS Bridge
commit 057a22fbe6
4 changed files with 25 additions and 8 deletions

3
Cython-3.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:350b18f9673e63101dbbfcf774ee2f57c20ac4636d255741d76ca79016b1bd82
size 2691719

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af2625f47355416b559ce36a576bcc26e6b3e797e83978166734185c42ea6ddc
size 2667256

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed Jul 19 12:23:38 UTC 2023 - Matej Cepl <mcepl@suse.com>
- 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.
-------------------------------------------------------------------
Wed May 24 15:04:47 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -18,15 +18,14 @@
%bcond_with test
%{?sle15_python_module_pythons}
%define pversion 3.0.0b3
Name: python-Cython3
Version: 3.0.0~b3
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-%{pversion}.tar.gz
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}
@ -53,7 +52,7 @@ functions and declaring C types on variables and class attributes. This
allows the compiler to generate very efficient C code from Cython code.
%prep
%setup -q -n Cython-%{pversion}
%setup -q -n Cython-%{version}
# Fix non-executable scripts
sed -i "s|^#!.*||" Cython/Debugger/{libpython,Cygdb}.py cython.py
@ -94,7 +93,7 @@ $python runtests.py -v
%python_alternative %{_bindir}/cython
%python_alternative %{_bindir}/cythonize
%{python_sitearch}/Cython/
%{python_sitearch}/Cython-%{pversion}.dist-info
%{python_sitearch}/Cython-%{version}.dist-info
%{python_sitearch}/cython.py*
%pycache_only %{python_sitearch}/__pycache__/cython*.py*
%{python_sitearch}/pyximport/