2020-10-05 22:30:45 +00:00
|
|
|
Name: python-poetry-core
|
2023-08-30 20:40:13 +00:00
|
|
|
Version: 1.1.0
|
2020-10-05 22:30:45 +00:00
|
|
|
Release: 0%{?dist}
|
|
|
|
Summary: Poetry PEP 517 Build Backend
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
URL: https://pypi.org/project/poetry-core/
|
|
|
|
Source0: %{pypi_source poetry-core}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: pyproject-rpm-macros
|
|
|
|
|
|
|
|
%description
|
|
|
|
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
|
|
|
|
...
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n poetry-core-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%pyproject_buildrequires
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%pyproject_install
|
2023-09-27 12:37:15 +00:00
|
|
|
# the license is not marked as License-File by poetry-core, hence -L
|
|
|
|
%pyproject_save_files -L poetry
|
2020-10-05 22:30:45 +00:00
|
|
|
|
2023-09-27 12:37:15 +00:00
|
|
|
# internal check for our macros, -l must fail:
|
|
|
|
%pyproject_save_files -l poetry && exit 1 || true
|
2020-10-05 22:30:45 +00:00
|
|
|
|
|
|
|
%files -n python3-poetry-core -f %{pyproject_files}
|
|
|
|
%doc README.md
|
|
|
|
%license LICENSE
|