python-pdm-backend/python-pdm-backend.spec

58 lines
1.7 KiB
RPMSpec
Raw Permalink Normal View History

2023-08-11 14:47:11 +08:00
%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}
2024-03-05 09:09:32 +08:00
Version: 2.1.8
2023-08-11 14:47:11 +08:00
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
2024-03-05 09:09:32 +08:00
* Tue Mar 5 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 2.1.8-1
- Update package with version 2.1.8
Bugfix: Can't include nested data files in built wheel.
Rename tag-pattern to tag_regex in the docs.
Copytree handle existing dirs.
Normalize the dist info name in the wheel.
Path to uri expansion in dependency string.
2023-08-11 14:47:11 +08:00
* Fri Aug 11 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 2.1.5-1
- Package init