git: 107627bbc7b1 - main - net/rubygem-octokit5: Add rubygem-octokit5 5.6.1 (copied from rubygem-octokit)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 May 2023 23:51:01 UTC
The branch main has been updated by sunpoet:

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

commit 107627bbc7b1de4e9e3871104b3cee4531bf34d9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-27 23:18:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-27 23:43:36 +0000

    net/rubygem-octokit5: Add rubygem-octokit5 5.6.1 (copied from rubygem-octokit)
    
    - Add PORTSCOUT
---
 net/Makefile                   |  1 +
 net/rubygem-octokit5/Makefile  | 23 +++++++++++++++++++++++
 net/rubygem-octokit5/distinfo  |  3 +++
 net/rubygem-octokit5/pkg-descr |  2 ++
 4 files changed, 29 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 0d589edc29c8..d342021f1f09 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1340,6 +1340,7 @@
     SUBDIR += rubygem-oauth21
     SUBDIR += rubygem-octokit
     SUBDIR += rubygem-octokit4
+    SUBDIR += rubygem-octokit5
     SUBDIR += rubygem-octopress-deploy
     SUBDIR += rubygem-omniauth-auth0
     SUBDIR += rubygem-omniauth-authentiq
diff --git a/net/rubygem-octokit5/Makefile b/net/rubygem-octokit5/Makefile
new file mode 100644
index 000000000000..f19dc19b6027
--- /dev/null
+++ b/net/rubygem-octokit5/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	octokit
+PORTVERSION=	5.6.1
+CATEGORIES=	net rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	5
+
+MAINTAINER=	ruby@FreeBSD.org
+COMMENT=	Simple wrapper for the GitHub API
+WWW=		https://github.com/octokit/octokit.rb
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS=	rubygem-faraday1>=1<3:www/rubygem-faraday1 \
+		rubygem-sawyer>=0.9<1:www/rubygem-sawyer
+
+USES=		gem
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^5\.
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-octokit5/distinfo b/net/rubygem-octokit5/distinfo
new file mode 100644
index 000000000000..db4473200783
--- /dev/null
+++ b/net/rubygem-octokit5/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1682312128
+SHA256 (rubygem/octokit-5.6.1.gem) = 48efb2c2aa83c2c394358f073d35ad71d4ac0f14870cd00ceebd3ef3949fe495
+SIZE (rubygem/octokit-5.6.1.gem) = 86528
diff --git a/net/rubygem-octokit5/pkg-descr b/net/rubygem-octokit5/pkg-descr
new file mode 100644
index 000000000000..2dfebdeeb443
--- /dev/null
+++ b/net/rubygem-octokit5/pkg-descr
@@ -0,0 +1,2 @@
+Octokit.rb wraps the GitHub API in a flat API client that follows Ruby
+conventions and requires little knowledge of REST.