aboutsummaryrefslogtreecommitdiff
path: root/net/rubygem-fog-google
diff options
context:
space:
mode:
authorMatthias Fechner <mfechner@FreeBSD.org>2022-08-16 06:52:47 +0000
committerMatthias Fechner <mfechner@FreeBSD.org>2022-08-24 04:22:22 +0000
commita82a1f5105fb07745190707cf3765b79a3292790 (patch)
tree0d6c73ef1c2351bf7e88bd6699ea11f2d0d0ad33 /net/rubygem-fog-google
parent487c637c2a6ffd9aafaaf0f219832b2c3aefe93e (diff)
downloadports-a82a1f5105fb07745190707cf3765b79a3292790.tar.gz
ports-a82a1f5105fb07745190707cf3765b79a3292790.zip
net/rubygem-fog-google: use fog-core 2.3.0
Required to resolve dependency problems
Diffstat (limited to 'net/rubygem-fog-google')
-rw-r--r--net/rubygem-fog-google/Makefile3
-rw-r--r--net/rubygem-fog-google/files/patch-fog-google.gemspec20
2 files changed, 22 insertions, 1 deletions
diff --git a/net/rubygem-fog-google/Makefile b/net/rubygem-fog-google/Makefile
index 9ac2f19f5449..613b2770613b 100644
--- a/net/rubygem-fog-google/Makefile
+++ b/net/rubygem-fog-google/Makefile
@@ -1,5 +1,6 @@
PORTNAME= fog-google
PORTVERSION= 1.19.0
+PORTREVISION= 1
CATEGORIES= net rubygems
MASTER_SITES= RG
@@ -9,7 +10,7 @@ COMMENT= Module for the 'fog' gem to support Google Cloud
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-RUN_DEPENDS= rubygem-fog-core210>=0<2.3:devel/rubygem-fog-core210 \
+RUN_DEPENDS= rubygem-fog-core>=0<2.4:devel/rubygem-fog-core \
rubygem-fog-json>=1.2<2:devel/rubygem-fog-json \
rubygem-fog-xml>=0.1.0<0.2:textproc/rubygem-fog-xml \
rubygem-google-apis-compute_v1>=0.14<1:devel/rubygem-google-apis-compute_v1 \
diff --git a/net/rubygem-fog-google/files/patch-fog-google.gemspec b/net/rubygem-fog-google/files/patch-fog-google.gemspec
new file mode 100644
index 000000000000..be3200e1ec2c
--- /dev/null
+++ b/net/rubygem-fog-google/files/patch-fog-google.gemspec
@@ -0,0 +1,20 @@
+--- fog-google.gemspec.orig 2022-08-12 13:21:05 UTC
++++ fog-google.gemspec
+@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
+ end
+
+ if s.respond_to? :add_runtime_dependency then
+- s.add_runtime_dependency(%q<fog-core>.freeze, ["< 2.3"])
++ s.add_runtime_dependency(%q<fog-core>.freeze, ["< 2.4"])
+ s.add_runtime_dependency(%q<fog-json>.freeze, ["~> 1.2"])
+ s.add_runtime_dependency(%q<fog-xml>.freeze, ["~> 0.1.0"])
+ s.add_runtime_dependency(%q<google-apis-storage_v1>.freeze, ["~> 0.6"])
+@@ -44,7 +44,7 @@ Gem::Specification.new do |s|
+ s.add_development_dependency(%q<vcr>.freeze, [">= 0"])
+ s.add_development_dependency(%q<webmock>.freeze, [">= 0"])
+ else
+- s.add_dependency(%q<fog-core>.freeze, ["< 2.3"])
++ s.add_dependency(%q<fog-core>.freeze, ["< 2.4"])
+ s.add_dependency(%q<fog-json>.freeze, ["~> 1.2"])
+ s.add_dependency(%q<fog-xml>.freeze, ["~> 0.1.0"])
+ s.add_dependency(%q<google-apis-storage_v1>.freeze, ["~> 0.6"])