git: cf916cfd235f - main - net/rubygem-google-cloud-storage144: Add rubygem-google-cloud-storage144 1.44.0 (copied from rubygem-google-cloud-storage)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 14 Nov 2023 17:17:48 UTC
The branch main has been updated by sunpoet:

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

commit cf916cfd235f4a9d3632c1316f6b8cd99d7e8e96
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-14 16:28:21 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-14 17:15:30 +0000

    net/rubygem-google-cloud-storage144: Add rubygem-google-cloud-storage144 1.44.0 (copied from rubygem-google-cloud-storage)
    
    - Add PORTSCOUT
---
 net/Makefile                                       |  1 +
 net/rubygem-google-cloud-storage144/Makefile       | 28 ++++++++++++++++++++++
 net/rubygem-google-cloud-storage144/distinfo       |  3 +++
 .../files/patch-gemspec                            | 11 +++++++++
 net/rubygem-google-cloud-storage144/pkg-descr      |  3 +++
 5 files changed, 46 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 552f1ae1c007..0b1ad194b24e 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1317,6 +1317,7 @@
     SUBDIR += rubygem-google-cloud-spanner-admin-instance-v1
     SUBDIR += rubygem-google-cloud-spanner-v1
     SUBDIR += rubygem-google-cloud-storage
+    SUBDIR += rubygem-google-cloud-storage144
     SUBDIR += rubygem-grpc
     SUBDIR += rubygem-hangouts-chat
     SUBDIR += rubygem-http-parser
diff --git a/net/rubygem-google-cloud-storage144/Makefile b/net/rubygem-google-cloud-storage144/Makefile
new file mode 100644
index 000000000000..f4689c9a81d8
--- /dev/null
+++ b/net/rubygem-google-cloud-storage144/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	google-cloud-storage
+PORTVERSION=	1.44.0
+CATEGORIES=	net rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	144
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Official library for Google Cloud Storage
+WWW=		https://github.com/googleapis/google-cloud-ruby/tree/main/google-cloud-storage
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-addressable>=2.8<3:www/rubygem-addressable \
+		rubygem-digest-crc>=0.4<1:security/rubygem-digest-crc \
+		rubygem-google-apis-iamcredentials_v1>=0.1<1:devel/rubygem-google-apis-iamcredentials_v1 \
+		rubygem-google-apis-storage_v1>=0.19.0<1:devel/rubygem-google-apis-storage_v1 \
+		rubygem-google-cloud-core>=1.6<2:net/rubygem-google-cloud-core \
+		rubygem-googleauth>=0.16.2<2.0:security/rubygem-googleauth \
+		rubygem-mini_mime>=1.0<2:mail/rubygem-mini_mime
+
+USES=		gem
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^1\.44\.
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-google-cloud-storage144/distinfo b/net/rubygem-google-cloud-storage144/distinfo
new file mode 100644
index 000000000000..be44a04b3c8b
--- /dev/null
+++ b/net/rubygem-google-cloud-storage144/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1669058157
+SHA256 (rubygem/google-cloud-storage-1.44.0.gem) = 299a1e055c9277c8120f7c10d21d37e4d8c17c7b963350c0e0bff7e9d9a570ea
+SIZE (rubygem/google-cloud-storage-1.44.0.gem) = 102912
diff --git a/net/rubygem-google-cloud-storage144/files/patch-gemspec b/net/rubygem-google-cloud-storage144/files/patch-gemspec
new file mode 100644
index 000000000000..8f52243b843c
--- /dev/null
+++ b/net/rubygem-google-cloud-storage144/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- google-cloud-storage.gemspec.orig	2023-01-05 23:43:22 UTC
++++ google-cloud-storage.gemspec
+@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
+ 
+   s.add_runtime_dependency(%q<google-cloud-core>.freeze, ["~> 1.6"])
+   s.add_runtime_dependency(%q<google-apis-iamcredentials_v1>.freeze, ["~> 0.1"])
+-  s.add_runtime_dependency(%q<google-apis-storage_v1>.freeze, ["~> 0.19.0"])
++  s.add_runtime_dependency(%q<google-apis-storage_v1>.freeze, ["~> 0.19"])
+   s.add_runtime_dependency(%q<googleauth>.freeze, [">= 0.16.2", "< 2.a"])
+   s.add_runtime_dependency(%q<digest-crc>.freeze, ["~> 0.4"])
+   s.add_runtime_dependency(%q<addressable>.freeze, ["~> 2.8"])
diff --git a/net/rubygem-google-cloud-storage144/pkg-descr b/net/rubygem-google-cloud-storage144/pkg-descr
new file mode 100644
index 000000000000..22650322406e
--- /dev/null
+++ b/net/rubygem-google-cloud-storage144/pkg-descr
@@ -0,0 +1,3 @@
+Google Cloud Storage (docs) allows you to store data on Google infrastructure
+with very high reliability, performance and availability, and can be used to
+distribute large data objects to users via direct download.