commit d8d2ffaf25bdb01b539292fb0dbb0342dfcae15d0e0b24924ffe1643a580d518 Author: Ana Guerrero Date: Tue Jan 16 20:37:53 2024 +0000 Accepting request 1139044 from devel:languages:python OBS-URL: https://build.opensuse.org/request/show/1139044 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-opentelemetry-exporter-otlp-proto-http?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/opentelemetry_exporter_otlp_proto_http-1.22.0.tar.gz b/opentelemetry_exporter_otlp_proto_http-1.22.0.tar.gz new file mode 100644 index 0000000..eaf3f22 --- /dev/null +++ b/opentelemetry_exporter_otlp_proto_http-1.22.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79ed108981ec68d5f7985355bca32003c2f3a5be1534a96d62d5861b758a82f4 +size 13991 diff --git a/python-opentelemetry-exporter-otlp-proto-http.changes b/python-opentelemetry-exporter-otlp-proto-http.changes new file mode 100644 index 0000000..26b1205 --- /dev/null +++ b/python-opentelemetry-exporter-otlp-proto-http.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Jan 15 21:10:53 UTC 2024 - Dirk Müller + +- Initial package (1.22.0) diff --git a/python-opentelemetry-exporter-otlp-proto-http.spec b/python-opentelemetry-exporter-otlp-proto-http.spec new file mode 100644 index 0000000..93e560d --- /dev/null +++ b/python-opentelemetry-exporter-otlp-proto-http.spec @@ -0,0 +1,79 @@ +# +# spec file for package python-opentelemetry-exporter-otlp-proto-http +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: python-opentelemetry-exporter-otlp-proto-http +Version: 1.22.0 +Release: 0 +Summary: OpenTelemetry Collector Protobuf over HTTP Exporter +License: Apache-2.0 +URL: https://github.com/open-telemetry/opentelemetry-python +Source: https://files.pythonhosted.org/packages/source/o/opentelemetry-exporter-otlp-proto-http/opentelemetry_exporter_otlp_proto_http-%{version}.tar.gz +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module pip} +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module backoff >= 1.10.0} +BuildRequires: %{python_module Deprecated >= 1.2.6} +BuildRequires: %{python_module googleapis-common-protos >= 1.52} +BuildRequires: %{python_module opentelemetry-api >= 1.15} +BuildRequires: %{python_module opentelemetry-exporter-otlp-proto-common == 1.22.0} +BuildRequires: %{python_module opentelemetry-proto == 1.22.0} +BuildRequires: %{python_module opentelemetry-sdk >= 1.22.0} +BuildRequires: %{python_module opentelemetry-test-utils} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module requests} +BuildRequires: %{python_module responses >= 0.22.0} +# /SECTION +BuildRequires: fdupes +Requires: python-Deprecated >= 1.2.6 +Requires: python-backoff >= 1.10.0 +Requires: python-googleapis-common-protos >= 1.52 +Requires: python-opentelemetry-api >= 1.15 +Requires: python-opentelemetry-exporter-otlp-proto-common == 1.22.0 +Requires: python-opentelemetry-proto == 1.22.0 +Requires: python-opentelemetry-sdk >= 1.22.0 +Requires: python-requests >= 2.7 +BuildArch: noarch +%python_subpackages + +%description +This library allows to export data to the OpenTelemetry Collector using the +OpenTelemetry Protocol using Protobuf over HTTP. + +%prep +%autosetup -p1 -n opentelemetry_exporter_otlp_proto_http-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%dir %{python_sitelib}/opentelemetry +%dir %{python_sitelib}/opentelemetry/exporter +%dir %{python_sitelib}/opentelemetry/exporter/otlp/ +%dir %{python_sitelib}/opentelemetry/exporter/otlp/proto +%{python_sitelib}/opentelemetry/exporter/otlp/proto/http +%{python_sitelib}/opentelemetry_exporter_otlp_proto_http-%{version}.dist-info + +%changelog