git: 874280bc13b1 - main - devel/py-opentelemetry-exporter-otlp-proto-common: Add py-opentelemetry-exporter-otlp-proto-common 1.27.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 08 Sep 2024 18:42:02 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=874280bc13b184a122ad70789fb1bad9d270da1a

commit 874280bc13b184a122ad70789fb1bad9d270da1a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-08 17:47:26 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-08 18:36:54 +0000

    devel/py-opentelemetry-exporter-otlp-proto-common: Add py-opentelemetry-exporter-otlp-proto-common 1.27.0
    
    OpenTelemetry Protobuf Encoding is provided as a convenience to encode to
    Protobuf. Currently used by:
    - opentelemetry-exporter-otlp-proto-grpc
    - opentelemetry-exporter-otlp-proto-http
---
 devel/Makefile                                     |  1 +
 .../Makefile                                       | 25 ++++++++++++++++++++++
 .../distinfo                                       |  3 +++
 .../pkg-descr                                      |  4 ++++
 4 files changed, 33 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 4141c300c913..f108461c8238 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5252,6 +5252,7 @@
     SUBDIR += py-openstacksdk
     SUBDIR += py-opentelemetry-api
     SUBDIR += py-opentelemetry-exporter-otlp
+    SUBDIR += py-opentelemetry-exporter-otlp-proto-common
     SUBDIR += py-opentelemetry-sdk
     SUBDIR += py-opentelemetry-semantic-conventions
     SUBDIR += py-opentracing
diff --git a/devel/py-opentelemetry-exporter-otlp-proto-common/Makefile b/devel/py-opentelemetry-exporter-otlp-proto-common/Makefile
new file mode 100644
index 000000000000..93a0393380e5
--- /dev/null
+++ b/devel/py-opentelemetry-exporter-otlp-proto-common/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	opentelemetry-exporter-otlp-proto-common
+PORTVERSION=	1.27.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	opentelemetry_exporter_otlp_proto_common-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	OpenTelemetry Protobuf encoding
+WWW=		https://github.com/open-telemetry/opentelemetry-python/tree/main/exporter/opentelemetry-exporter-otlp-proto-common \
+		https://github.com/open-telemetry/opentelemetry-python \
+		https://opentelemetry.io/
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}opentelemetry-proto>=${PORTVERSION}<${PORTVERSION}_99:devel/py-opentelemetry-proto@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-opentelemetry-exporter-otlp-proto-common/distinfo b/devel/py-opentelemetry-exporter-otlp-proto-common/distinfo
new file mode 100644
index 000000000000..29bceafdf4d6
--- /dev/null
+++ b/devel/py-opentelemetry-exporter-otlp-proto-common/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1725559533
+SHA256 (opentelemetry_exporter_otlp_proto_common-1.27.0.tar.gz) = 159d27cf49f359e3798c4c3eb8da6ef4020e292571bd8c5604a2a573231dd5c8
+SIZE (opentelemetry_exporter_otlp_proto_common-1.27.0.tar.gz) = 17860
diff --git a/devel/py-opentelemetry-exporter-otlp-proto-common/pkg-descr b/devel/py-opentelemetry-exporter-otlp-proto-common/pkg-descr
new file mode 100644
index 000000000000..e8e515194c0a
--- /dev/null
+++ b/devel/py-opentelemetry-exporter-otlp-proto-common/pkg-descr
@@ -0,0 +1,4 @@
+OpenTelemetry Protobuf Encoding is provided as a convenience to encode to
+Protobuf. Currently used by:
+- opentelemetry-exporter-otlp-proto-grpc
+- opentelemetry-exporter-otlp-proto-http