git: e8fdc4c3b0c6 - main - net/rubygem-app_store_connect: new port

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Wed, 01 Feb 2023 09:21:39 UTC
The branch main has been updated by mfechner:

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

commit e8fdc4c3b0c68400ae1af21ed61270ce4a0959ea
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2023-01-31 12:10:31 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2023-02-01 09:21:08 +0000

    net/rubygem-app_store_connect: new port
    
    Required for gitlab-ce 15.8.
---
 net/Makefile                                          |  1 +
 net/rubygem-app_store_connect/Makefile                | 19 +++++++++++++++++++
 net/rubygem-app_store_connect/distinfo                |  3 +++
 .../files/patch-app__store__connect.gemspec           | 11 +++++++++++
 net/rubygem-app_store_connect/pkg-descr               |  1 +
 5 files changed, 35 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 1d3d2fadc650..0796d9303cc7 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1229,6 +1229,7 @@
     SUBDIR += rubygem-amqp
     SUBDIR += rubygem-amqp-utils
     SUBDIR += rubygem-apollo_upload_server
+    SUBDIR += rubygem-app_store_connect
     SUBDIR += rubygem-asset_sync
     SUBDIR += rubygem-aws-s3
     SUBDIR += rubygem-aws-ses
diff --git a/net/rubygem-app_store_connect/Makefile b/net/rubygem-app_store_connect/Makefile
new file mode 100644
index 000000000000..d86d1f996f68
--- /dev/null
+++ b/net/rubygem-app_store_connect/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	app_store_connect
+PORTVERSION=	0.29.0
+CATEGORIES=	net rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	mfechner@FreeBSD.org
+COMMENT=	Interface to the App Store Connect API
+WWW=		https://github.com/kyledecot/app_store_connect
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	rubygem-activesupport61>=6.0.0:devel/rubygem-activesupport61 \
+		rubygem-jwt>=1.4:www/rubygem-jwt
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-app_store_connect/distinfo b/net/rubygem-app_store_connect/distinfo
new file mode 100644
index 000000000000..f193a68e3016
--- /dev/null
+++ b/net/rubygem-app_store_connect/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1675117271
+SHA256 (rubygem/app_store_connect-0.29.0.gem) = 01d7a923825a4221892099acb5a72f86f6ee7d8aa95815d3c459ba6816ea430f
+SIZE (rubygem/app_store_connect-0.29.0.gem) = 18944
diff --git a/net/rubygem-app_store_connect/files/patch-app__store__connect.gemspec b/net/rubygem-app_store_connect/files/patch-app__store__connect.gemspec
new file mode 100644
index 000000000000..34973d82216d
--- /dev/null
+++ b/net/rubygem-app_store_connect/files/patch-app__store__connect.gemspec
@@ -0,0 +1,11 @@
+--- app_store_connect.gemspec.orig	2023-01-30 22:24:51 UTC
++++ app_store_connect.gemspec
+@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
+   s.specification_version = 4
+ 
+   s.add_runtime_dependency(%q<activesupport>.freeze, [">= 6.0.0"])
+-  s.add_runtime_dependency(%q<jwt>.freeze, [">= 1.4", "<= 2.5.0"])
++  s.add_runtime_dependency(%q<jwt>.freeze, [">= 1.4"])
+   s.add_development_dependency(%q<bundler>.freeze, [">= 0"])
+   s.add_development_dependency(%q<factory_bot>.freeze, ["~> 6.2.1"])
+   s.add_development_dependency(%q<guard-rspec>.freeze, ["~> 4.7.3"])
diff --git a/net/rubygem-app_store_connect/pkg-descr b/net/rubygem-app_store_connect/pkg-descr
new file mode 100644
index 000000000000..df81b042f788
--- /dev/null
+++ b/net/rubygem-app_store_connect/pkg-descr
@@ -0,0 +1 @@
+A Ruby interface to the App Store Connect API