!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:
commit
42e98ac1b4
BIN
pyproject-metadata-0.7.1.tar.gz
Normal file
BIN
pyproject-metadata-0.7.1.tar.gz
Normal file
Binary file not shown.
49
python-pyproject-metadata.spec
Normal file
49
python-pyproject-metadata.spec
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user