git: 9f5c387f4843 - main - www/py-google-cloud-aiplatform: New port: Vertex AI API client library

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 07 Sep 2023 01:31:16 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9f5c387f484334d933f702b4852d885ed816670b

commit 9f5c387f484334d933f702b4852d885ed816670b
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-09-07 01:29:56 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-09-07 01:31:14 +0000

    www/py-google-cloud-aiplatform: New port: Vertex AI API client library
---
 www/Makefile                             |  1 +
 www/py-google-cloud-aiplatform/Makefile  | 27 +++++++++++++++++++++++++++
 www/py-google-cloud-aiplatform/distinfo  |  3 +++
 www/py-google-cloud-aiplatform/pkg-descr |  4 ++++
 4 files changed, 35 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 78b2e3d85205..29f7b6b5e593 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1662,6 +1662,7 @@
     SUBDIR += py-google
     SUBDIR += py-google-api-core
     SUBDIR += py-google-api-python-client
+    SUBDIR += py-google-cloud-aiplatform
     SUBDIR += py-google-cloud-appengine-logging
     SUBDIR += py-google-cloud-audit-log
     SUBDIR += py-google-cloud-bigquery
diff --git a/www/py-google-cloud-aiplatform/Makefile b/www/py-google-cloud-aiplatform/Makefile
new file mode 100644
index 000000000000..619a7ec50d79
--- /dev/null
+++ b/www/py-google-cloud-aiplatform/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	google-cloud-aiplatform
+DISTVERSION=	1.32.0
+CATEGORIES=	www # machine-learning
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Vertex AI API client library
+WWW=		https://github.com/googleapis/python-aiplatform
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-api-core>=1.32.0:www/py-google-api-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}google-cloud-storage>=1.32.0:www/py-google-cloud-storage@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}google-cloud-bigquery>=1.15.0:www/py-google-cloud-bigquery@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}google-cloud-resource-manager>=1.3.3:www/py-google-cloud-resource-manager@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}packaging>=14.3:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}proto-plus>=1.22.2<2.0.0:devel/py-proto-plus@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}protobuf>=3.19.5:devel/py-protobuf@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}shapely>0:devel/py-shapely@${PY_FLAVOR}
+
+USES=		python
+USE_LDCONFIG=	yes
+USE_PYTHON=	distutils autoplist # TODO pytest - it has a large and complex set of dependencies
+
+.include <bsd.port.mk>
diff --git a/www/py-google-cloud-aiplatform/distinfo b/www/py-google-cloud-aiplatform/distinfo
new file mode 100644
index 000000000000..bcf25f382527
--- /dev/null
+++ b/www/py-google-cloud-aiplatform/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1694021212
+SHA256 (google-cloud-aiplatform-1.32.0.tar.gz) = 18558f2a908a86a9b78b744486c71dcf0c836b232466422277b2da572d30b8f4
+SIZE (google-cloud-aiplatform-1.32.0.tar.gz) = 2973829
diff --git a/www/py-google-cloud-aiplatform/pkg-descr b/www/py-google-cloud-aiplatform/pkg-descr
new file mode 100644
index 000000000000..1445ca2d3760
--- /dev/null
+++ b/www/py-google-cloud-aiplatform/pkg-descr
@@ -0,0 +1,4 @@
+Google Vertex AI is an integrated suite of machine learning tools and services
+for building and using ML models with AutoML or custom code. It offers both
+novices and experts the best workbench for the entire machine learning
+development lifecycle.