!1 Init python-pdm-backend package to version 2.1.5
From: @li-miaomiao_zhr Reviewed-by: @desert-sailor, @yangzhao_kl Signed-off-by: @desert-sailor, @yangzhao_kl
This commit is contained in:
commit
ad353de520
BIN
pdm_backend-2.1.5.tar.gz
Normal file
BIN
pdm_backend-2.1.5.tar.gz
Normal file
Binary file not shown.
49
python-pdm-backend.spec
Normal file
49
python-pdm-backend.spec
Normal file
@ -0,0 +1,49 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
%global pypi_name pdm-backend
|
||||
|
||||
%global _description %{expand:
|
||||
This is the backend for PDM projects that is fully-compatible with PEP 517 spec,\
|
||||
but you can also use it alone. It reads the metadata of PEP 621 format and coverts it to Core metadata.}
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 2.1.5
|
||||
Release: 1
|
||||
Summary: The build backend used by PDM that supports latest packaging standards
|
||||
License: MIT
|
||||
URL: https://github.com/pdm-project/pdm-backend
|
||||
Source0: %{url}/archive/%{version}/pdm_backend-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-setuptools_scm
|
||||
BuildRequires: python3-importlib-metadata
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: The build backend used by PDM that supports latest packaging standards
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
||||
%description -n python3-%{pypi_name} %_description
|
||||
|
||||
%prep
|
||||
%autosetup -n pdm_backend-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_build
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python3_sitelib}/pdm/backend/
|
||||
%{python3_sitelib}/pdm_backend-*.dist-info/
|
||||
|
||||
%changelog
|
||||
* Fri Aug 11 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 2.1.5-1
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user