Blob Blame History Raw
Name:           python-poetry-core
Version:        1.0.0
Release:        0%{?dist}
Summary:        Poetry PEP 517 Build Backend

License:        MIT
Source0:        %{pypi_source poetry-core}

BuildArch:      noarch
BuildRequires:  python3-devel
BuildRequires:  pyproject-rpm-macros

Test a build with pyproject.toml backend-path = [.]
poetry-core builds with poetry-core.

%package -n python3-poetry-core
Summary:        %{summary}

%description -n python3-poetry-core

%autosetup -p1 -n poetry-core-%{version}


%if 0%{?fedora} < 33 && 0%{?rhel} < 9
# the old pip version cannot handle backend-path properly, let's help it:

%pyproject_save_files poetry

%files -n python3-poetry-core -f %{pyproject_files}
%license LICENSE