From 7e58523c65eda18164f5c18fe5aebdf05fb239e7c6f4ede560d711e664282014 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 14 Mar 2025 13:15:53 +0000 Subject: [PATCH] Accepting request 1253055 from home:fstegmeier:branches:devel:languages:python - Update to 0.9.1 * Added PEP 639 support for SPDX license and license files, METADATA 2.4 * Validate extra keys (warning, opt-in error) * Functions to check top level and build-system (including PEP 735 support) * Add TypedDict's in new module for typing pyproject.toml dicts * all_errors=True causes ExceptionGroup's to be emitted * Support METADATA 2.1+ JSON format with new .as_json() method * Handle multilines the way setuptools does with smart indentation * Warn on multiline Summary (project.description) * Improve locking for just metadata fields * Error on extra keys in author/maintainer * URL name stylization removed matching PEP 753 * Handle form feed for Python <3.12.4 * Some touchup based on packaging PR OBS-URL: https://build.opensuse.org/request/show/1253055 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyproject-metadata?expand=0&rev=9 --- pyproject-metadata-0.9.1.tar.gz | 3 +++ python-pyproject-metadata-0.7.1.tar.gz | 3 --- python-pyproject-metadata.changes | 20 ++++++++++++++++++++ python-pyproject-metadata.spec | 9 +++++---- 4 files changed, 28 insertions(+), 7 deletions(-) create mode 100644 pyproject-metadata-0.9.1.tar.gz delete mode 100644 python-pyproject-metadata-0.7.1.tar.gz diff --git a/pyproject-metadata-0.9.1.tar.gz b/pyproject-metadata-0.9.1.tar.gz new file mode 100644 index 0000000..3409b55 --- /dev/null +++ b/pyproject-metadata-0.9.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95213045cf74cb32642034ccb4b3223c2a4337fa675fa886cbd48be6780241c7 +size 39829 diff --git a/python-pyproject-metadata-0.7.1.tar.gz b/python-pyproject-metadata-0.7.1.tar.gz deleted file mode 100644 index 53bf58c..0000000 --- a/python-pyproject-metadata-0.7.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ad7467871eea29206d7cca024ee31bf9c1b13f7b9bfdefe94b481c7b671a8954 -size 14138 diff --git a/python-pyproject-metadata.changes b/python-pyproject-metadata.changes index b3d274e..5e51478 100644 --- a/python-pyproject-metadata.changes +++ b/python-pyproject-metadata.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Fri Mar 14 12:20:13 UTC 2025 - Felix Stegmeier + +- Update to 0.9.1 + + * Added PEP 639 support for SPDX license and license files, METADATA 2.4 + * Validate extra keys (warning, opt-in error) + * Functions to check top level and build-system (including PEP 735 support) + * Add TypedDict's in new module for typing pyproject.toml dicts + * all_errors=True causes ExceptionGroup's to be emitted + * Support METADATA 2.1+ JSON format with new .as_json() method + * Handle multilines the way setuptools does with smart indentation + * Warn on multiline Summary (project.description) + * Improve locking for just metadata fields + * Error on extra keys in author/maintainer + * URL name stylization removed matching PEP 753 + * Handle form feed for Python <3.12.4 + * Some touchup based on packaging PR + + ------------------------------------------------------------------- Thu Aug 17 12:49:35 UTC 2023 - Markéta Machová diff --git a/python-pyproject-metadata.spec b/python-pyproject-metadata.spec index 7554602..a6da66b 100644 --- a/python-pyproject-metadata.spec +++ b/python-pyproject-metadata.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyproject-metadata # -# Copyright (c) 2023 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,14 @@ %{?sle15_python_module_pythons} Name: python-pyproject-metadata -Version: 0.7.1 +Version: 0.9.1 Release: 0 Summary: PEP 621 metadata parsing License: MIT URL: https://github.com/FFY00/python-pyproject-metadata -Source: https://github.com/FFY00/python-pyproject-metadata/archive/refs/tags/%{version}.tar.gz#/python-pyproject-metadata-%{version}.tar.gz +Source: https://github.com/FFY00/python-pyproject-metadata/archive/refs/tags/%{version}.tar.gz#/pyproject-metadata-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module flit-core} BuildRequires: %{python_module packaging >= 19} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 42} @@ -52,7 +53,7 @@ parsed), it will validate this input and generate a PEP 643-compliant metadata file (e.g. `PKG-INFO`). %prep -%setup -q -n python-pyproject-metadata-%{version} +%autosetup -p1 -n pyproject-metadata-%{version} %build %pyproject_wheel