From 02d83a6e26a5cf2137ecb7665a425a7a9854915f Mon Sep 17 00:00:00 2001 From: bnavigator <> Date: Sep 19 2022 14:08:47 +0000 Subject: Update python-pyproject-metadata to version 0.6.1 / rev 1 via SR 1004201 https://build.opensuse.org/request/show/1004201 by user bnavigator + dimstar_suse required by python-meson-python --- diff --git a/.files b/.files new file mode 100644 index 0000000..09bb0e5 Binary files /dev/null and b/.files differ diff --git a/.meta b/.meta new file mode 100644 index 0000000..a14d43c --- /dev/null +++ b/.meta @@ -0,0 +1,5 @@ + + + + + diff --git a/.rev b/.rev new file mode 100644 index 0000000..ed27c22 --- /dev/null +++ b/.rev @@ -0,0 +1,10 @@ + + + 88660fd8ca7d68c4bf6adef7a985a036 + 0.6.1 + + dimstar_suse + required by python-meson-python + 1004201 + + diff --git a/python-pyproject-metadata-0.6.1.tar.gz b/python-pyproject-metadata-0.6.1.tar.gz new file mode 120000 index 0000000..854f49c --- /dev/null +++ b/python-pyproject-metadata-0.6.1.tar.gz @@ -0,0 +1 @@ +/ipfs/bafkreibpmuvwwyzozua27momoavs7cjuncfkxkkxxaurwarqqvfokijqti \ No newline at end of file diff --git a/python-pyproject-metadata.changes b/python-pyproject-metadata.changes new file mode 100644 index 0000000..bf5ca78 --- /dev/null +++ b/python-pyproject-metadata.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sat Sep 10 21:25:27 UTC 2022 - Ben Greiner + +- Initial specfile for v 0.6.1 +- Required by meson-python diff --git a/python-pyproject-metadata.spec b/python-pyproject-metadata.spec new file mode 100644 index 0000000..190f2ea --- /dev/null +++ b/python-pyproject-metadata.spec @@ -0,0 +1,70 @@ +# +# spec file for package python-pyproject-metadata +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: python-pyproject-metadata +Version: 0.6.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 +BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module packaging >= 19} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools >= 42} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-packaging >= 19 +BuildArch: noarch +# SECTION test +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module tomli >= 1.0.0} +# /SECTION +%python_subpackages + +%description +Dataclass for PEP 621 metadata with support for core metadata generation + +This project does not implement the parsing of `pyproject.toml` +containing PEP 621 metadata. + +Instead, given a Python data structure representing PEP 621 metadata (already +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} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%license LICENSE +%doc README.md +%{python_sitelib}/pyproject_metadata +%{python_sitelib}/pyproject_metadata-%{version}*-info + +%changelog