[packages/python3-opentelemetry-proto] - new

qboosh qboosh at pld-linux.org
Sat Feb 28 08:48:20 CET 2026


commit 2dd328a22c5ad85bde5d1901b23e80265af77696
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Feb 28 08:48:12 2026 +0100

    - new

 python3-opentelemetry-proto.spec | 65 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)
---
diff --git a/python3-opentelemetry-proto.spec b/python3-opentelemetry-proto.spec
new file mode 100644
index 0000000..69046b5
--- /dev/null
+++ b/python3-opentelemetry-proto.spec
@@ -0,0 +1,65 @@
+#
+# Conditional build:
+%bcond_without	tests	# unit tests
+
+Summary:	OpenTelemetry Python Proto
+Summary(pl.UTF-8):	Protokół OpenTelemetry dla Pythona
+Name:		python3-opentelemetry-proto
+Version:	1.39.1
+Release:	1
+License:	Apache v2.0
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/opentelemetry-proto/
+Source0:	https://files.pythonhosted.org/packages/source/o/opentelemetry-proto/opentelemetry_proto-%{version}.tar.gz
+# Source0-md5:	7c08c483d7ef60bdf25d5ef1f1d9fc8f
+URL:		https://pypi.org/project/opentelemetry-proto/
+BuildRequires:	python3-build
+BuildRequires:	python3-hatchling
+BuildRequires:	python3-installer
+BuildRequires:	python3-modules >= 1:3.9
+%if %{with tests}
+BuildRequires:	python3-protobuf >= 5.0
+BuildRequires:	python3-protobuf < 7
+%endif
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 2.044
+Requires:	python3-modules >= 1:3.9
+# (not strictly required, but for top dir and to keep versions in sync)
+Requires:	python3-opentelemetry-api = 1.39.1
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This library contains the generated code for OpenTelemetry protobuf
+data model.
+
+%description -l pl.UTF-8
+Ta biblioteka zawiera wygenerowany kod dla modelu danych protobuf.
+
+%prep
+%setup -q -n opentelemetry_proto-%{version}
+
+%build
+%py3_build_pyproject
+
+%if %{with tests}
+# metadata is required for tests
+%{__python3} -m zipfile -e build-3/*.whl build-3-test
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTHONPATH=$(pwd)/build-3-test \
+%{__python3} -m unittest discover -s tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rst
+%{py3_sitescriptdir}/opentelemetry/proto
+%{py3_sitescriptdir}/opentelemetry_proto-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-opentelemetry-proto.git/commitdiff/2dd328a22c5ad85bde5d1901b23e80265af77696



More information about the pld-cvs-commit mailing list