summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason W. Bacon <jwb@FreeBSD.org>2025-09-30 21:23:58 -0500
committerJason W. Bacon <jwb@FreeBSD.org>2025-09-30 21:23:58 -0500
commit380ec082784637c134166e9ff08a1602a94dd140 (patch)
tree7402453f0190ebda3ca077ff9fd172edc2a1aec2
parentdevel/electron38: update to 38.2.0 (diff)
net/py-google-cloud-pubsub: Python interface to Google pubsub
Google Cloud Pub / Sub is a fully-managed real-time messaging service that allows you to send and receive messages between independent applications. You can leverage Cloud Pub/Sub's flexibility to decouple systems and components hosted on Google Cloud Platform or elsewhere on the Internet. By building on the same technology Google uses, Cloud Pub / Sub is designed to provide "at least once" delivery at low latency with on-demand scalability to 1 million messages per second (and beyond).
-rw-r--r--net/Makefile1
-rw-r--r--net/py-google-cloud-pubsub/Makefile27
-rw-r--r--net/py-google-cloud-pubsub/distinfo3
-rw-r--r--net/py-google-cloud-pubsub/pkg-descr8
4 files changed, 39 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 076612e182ad..758f6f362829 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1071,6 +1071,7 @@
SUBDIR += py-gdown
SUBDIR += py-geopy
SUBDIR += py-gntp
+ SUBDIR += py-google-cloud-pubsub
SUBDIR += py-greenstalk
SUBDIR += py-gspread
SUBDIR += py-h11
diff --git a/net/py-google-cloud-pubsub/Makefile b/net/py-google-cloud-pubsub/Makefile
new file mode 100644
index 000000000000..14e51e5c39a9
--- /dev/null
+++ b/net/py-google-cloud-pubsub/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= google_cloud_pubsub
+DISTVERSION= 2.31.1
+CATEGORIES= net python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= jwb@FreeBSD.org
+COMMENT= Python interface to Google pubsub
+WWW= https://github.com/googleapis/python-pubsub
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}grpcio>=1.51.3<2:devel/py-grpcio@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}google-auth>=2.14.1<3:security/py-google-auth@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}google-api-core>=1.34.0<3:www/py-google-api-core@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}proto-plus>=1.22.0<2:devel/py-proto-plus@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}protobuf>=3.20.2<7,1:devel/py-protobuf@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}grpc-google-iam-v1>=0.12.4<1:devel/py-grpc-google-iam-v1@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}grpcio-status>=1.33.2:devel/py-grpcio-status@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}opentelemetry-api>=1.27.0:devel/py-opentelemetry-api@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}opentelemetry-sdk>=1.27.0:devel/py-opentelemetry-sdk@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/net/py-google-cloud-pubsub/distinfo b/net/py-google-cloud-pubsub/distinfo
new file mode 100644
index 000000000000..2e8fe1b68b47
--- /dev/null
+++ b/net/py-google-cloud-pubsub/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1759167529
+SHA256 (google_cloud_pubsub-2.31.1.tar.gz) = f4214f692da435afcdfb41e77cfa962238db96e4a4ba64637aaa710442d9c532
+SIZE (google_cloud_pubsub-2.31.1.tar.gz) = 391409
diff --git a/net/py-google-cloud-pubsub/pkg-descr b/net/py-google-cloud-pubsub/pkg-descr
new file mode 100644
index 000000000000..3db54508ef55
--- /dev/null
+++ b/net/py-google-cloud-pubsub/pkg-descr
@@ -0,0 +1,8 @@
+Google Cloud Pub / Sub is a fully-managed real-time messaging service
+that allows you to send and receive messages between independent
+applications. You can leverage Cloud Pub/Sub's flexibility to decouple
+systems and components hosted on Google Cloud Platform or elsewhere on
+the Internet. By building on the same technology Google uses, Cloud Pub
+/ Sub is designed to provide "at least once" delivery at low latency
+with on-demand scalability to 1 million messages per second (and
+beyond).