git: 98e22207f87b - main - net/rubygem-octokit6: Add rubygem-octokit6 6.1.1 (copied from rubygem-octokit)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 16 Aug 2023 18:30:35 UTC
The branch main has been updated by sunpoet:

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

commit 98e22207f87b0adf2aa00205d0236e5cbd4d6a59
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-08-16 18:07:01 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-08-16 18:25:08 +0000

    net/rubygem-octokit6: Add rubygem-octokit6 6.1.1 (copied from rubygem-octokit)
    
    - Add PORTSCOUT
---
 net/Makefile                   |  1 +
 net/rubygem-octokit6/Makefile  | 24 ++++++++++++++++++++++++
 net/rubygem-octokit6/distinfo  |  3 +++
 net/rubygem-octokit6/pkg-descr |  2 ++
 4 files changed, 30 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index fb1d8cb18380..9f35b556f5f8 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1348,6 +1348,7 @@
     SUBDIR += rubygem-octokit
     SUBDIR += rubygem-octokit4
     SUBDIR += rubygem-octokit5
+    SUBDIR += rubygem-octokit6
     SUBDIR += rubygem-octopress-deploy
     SUBDIR += rubygem-omniauth-auth0
     SUBDIR += rubygem-omniauth-authentiq
diff --git a/net/rubygem-octokit6/Makefile b/net/rubygem-octokit6/Makefile
new file mode 100644
index 000000000000..af1d2c38b63a
--- /dev/null
+++ b/net/rubygem-octokit6/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	octokit
+PORTVERSION=	6.1.1
+PORTREVISION=	1
+CATEGORIES=	net rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	6
+
+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-faraday>=1<3:www/rubygem-faraday \
+		rubygem-sawyer>=0.9<1:www/rubygem-sawyer
+
+USES=		gem
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^6\.
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-octokit6/distinfo b/net/rubygem-octokit6/distinfo
new file mode 100644
index 000000000000..3303f20519b7
--- /dev/null
+++ b/net/rubygem-octokit6/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1685162508
+SHA256 (rubygem/octokit-6.1.1.gem) = 920e4a9d820205f70738f58de6a7e6ef0e2f25b27db954b5806a63105207b0bf
+SIZE (rubygem/octokit-6.1.1.gem) = 86016
diff --git a/net/rubygem-octokit6/pkg-descr b/net/rubygem-octokit6/pkg-descr
new file mode 100644
index 000000000000..2dfebdeeb443
--- /dev/null
+++ b/net/rubygem-octokit6/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.