1
0
forked from pool/python-Cython

6 Commits

Author SHA256 Message Date
47f9aee98b Convert to libalternatives, bsc#1245883 2025-11-03 13:59:28 +01:00
620f2792c4 Accepting request 1266125 from devel:languages:python
- Make the dist-info name case-insensitive
- Lowercase metadata directory name.

OBS-URL: https://build.opensuse.org/request/show/1266125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=86
2025-04-11 14:44:49 +00:00
ba90c67515 - Make the dist-info name case-insensitive
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=205
2025-04-01 12:18:41 +00:00
08803193cc - Lowercase metadata directory name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=204
2025-03-25 01:11:58 +00:00
92f3edd7b6 Accepting request 1247117 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1247117
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=85
2025-02-20 15:27:33 +00:00
de9caa3162 Accepting request 1246992 from home:glaubitz:branches:devel:languages:python
- Update to 3.0.12
  * Release 3.0.11 introduced some incorrect ``noexcept`` warnings.
    (Github issue :issue:`6335`)
  * Conditional assignments to variables using the walrus operator
    could crash. (Github issue :issue:`6094`)
  * Dict assignments to struct members with reserved C names could generate
    invalid C code.
  * Fused ctuples with the same entry types but different sizes could
    fail to compile. (Github issue :issue:`6328`)
  * In Py3, `pyximport` was not searching `sys.path` when looking for
    importable source files. (Github issue :issue:`5615`)
  * Using `& 0` on integers produced with `int.from_bytes()` could read
    invalid memory on Python 3.10. (Github issue :issue:`6480`)
  * Modules could fail to compile in PyPy 3.11 due to missing CPython
    specific header files. Patch by Matti Picus. (Github issue :issue:`6482`)
  * Minor fix in C++ ``partial_sum()`` declaration.

OBS-URL: https://build.opensuse.org/request/show/1246992
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=202
2025-02-19 14:18:11 +00:00
4 changed files with 58 additions and 9 deletions

BIN
cython-3.0.11.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
cython-3.0.12.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,38 @@
-------------------------------------------------------------------
Wed Aug 13 12:01:11 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems
-------------------------------------------------------------------
Tue Apr 1 11:44:25 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Make the dist-info name case-insensitive
-------------------------------------------------------------------
Tue Mar 25 01:11:31 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Lowercase metadata directory name.
-------------------------------------------------------------------
Wed Feb 19 09:54:43 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.0.12
* Release 3.0.11 introduced some incorrect ``noexcept`` warnings.
(Github issue :issue:`6335`)
* Conditional assignments to variables using the walrus operator
could crash. (Github issue :issue:`6094`)
* Dict assignments to struct members with reserved C names could generate
invalid C code.
* Fused ctuples with the same entry types but different sizes could
fail to compile. (Github issue :issue:`6328`)
* In Py3, `pyximport` was not searching `sys.path` when looking for
importable source files. (Github issue :issue:`5615`)
* Using `& 0` on integers produced with `int.from_bytes()` could read
invalid memory on Python 3.10. (Github issue :issue:`6480`)
* Modules could fail to compile in PyPy 3.11 due to missing CPython
specific header files. Patch by Matti Picus. (Github issue :issue:`6482`)
* Minor fix in C++ ``partial_sum()`` declaration.
-------------------------------------------------------------------
Sat Aug 31 11:48:36 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Cython
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,20 @@
%bcond_with test
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-Cython
Version: 3.0.11
Version: 3.0.12
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
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}
@@ -35,11 +40,16 @@ BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: python-rpm-macros
Requires: python-devel
Requires(post): update-alternatives
Requires(postun): update-alternatives
Conflicts: python-Cython < 3
Provides: python-Cython3 = %{version}
Obsoletes: python-Cython3 < %{version}
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
%python_subpackages
%description
@@ -66,6 +76,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
for p in cython cythonize cygdb ; do
%python_clone -a %{buildroot}%{_bindir}/$p
done
%python_group_libalternatives cython cythonize cygdb
%{python_expand chmod a+x %{buildroot}%{$python_sitearch}/Cython/Build/Cythonize.py
sed -i "s|^#!%{_bindir}/env python$|#!%{__$python}|" %{buildroot}%{$python_sitearch}/Cython/Build/Cythonize.py
@@ -81,6 +92,9 @@ $python runtests.py -v
}
%endif
%pre
%python_libalternatives_reset_alternative cython
%post
%python_install_alternative cython cythonize cygdb
@@ -94,7 +108,7 @@ $python runtests.py -v
%python_alternative %{_bindir}/cython
%python_alternative %{_bindir}/cythonize
%{python_sitearch}/Cython/
%{python_sitearch}/Cython-%{version}.dist-info
%{python_sitearch}/[cC]ython-%{version}.dist-info
%{python_sitearch}/cython.py*
%pycache_only %{python_sitearch}/__pycache__/cython*.py*
%{python_sitearch}/pyximport/