diff --git a/pyproject-metadata-0.7.1.tar.gz b/pyproject-metadata-0.7.1.tar.gz new file mode 100644 index 0000000..f5c5a57 Binary files /dev/null and b/pyproject-metadata-0.7.1.tar.gz differ diff --git a/python-pyproject-metadata.spec b/python-pyproject-metadata.spec new file mode 100644 index 0000000..0b06177 --- /dev/null +++ b/python-pyproject-metadata.spec @@ -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 - 0.7.1-1 +- Package init