Compare commits
No commits in common. "factory" and "factory" have entirely different histories.
BIN
PyYAML-6.0.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
PyYAML-6.0.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
17
build-with-cython3.patch
Normal file
17
build-with-cython3.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
Index: PyYAML-6.0.1/setup.py
|
||||||
|
===================================================================
|
||||||
|
--- PyYAML-6.0.1.orig/setup.py
|
||||||
|
+++ PyYAML-6.0.1/setup.py
|
||||||
|
@@ -82,7 +82,11 @@ if 'sdist' in sys.argv or os.environ.get
|
||||||
|
with_cython = True
|
||||||
|
try:
|
||||||
|
from Cython.Distutils.extension import Extension as _Extension
|
||||||
|
- from Cython.Distutils import build_ext as _build_ext
|
||||||
|
+ try:
|
||||||
|
+ # try old_build_ext from Cython > 3 first, until we can dump it entirely
|
||||||
|
+ from Cython.Distutils.old_build_ext import old_build_ext as _build_ext
|
||||||
|
+ except ImportError:
|
||||||
|
+ from Cython.Distutils import build_ext as _build_ext
|
||||||
|
with_cython = True
|
||||||
|
except ImportError:
|
||||||
|
if with_cython:
|
@ -1,12 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Oct 2 08:15:26 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
|
||||||
|
|
||||||
- Update to 6.0.2
|
|
||||||
* Support for Cython 3.x and Python 3.13
|
|
||||||
- Adjust invocation path for testsuite
|
|
||||||
- Adjust upstream source name in spec file
|
|
||||||
- Drop build-with-cython3.patch, merged upstream
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 1 10:52:46 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Mon Jul 1 10:52:46 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -18,12 +18,13 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-PyYAML
|
Name: python-PyYAML
|
||||||
Version: 6.0.2
|
Version: 6.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: YAML parser and emitter for Python
|
Summary: YAML parser and emitter for Python
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/yaml/pyyaml
|
URL: https://github.com/yaml/pyyaml
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pyyaml/pyyaml-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/P/PyYAML/PyYAML-%{version}.tar.gz
|
||||||
|
Patch1: build-with-cython3.patch
|
||||||
BuildRequires: %{python_module Cython}
|
BuildRequires: %{python_module Cython}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
@ -47,7 +48,7 @@ PyYAML is applicable for a broad range of tasks from complex
|
|||||||
configuration files to object serialization and persistance.
|
configuration files to object serialization and persistance.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n pyyaml-%{version}
|
%autosetup -p1 -n PyYAML-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
@ -65,7 +66,7 @@ find examples/ -type f | xargs chmod a-x
|
|||||||
%ifarch ppc ppc64 s390 s390x
|
%ifarch ppc ppc64 s390 s390x
|
||||||
ulimit -Sn 2048
|
ulimit -Sn 2048
|
||||||
%endif
|
%endif
|
||||||
%{python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python tests/legacy_tests/test_all.py}
|
%{python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python tests/lib/test_all.py}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
BIN
pyyaml-6.0.2.tar.gz
(Stored with Git LFS)
BIN
pyyaml-6.0.2.tar.gz
(Stored with Git LFS)
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user