[packages/python3-protobuf] - python-protobuf.spec updated to 5.29.6 for python 3.8+; will replace package built from protobuf.s

qboosh qboosh at pld-linux.org
Tue Mar 3 21:46:04 CET 2026


commit 2d6e6c8675fd4b9b2d388d176b1c061219c2eaa4
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Mar 3 21:46:04 2026 +0100

    - python-protobuf.spec updated to 5.29.6 for python 3.8+; will replace package built from protobuf.spec

 python-protobuf.spec  | 49 ------------------------------------------------
 python3-protobuf.spec | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+), 49 deletions(-)
---
diff --git a/python-protobuf.spec b/python-protobuf.spec
deleted file mode 100644
index dcabf62..0000000
--- a/python-protobuf.spec
+++ /dev/null
@@ -1,49 +0,0 @@
-Summary:	Python 2 bindings for Protocol Buffers
-Summary(pl.UTF-8):	Wiązania Pythona 2 do buforów protokołowych (Protocol Buffers)
-Name:		python-protobuf
-# keep 3.17.x here for python2 support
-Version:	3.17.3
-Release:	1
-License:	BSD
-Group:		Libraries/Python
-#Source0Download: https://pypi.org/simple/protobuf/
-Source0:	https://files.pythonhosted.org/packages/source/p/protobuf/protobuf-%{version}.tar.gz
-# Source0-md5:	03728f8c4d6d67ac9e0017f227a29538
-URL:		https://pypi.org/project/protobuf/
-BuildRequires:	python-modules >= 1:2.7
-BuildRequires:	python-setuptools
-BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.714
-Requires:	python-modules >= 1:2.7
-BuildArch:	noarch
-BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-Python 2 bindings for Protocol Buffers.
-
-%description -l pl.UTF-8
-Wiązania Pythona 2 do buforów protokołowych (Protocol Buffers).
-
-%prep
-%setup -q -n protobuf-%{version}
-
-%build
-%py_build
-
-%install
-rm -rf $RPM_BUILD_ROOT
-
-%py_install
-
-%py_postclean
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(644,root,root,755)
-%doc README.md
-%dir %{py_sitescriptdir}/google
-%{py_sitescriptdir}/google/protobuf
-%{py_sitescriptdir}/protobuf-%{version}-py*.egg-info
-%{py_sitescriptdir}/protobuf-%{version}-py*-nspkg.pth
diff --git a/python3-protobuf.spec b/python3-protobuf.spec
new file mode 100644
index 0000000..6f664b5
--- /dev/null
+++ b/python3-protobuf.spec
@@ -0,0 +1,52 @@
+# TODO: systam upb and utf8_range?
+Summary:	Python bindings for Protocol Buffers
+Summary(pl.UTF-8):	Wiązania Pythona do buforów protokołowych (Protocol Buffers)
+Name:		python3-protobuf
+Version:	5.29.6
+Release:	1
+License:	BSD
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/protobuf/
+Source0:	https://files.pythonhosted.org/packages/source/p/protobuf/protobuf-%{version}.tar.gz
+# Source0-md5:	55db2bb71110a13765d3d80210fae0ef
+URL:		https://pypi.org/project/protobuf/
+BuildRequires:	python3-modules >= 1:3.8
+BuildRequires:	python3-setuptools
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python3-modules >= 1:3.8
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Python bindings for Protocol Buffers.
+
+Protocol Buffers are Google's data interchange format.
+
+%description -l pl.UTF-8
+Wiązania Pythona do buforów protokołowych (Protocol Buffers).
+
+Protocol Buffers to format wymiany danych stworzony przez Google.
+
+%prep
+%setup -q -n protobuf-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.md
+%dir %{py3_sitedir}/google
+%dir %{py3_sitedir}/google/_upb
+%{py3_sitedir}/google/_upb/_message.cpython-*.so
+%{py3_sitedir}/google/protobuf
+%{py3_sitedir}/protobuf-%{version}-py*.egg-info
+%{py3_sitedir}/protobuf-%{version}-py*-nspkg.pth
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-protobuf.git/commitdiff/2d6e6c8675fd4b9b2d388d176b1c061219c2eaa4



More information about the pld-cvs-commit mailing list