init package

This commit is contained in:
li-miaomiao_zhr 2023-08-11 14:47:11 +08:00
parent a389429306
commit 389a0db726
2 changed files with 49 additions and 0 deletions

BIN
pdm_backend-2.1.5.tar.gz Normal file

Binary file not shown.

49
python-pdm-backend.spec Normal file
View 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