package created using the webbuild interface [release 2.1.0-1mamba;Mon Dec 25 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 11:22:30 +01:00
parent 29806834fb
commit 0faceb5e91
2 changed files with 55 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-lazr-delegates # python-lazr-delegates
Easily write objects that delegate behavior.

View File

@ -0,0 +1,53 @@
%define pkgname lazr.delegates
Name: python-lazr-delegates
Version: 2.1.0
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
Source: https://pypi.debian.net/lazr.delegates/lazr.delegates-%{version}.tar.gz
License: LGPL
## 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
%setup -q -n lazr.delegates-%{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/*
%{python_sitelib}/lazr.delegates-%{version}-py*-nspkg.pth
%dir %{python_sitelib}/lazr/delegates
%{python_sitelib}/lazr/delegates/*
%changelog
* Mon Dec 25 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-1mamba
- package created using the webbuild interface