git: a409c15231d7 - main - net/rubygem-gitlab-fog-azure-rm: use fog-core 2.3.0

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Wed, 24 Aug 2022 04:23:21 UTC
The branch main has been updated by mfechner:

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

commit a409c15231d7c3be119ca51690314b0f6f74e945
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2022-08-16 06:54:35 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2022-08-24 04:22:22 +0000

    net/rubygem-gitlab-fog-azure-rm: use fog-core 2.3.0
    
    Required to resolve dependency problems
---
 net/rubygem-gitlab-fog-azure-rm/Makefile             |  3 ++-
 .../files/patch-gitlab-fog-azure-rm.gemspec          | 20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/net/rubygem-gitlab-fog-azure-rm/Makefile b/net/rubygem-gitlab-fog-azure-rm/Makefile
index c285f18087a9..28ce6c1863c8 100644
--- a/net/rubygem-gitlab-fog-azure-rm/Makefile
+++ b/net/rubygem-gitlab-fog-azure-rm/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gitlab-fog-azure-rm
 PORTVERSION=	1.3.0
+PORTREVISION=	1
 CATEGORIES=	net rubygems
 MASTER_SITES=	RG
 
@@ -11,7 +12,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
 RUN_DEPENDS=	rubygem-azure-storage-blob>=2.0<3:devel/rubygem-azure-storage-blob \
 		rubygem-azure-storage-common>=2.0<3:devel/rubygem-azure-storage-common \
-		rubygem-fog-core210>=2.1.0<2.1.1:devel/rubygem-fog-core210 \
+		rubygem-fog-core>=2.1.0<2.4:devel/rubygem-fog-core \
 		rubygem-fog-json>=1.2.0<1.3:devel/rubygem-fog-json \
 		rubygem-mime-types>=0:misc/rubygem-mime-types \
 		rubygem-ms_rest_azure>=0.12.0<0.13:devel/rubygem-ms_rest_azure
diff --git a/net/rubygem-gitlab-fog-azure-rm/files/patch-gitlab-fog-azure-rm.gemspec b/net/rubygem-gitlab-fog-azure-rm/files/patch-gitlab-fog-azure-rm.gemspec
new file mode 100644
index 000000000000..a934ceeba343
--- /dev/null
+++ b/net/rubygem-gitlab-fog-azure-rm/files/patch-gitlab-fog-azure-rm.gemspec
@@ -0,0 +1,20 @@
+--- gitlab-fog-azure-rm.gemspec.orig	2022-08-12 13:22:30 UTC
++++ gitlab-fog-azure-rm.gemspec
+@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
+     s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
+     s.add_runtime_dependency(%q<azure-storage-blob>.freeze, ["~> 2.0"])
+     s.add_runtime_dependency(%q<azure-storage-common>.freeze, ["~> 2.0"])
+-    s.add_runtime_dependency(%q<fog-core>.freeze, ["= 2.1.0"])
++    s.add_runtime_dependency(%q<fog-core>.freeze, [">= 2.1.0"])
+     s.add_runtime_dependency(%q<fog-json>.freeze, ["~> 1.2.0"])
+     s.add_runtime_dependency(%q<mime-types>.freeze, [">= 0"])
+     s.add_runtime_dependency(%q<ms_rest_azure>.freeze, ["~> 0.12.0"])
+@@ -44,7 +44,7 @@ Gem::Specification.new do |s|
+     s.add_dependency(%q<simplecov>.freeze, [">= 0"])
+     s.add_dependency(%q<azure-storage-blob>.freeze, ["~> 2.0"])
+     s.add_dependency(%q<azure-storage-common>.freeze, ["~> 2.0"])
+-    s.add_dependency(%q<fog-core>.freeze, ["= 2.1.0"])
++    s.add_dependency(%q<fog-core>.freeze, [">= 2.1.0"])
+     s.add_dependency(%q<fog-json>.freeze, ["~> 1.2.0"])
+     s.add_dependency(%q<mime-types>.freeze, [">= 0"])
+     s.add_dependency(%q<ms_rest_azure>.freeze, ["~> 0.12.0"])