[packages/python3-opentelemetry-exporter-otlp] - new

qboosh qboosh at pld-linux.org
Sat Mar 7 11:34:09 CET 2026


commit b47d2cccd81781831e42ef01591eba71d46a117e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Mar 7 11:34:04 2026 +0100

    - new

 python3-opentelemetry-exporter-otlp.spec | 74 ++++++++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)
---
diff --git a/python3-opentelemetry-exporter-otlp.spec b/python3-opentelemetry-exporter-otlp.spec
new file mode 100644
index 0000000..a0f1d79
--- /dev/null
+++ b/python3-opentelemetry-exporter-otlp.spec
@@ -0,0 +1,74 @@
+#
+# Conditional build:
+%bcond_without	tests	# unit tests
+
+Summary:	OpenTelemetry Collector Exporters
+Summary(pl.UTF-8):	Moduły eksportujące dane zbierane przez OpenTelemetry
+Name:		python3-opentelemetry-exporter-otlp
+Version:	1.40.0
+Release:	1
+License:	Apache v2.0
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/opentelemetry-exporter-otlp/
+Source0:	https://files.pythonhosted.org/packages/source/o/opentelemetry-exporter-otlp/opentelemetry_exporter_otlp-%{version}.tar.gz
+# Source0-md5:	591a899cfcedf2663f3f0e2425a44f29
+URL:		https://pypi.org/project/opentelemetry-exporter-otlp/
+BuildRequires:	python3-build
+BuildRequires:	python3-hatchling
+BuildRequires:	python3-installer
+BuildRequires:	python3-modules >= 1:3.9
+%if %{with tests}
+BuildRequires:	python3-opentelemetry-exporter-otlp-proto-grpc = 1.40.0
+BuildRequires:	python3-opentelemetry-exporter-otlp-proto-http = 1.40.0
+BuildRequires:	python3-opentelemetry-test-utils = 0.61
+%endif
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 2.044
+Requires:	python3-modules >= 1:3.9
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This library is provided as a convenience to install all supported
+OpenTelemetry Collector Exporters. Currently it installs:
+- opentelemetry-exporter-otlp-proto-grpc
+- opentelemetry-exporter-otlp-proto-http
+
+In the future, additional packages will be available:
+- opentelemetry-exporter-otlp-json-http
+
+%description -l pl.UTF-8
+Ta biblioteka jest udostępniona dla wygody, aby zainstalować wszystkie
+obsługiwane eksportery danych zbieranych przez OpenTelemetry. Obecnie
+instaluje:
+- opentelemetry-exporter-otlp-proto-grpc
+- opentelemetry-exporter-otlp-proto-http
+
+W przyszłości dostępne będą dodatkowe pakiety:
+- opentelemetry-exporter-otlp-json-http
+
+%prep
+%setup -q -n opentelemetry_exporter_otlp-%{version}
+
+%build
+%py3_build_pyproject
+
+%if %{with tests}
+PYTHONPATH=$(pwd)/src \
+%{__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/exporter/otlp/py.typed
+%{py3_sitescriptdir}/opentelemetry/exporter/otlp/version
+%{py3_sitescriptdir}/opentelemetry_exporter_otlp-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-opentelemetry-exporter-otlp.git/commitdiff/b47d2cccd81781831e42ef01591eba71d46a117e



More information about the pld-cvs-commit mailing list