2024-01-06 11:22:30 +01:00
|
|
|
%define pkgname lazr.delegates
|
|
|
|
Name: python-lazr-delegates
|
2025-01-22 17:56:25 +01:00
|
|
|
Version: 2.1.1
|
2024-01-06 11:22:30 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Easily write objects that delegate behavior
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://launchpad.net/lazr.delegates
|
2025-01-22 17:56:25 +01:00
|
|
|
Source: https://pypi.debian.net/lazr.delegates/lazr_delegates-%{version}.tar.gz
|
2024-01-06 11:22:30 +01:00
|
|
|
License: LGPL
|
2025-01-22 17:56:25 +01:00
|
|
|
BuildArch: noarch
|
2024-01-06 11:22:30 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libpython311-devel
|
|
|
|
BuildRequires: python3.11dist(setuptools)
|
|
|
|
BuildRequires: python3.11dist(zope.interface)
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
2025-01-22 17:56:25 +01:00
|
|
|
%setup -q -n lazr_delegates-%{version}
|
2024-01-06 11:22:30 +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)
|
|
|
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
|
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
|
|
%{python_sitelib}/lazr.delegates-%{version}-py*-nspkg.pth
|
|
|
|
%dir %{python_sitelib}/lazr/delegates
|
|
|
|
%{python_sitelib}/lazr/delegates/*
|
|
|
|
|
|
|
|
%changelog
|
2025-01-22 17:56:25 +01:00
|
|
|
* Wed Jan 22 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.1-1mamba
|
|
|
|
- update to 2.1.1
|
|
|
|
|
2024-01-06 11:22:30 +01:00
|
|
|
* Mon Dec 25 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-1mamba
|
|
|
|
- package created using the webbuild interface
|