Name: python-pdm-backend Version: 2.0.5 Release: 1%{?dist} Summary: The build backend used by PDM that supports latest packaging standards License: MIT URL: https://github.com/pdm-project/pdm-backend Source: %{pypi_source pdm_backend} # Unbundles vendored dependencies and drops # validate_pyproject entirely. For context, see # https://bugzilla.redhat.com/show_bug.cgi?id=2179101 Patch: unbundle-vendored-deps.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-packaging BuildRequires: python3-tomli-w BuildRequires: python3-pyproject-metadata # Test-only deps BuildRequires: gcc BuildRequires: git-core BuildRequires: python3-editables BuildRequires: python3-pytest BuildRequires: python3-setuptools %global _description %{expand: The build backend used by PDM that supports latest packaging standards.} %description %_description %package -n python3-pdm-backend Summary: %{summary} Requires: python3-packaging Requires: python3-tomli-w Requires: python3-pyproject-metadata %description -n python3-pdm-backend %_description %prep %autosetup -p1 -n pdm_backend-%{version} rm -rv src/pdm/backend/_vendor %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pdm %check %pytest %files -n python3-pdm-backend -f %{pyproject_files} %license LICENSE %doc README.md %changelog * Mon Mar 20 2023 Lumír Balhar - 2.0.5-1 - Initial package