git: 3b75dde289d9 - main - www/py-google-cloud-compute: Add py-google-cloud-compute 1.23.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 25 Dec 2024 19:17:52 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3b75dde289d9fb9769c7a64dd4966ad664173d9e

commit 3b75dde289d9fb9769c7a64dd4966ad664173d9e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-12-25 14:17:09 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-12-25 19:14:57 +0000

    www/py-google-cloud-compute: Add py-google-cloud-compute 1.23.0
    
    Compute Engine: delivers virtual machines running in Google's innovative data
    centers and worldwide fiber network. Compute Engine's tooling and workflow
    support enable scaling from single instances to global, load-balanced cloud
    computing. Compute Engine's VMs boot quickly, come with persistent disk storage,
    deliver consistent performance and are available in many configurations.
---
 www/Makefile                          |  1 +
 www/py-google-cloud-compute/Makefile  | 28 ++++++++++++++++++++++++++++
 www/py-google-cloud-compute/distinfo  |  3 +++
 www/py-google-cloud-compute/pkg-descr |  5 +++++
 4 files changed, 37 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 47232ac41d8d..5b100a096cc9 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1720,6 +1720,7 @@
     SUBDIR += py-google-cloud-audit-log
     SUBDIR += py-google-cloud-bigquery
     SUBDIR += py-google-cloud-bigtable
+    SUBDIR += py-google-cloud-compute
     SUBDIR += py-google-cloud-core
     SUBDIR += py-google-cloud-datastore
     SUBDIR += py-google-cloud-dlp
diff --git a/www/py-google-cloud-compute/Makefile b/www/py-google-cloud-compute/Makefile
new file mode 100644
index 000000000000..dc19bd4cb5ac
--- /dev/null
+++ b/www/py-google-cloud-compute/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	google-cloud-compute
+PORTVERSION=	1.23.0
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	google_cloud_compute-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Google Cloud Compute API client library
+WWW=		https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-compute \
+		https://github.com/googleapis/google-cloud-python
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-api-core>=2.11.0:www/py-google-api-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}google-auth>=2.26.0:security/py-google-auth@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}proto-plus>=1.25.0<2.0.0:devel/py-proto-plus@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}protobuf>=3.20.2,1<6.0.0,1:devel/py-protobuf@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/py-google-cloud-compute/distinfo b/www/py-google-cloud-compute/distinfo
new file mode 100644
index 000000000000..7e99a8df720b
--- /dev/null
+++ b/www/py-google-cloud-compute/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1734888002
+SHA256 (google_cloud_compute-1.23.0.tar.gz) = 2cb02563af528f7460f2c8c905230996873e284fffe69ccfe2e47890f9e5490b
+SIZE (google_cloud_compute-1.23.0.tar.gz) = 4017705
diff --git a/www/py-google-cloud-compute/pkg-descr b/www/py-google-cloud-compute/pkg-descr
new file mode 100644
index 000000000000..2843fd60698e
--- /dev/null
+++ b/www/py-google-cloud-compute/pkg-descr
@@ -0,0 +1,5 @@
+Compute Engine: delivers virtual machines running in Google's innovative data
+centers and worldwide fiber network. Compute Engine's tooling and workflow
+support enable scaling from single instances to global, load-balanced cloud
+computing. Compute Engine's VMs boot quickly, come with persistent disk storage,
+deliver consistent performance and are available in many configurations.