7 Commits

Author SHA256 Message Date
09db9e2d53 Accepting request 1270976 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1270976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyYAML?expand=0&rev=36
2025-04-20 07:34:44 +00:00
1321fbe06b Accepting request 1270619 from home:darix:apps
- dont use suse version for the dist info handling as people can
  build with newer setuptools on older distros

OBS-URL: https://build.opensuse.org/request/show/1270619
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyYAML?expand=0&rev=66
2025-04-19 16:00:44 +00:00
7853986b65 Accepting request 1266159 from devel:languages:python
- Wrap the metadata directory name in a distro-based conditional

- Lowercase metadata directory name.

OBS-URL: https://build.opensuse.org/request/show/1266159
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyYAML?expand=0&rev=35
2025-04-16 18:37:07 +00:00
03d7f60052 - Wrap the metadata directory name in a distro-based conditional
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyYAML?expand=0&rev=64
2025-04-01 12:54:58 +00:00
29d0a973ef - Lowercase metadata directory name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyYAML?expand=0&rev=63
2025-03-25 06:04:25 +00:00
3159e9ed3e Accepting request 1205113 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1205113
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyYAML?expand=0&rev=34
2024-10-02 19:32:09 +00:00
e3472d4719 Accepting request 1205102 from home:glaubitz:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1205102
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyYAML?expand=0&rev=61
2024-10-02 08:38:17 +00:00
5 changed files with 34 additions and 27 deletions

Binary file not shown.

View File

@@ -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:

View File

@@ -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>

View File

@@ -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 LFS Normal file

Binary file not shown.