forked from pool/python-PyYAML
Compare commits
7 Commits
Author | SHA256 | Date | |
---|---|---|---|
16d127ea4f | |||
569af03f27 | |||
4e62da06eb | |||
4875e633e2 | |||
33b2e78922 | |||
9a783322c7 | |||
1be86d53b4 |
BIN
PyYAML-6.0.1.tar.gz
(Stored with Git LFS)
BIN
PyYAML-6.0.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,17 +0,0 @@
|
||||
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,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 17 18:31:57 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- dont use suse version for the dist info handling as people can
|
||||
build with newer setuptools on older distros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 1 12:54:40 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Wrap the metadata directory name in a distro-based conditional
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 25 06:04:15 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Lowercase metadata directory name.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-PyYAML
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,13 +18,12 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-PyYAML
|
||||
Version: 6.0.1
|
||||
Version: 6.0.2
|
||||
Release: 0
|
||||
Summary: YAML parser and emitter for Python
|
||||
License: MIT
|
||||
URL: https://github.com/yaml/pyyaml
|
||||
Source: https://files.pythonhosted.org/packages/source/P/PyYAML/PyYAML-%{version}.tar.gz
|
||||
Patch1: build-with-cython3.patch
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pyyaml/pyyaml-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@@ -48,7 +47,7 @@ PyYAML is applicable for a broad range of tasks from complex
|
||||
configuration files to object serialization and persistance.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n PyYAML-%{version}
|
||||
%autosetup -p1 -n pyyaml-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
@@ -66,13 +65,13 @@ find examples/ -type f | xargs chmod a-x
|
||||
%ifarch ppc ppc64 s390 s390x
|
||||
ulimit -Sn 2048
|
||||
%endif
|
||||
%{python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python tests/lib/test_all.py}
|
||||
%{python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python tests/legacy_tests/test_all.py}
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc CHANGES README.md examples/
|
||||
%{python_sitearch}/yaml
|
||||
%{python_sitearch}/_yaml
|
||||
%{python_sitearch}/PyYAML-%{version}.dist-info
|
||||
%{python_sitearch}/[Pp]y[Yy][Aa][Mm][Ll]-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
BIN
pyyaml-6.0.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
pyyaml-6.0.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user