2024-01-05 16:19:51 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
|
|
|
Name: python-poetry
|
2024-10-17 11:37:27 +02:00
|
|
|
Version: 1.8.4
|
2024-02-27 10:18:11 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 16:19:51 +01:00
|
|
|
Summary: Python dependency management and packaging made easy
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://python-poetry.org/
|
|
|
|
Source: https://pypi.debian.net/poetry/poetry-%{version}.tar.gz
|
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libpython311-devel
|
|
|
|
BuildRequires: python3.11dist(build)
|
|
|
|
BuildRequires: python3.11dist(cachecontrol)
|
|
|
|
BuildRequires: python3.11dist(cleo)
|
|
|
|
BuildRequires: python3.11dist(crashtest)
|
|
|
|
BuildRequires: python3.11dist(dulwich)
|
2024-01-05 16:19:52 +01:00
|
|
|
BuildRequires: python3.11dist(fastjsonschema)
|
2024-01-05 16:19:51 +01:00
|
|
|
BuildRequires: python3.11dist(installer)
|
|
|
|
BuildRequires: python3.11dist(keyring)
|
|
|
|
BuildRequires: python3.11dist(packaging)
|
|
|
|
BuildRequires: python3.11dist(pexpect)
|
|
|
|
BuildRequires: python3.11dist(pkginfo)
|
|
|
|
BuildRequires: python3.11dist(platformdirs)
|
|
|
|
BuildRequires: python3.11dist(poetry-core)
|
|
|
|
BuildRequires: python3.11dist(poetry-plugin-export)
|
|
|
|
BuildRequires: python3.11dist(pyproject-hooks)
|
|
|
|
BuildRequires: python3.11dist(requests)
|
|
|
|
BuildRequires: python3.11dist(requests-toolbelt)
|
|
|
|
BuildRequires: python3.11dist(shellingham)
|
|
|
|
BuildRequires: python3.11dist(tomlkit)
|
|
|
|
BuildRequires: python3.11dist(trove-classifiers)
|
|
|
|
BuildRequires: python3.11dist(virtualenv)
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n poetry-%{version}
|
2024-01-15 10:07:53 +01:00
|
|
|
sed -i 's|platformdirs = .*|platformdirs = ">=3.0.0,<5"|' pyproject.toml
|
2024-02-14 00:43:28 +01:00
|
|
|
sed -i -e '/^cachecontrol/s/ version = .*,/ version = ">=0.13.0",/' pyproject.toml
|
2024-01-05 16:19:51 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
|
|
|
|
|
|
|
#%if "%{?with_pyver}" != "3"
|
|
|
|
## Rename any conflicting file outside of python site packages tree
|
|
|
|
#for f in %{_bindir}/pdm; do
|
|
|
|
# mv %{buildroot}${f}{,-%{?pyappend}}
|
|
|
|
#done
|
|
|
|
#%endif
|
|
|
|
|
|
|
|
%files %{?pyappend}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/poetry
|
|
|
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
|
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
|
|
%dir %{python_sitelib}/%{pkgname}
|
|
|
|
%{python_sitelib}/%{pkgname}/*
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-10-17 11:37:27 +02:00
|
|
|
* Tue Oct 15 2024 Automatic Build System <autodist@openmamba.org> 1.8.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-05-10 13:45:35 +02:00
|
|
|
* Thu May 09 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.3-1mamba
|
|
|
|
- update to 1.8.3
|
|
|
|
|
2024-03-03 11:00:36 +01:00
|
|
|
* Sun Mar 03 2024 Automatic Build System <autodist@openmamba.org> 1.8.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-27 10:18:11 +01:00
|
|
|
* Tue Feb 27 2024 Automatic Build System <autodist@openmamba.org> 1.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Feb 26 2024 Automatic Build System <autodist@openmamba.org> 1.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-14 00:43:28 +01:00
|
|
|
* Tue Feb 13 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.1-3mamba
|
|
|
|
- loosen version requirement on cachecontrol
|
|
|
|
|
2024-01-15 10:07:53 +01:00
|
|
|
* Sun Jan 14 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.1-2mamba
|
|
|
|
- loosen requirement for platformdirs 4.1.0
|
|
|
|
|
2024-01-05 16:19:53 +01:00
|
|
|
* Fri Nov 17 2023 Automatic Build System <autodist@mambasoft.it> 1.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:19:52 +01:00
|
|
|
* Fri Nov 10 2023 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:19:51 +01:00
|
|
|
* Sat Sep 30 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.1-1mamba
|
|
|
|
- package created using the webbuild interface
|