Accepting request 1098027 from devel:languages:python

- Clean up SPEC file.
- update to version 0.29.36:
  * Async generators lost their return value in PyPy. (Github issue
    :issue:`5465`)
  * The outdated C macro _PyGC_FINALIZED() is no longer used in
    Py3.9+.
  * The deprecated Py_OptimizeFlag is no longer used in Python
    3.9+. (Github issue :issue:`5343`)
  * Using the global __debug__ variable but not assertions could lead
    to compile errors.
  * The broken HTML template support was removed from Tempita. (Github
    issue :issue:`3309`)

OBS-URL: https://build.opensuse.org/request/show/1098027
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=72
This commit is contained in:
Dominique Leuenberger 2023-07-12 15:26:05 +00:00 committed by Git OBS Bridge
commit c01689c958
5 changed files with 31 additions and 9 deletions

View File

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

BIN
Cython-0.29.36.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,4 +1,4 @@
addFilter('devel-file-in-non-devel-package .*/Cython/.*')
addFilter('devel-dependency python38-devel')
addFilter('devel-dependency python39-devel')
addFilter('devel-dependency python310-devel')
addFilter('devel-dependency python311-devel')

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Mon Jul 10 19:03:16 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Clean up SPEC file.
-------------------------------------------------------------------
Sat Jul 8 20:26:51 UTC 2023 - Arun Persaud <arun@gmx.de>
- update to version 0.29.36:
* Async generators lost their return value in PyPy. (Github issue
:issue:`5465`)
* The outdated C macro _PyGC_FINALIZED() is no longer used in
Py3.9+.
* The deprecated Py_OptimizeFlag is no longer used in Python
3.9+. (Github issue :issue:`5343`)
* Using the global __debug__ variable but not assertions could lead
to compile errors.
* The broken HTML template support was removed from Tempita. (Github
issue :issue:`3309`)
-------------------------------------------------------------------
Sat May 27 21:05:03 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -16,10 +16,10 @@
#
%bcond_with test
%{?sle15_python_module_pythons}
%bcond_with test
Name: python-Cython
Version: 0.29.35
Version: 0.29.36
Release: 0
Summary: The Cython compiler for writing C extensions for the Python language
License: Apache-2.0
@ -27,6 +27,8 @@ URL: https://cython.org/
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++
@ -54,10 +56,10 @@ sed -i "s|^#!.*||" Cython/Debugger/{libpython,Cygdb}.py cython.py
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
for p in cython cythonize cygdb ; do
%python_clone -a %{buildroot}%{_bindir}/$p
done
@ -89,7 +91,7 @@ $python runtests.py -v
%python_alternative %{_bindir}/cython
%python_alternative %{_bindir}/cythonize
%{python_sitearch}/Cython/
%{python_sitearch}/Cython-%{version}-py*.egg-info
%{python_sitearch}/Cython-%{version}*-info
%{python_sitearch}/cython.py*
%pycache_only %{python_sitearch}/__pycache__/cython*.py*
%{python_sitearch}/pyximport/