%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-cloudpickle Version: 3.1.0 Release: 1mamba Summary: Serialize Python constructs not supported by the default pickle module from the Python standard library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://pypi.org/project/cloudpickle/ Source: https://pypi.debian.net/cloudpickle/cloudpickle-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: libpython311-devel ## AUTOBUILDREQ-END BuildRequires: python3-devel >= 3.11.5-3mamba %description %{summary}. %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q -n cloudpickle-%{version} %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) %dir %{python_sitelib}/%{pkgname}-%{version}.dist-info %{python_sitelib}/%{pkgname}-%{version}.dist-info/* %dir %{python_sitelib}/%{pkgname} %{python_sitelib}/%{pkgname}/* %changelog * Sat Oct 12 2024 Automatic Build System 3.1.0-1mamba - automatic version update by autodist * Fri Dec 01 2023 Automatic Build System 3.0.0-1mamba - automatic version update by autodist * Tue Sep 26 2023 Automatic Build System 2.2.1-3mamba - rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba * Thu Apr 06 2023 Silvan Calarco 2.2.1-2mamba - rebuilt with python 3.10 * Sun Jan 22 2023 Automatic Build System 2.2.1-1mamba - automatic version update by autodist * Mon Sep 12 2022 Automatic Build System 2.2.0-1mamba - automatic version update by autodist * Sat May 21 2022 Automatic Build System 2.1.0-1mamba - automatic version update by autodist * Sat Sep 11 2021 Automatic Build System 2.0.0-1mamba - automatic version update by autodist * Sun Apr 11 2021 Silvan Calarco 1.6.0-2mamba - rebuilt with distdeps * Thu Jan 21 2021 Silvan Calarco 1.6.0-1mamba - package created using the webbuild interface