package created using the webbuild interface [release 1.26.1-1mamba;Thu Nov 20 2025]

This commit is contained in:
2025-11-21 10:49:08 +01:00
parent 54dd71ef7b
commit 1a36b0ad2c
2 changed files with 55 additions and 0 deletions

View File

@@ -1,2 +1,4 @@
# python-proto-plus
Beautiful, Pythonic protocol buffers.

53
python-proto-plus.spec Normal file
View File

@@ -0,0 +1,53 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-proto-plus
Version: 1.26.1
Release: 1mamba
Summary: Beautiful, Pythonic protocol buffers
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/googleapis/proto-plus-python
Source: https://pypi.debian.net/proto-plus/proto_plus-%{version}.tar.gz
License: Apache License 2.0
BuildArch: noarch
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel
BuildRequires: python3.11dist(protobuf)
## AUTOBUILDREQ-END
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n proto_plus-%{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}/proto
%{python_sitelib}/proto/*
%doc LICENSE
%changelog
* Thu Nov 20 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 1.26.1-1mamba
- package created using the webbuild interface