!1 Init package pyproject-metadata with v0.7.1

From: @li-miaomiao_zhr 
Reviewed-by: @desert-sailor 
Signed-off-by: @desert-sailor
This commit is contained in:
openeuler-ci-bot 2023-07-31 06:51:10 +00:00 committed by Gitee
commit 42e98ac1b4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 49 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,49 @@
%global _empty_manifest_terminate_build 0
%global pypi_name pyproject-metadata
Name: python-%{pypi_name}
Version: 0.7.1
Release: 1
Summary: PEP 621 metadata parsing
License: MIT
URL: https://pypi.org/project/pyproject-metadata/
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-pip
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-wheel
%description
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)
%package -n python3-%{pypi_name}
Summary: PEP 621 metadata parsing
%description -n python3-%{pypi_name}
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
%autosetup -n %{pypi_name}-%{version} -p1
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{pypi_name}
%doc README.md
%license LICENSE
%{python3_sitelib}/pyproject_metadata-*.dist-info/
%{python3_sitelib}/pyproject_metadata
%changelog
* Mon Jul 31 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 0.7.1-1
- Package init