git: a4cc6229998e - main - databases/rubygem-google-cloud-datastore: Add rubygem-google-cloud-datastore 2.8.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 14 Dec 2023 06:05:01 UTC
The branch main has been updated by sunpoet:

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

commit a4cc6229998ea91fa4815117408a6dbdf531a722
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-14 05:31:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-14 05:31:29 +0000

    databases/rubygem-google-cloud-datastore: Add rubygem-google-cloud-datastore 2.8.0
    
    google-cloud-datastore is the official library for Google Cloud Datastore.
    
    Google Cloud Datastore is a fully managed, schemaless database for storing
    non-relational data. Cloud Datastore automatically scales with your users and
    supports ACID transactions, high availability of reads and writes, strong
    consistency for reads and ancestor queries, and eventual consistency for all
    other queries.
---
 databases/Makefile                                 |  1 +
 databases/rubygem-google-cloud-datastore/Makefile  | 23 ++++++++++++++++++++++
 databases/rubygem-google-cloud-datastore/distinfo  |  3 +++
 databases/rubygem-google-cloud-datastore/pkg-descr |  7 +++++++
 4 files changed, 34 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index 2b0370ca62f8..b20265375c2f 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -965,6 +965,7 @@
     SUBDIR += rubygem-globalid-rails61
     SUBDIR += rubygem-globalid-rails70
     SUBDIR += rubygem-globalid-rails71
+    SUBDIR += rubygem-google-cloud-datastore
     SUBDIR += rubygem-her
     SUBDIR += rubygem-hiredis
     SUBDIR += rubygem-influxdb
diff --git a/databases/rubygem-google-cloud-datastore/Makefile b/databases/rubygem-google-cloud-datastore/Makefile
new file mode 100644
index 000000000000..2e7061d1d81e
--- /dev/null
+++ b/databases/rubygem-google-cloud-datastore/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	google-cloud-datastore
+PORTVERSION=	2.8.0
+CATEGORIES=	databases rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Official library for Google Cloud Datastore
+WWW=		https://cloud.google.com/ruby/docs/reference/google-cloud-datastore/latest/ \
+		https://googleapis.github.io/google-cloud-ruby/docs/ \
+		https://github.com/googleapis/google-cloud-ruby/tree/main/google-cloud-datastore \
+		https://github.com/googleapis/google-cloud-ruby
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-google-cloud-core>=1.5<2:net/rubygem-google-cloud-core \
+		rubygem-google-cloud-datastore-v1>=0.0<1:databases/rubygem-google-cloud-datastore-v1
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-google-cloud-datastore/distinfo b/databases/rubygem-google-cloud-datastore/distinfo
new file mode 100644
index 000000000000..0fe4edf27b74
--- /dev/null
+++ b/databases/rubygem-google-cloud-datastore/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1702028008
+SHA256 (rubygem/google-cloud-datastore-2.8.0.gem) = b60ec88071f0ef271c592cae4c15715699deb19ed40f3fa9c82a81bc27fd50dc
+SIZE (rubygem/google-cloud-datastore-2.8.0.gem) = 52736
diff --git a/databases/rubygem-google-cloud-datastore/pkg-descr b/databases/rubygem-google-cloud-datastore/pkg-descr
new file mode 100644
index 000000000000..8ce6ef31ff21
--- /dev/null
+++ b/databases/rubygem-google-cloud-datastore/pkg-descr
@@ -0,0 +1,7 @@
+google-cloud-datastore is the official library for Google Cloud Datastore.
+
+Google Cloud Datastore is a fully managed, schemaless database for storing
+non-relational data. Cloud Datastore automatically scales with your users and
+supports ACID transactions, high availability of reads and writes, strong
+consistency for reads and ancestor queries, and eventual consistency for all
+other queries.