forked from pool/python-Cython
Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 47f9aee98b | |||
| 620f2792c4 | |||
| ba90c67515 | |||
| 08803193cc | |||
| 92f3edd7b6 | |||
| de9caa3162 |
BIN
cython-3.0.11.tar.gz
(Stored with Git LFS)
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
BIN
cython-3.0.12.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -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>
|
||||
|
||||
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user