git: 64dcd813bef8 - main - net/rubygem-octokit8: Add rubygem-octokit8 8.1.0 (copied from rubygem-octokit)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 18 Jun 2024 04:07:16 UTC
The branch main has been updated by sunpoet:

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

commit 64dcd813bef8aa4b7acdc26029e5ac5904ddfe4e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-06-18 03:54:01 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-06-18 03:54:01 +0000

    net/rubygem-octokit8: Add rubygem-octokit8 8.1.0 (copied from rubygem-octokit)
    
    - Add PORTSCOUT
---
 net/Makefile                   |  1 +
 net/rubygem-octokit8/Makefile  | 25 +++++++++++++++++++++++++
 net/rubygem-octokit8/distinfo  |  3 +++
 net/rubygem-octokit8/pkg-descr |  2 ++
 4 files changed, 31 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 9e4cc532704f..25bab2e42aee 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1368,6 +1368,7 @@
     SUBDIR += rubygem-oauth21
     SUBDIR += rubygem-octokit
     SUBDIR += rubygem-octokit4
+    SUBDIR += rubygem-octokit8
     SUBDIR += rubygem-octopress-deploy
     SUBDIR += rubygem-omniauth-auth0
     SUBDIR += rubygem-omniauth-authentiq
diff --git a/net/rubygem-octokit8/Makefile b/net/rubygem-octokit8/Makefile
new file mode 100644
index 000000000000..630fe147e69a
--- /dev/null
+++ b/net/rubygem-octokit8/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	octokit
+PORTVERSION=	8.1.0
+CATEGORIES=	net rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	8
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Simple wrapper for the GitHub API
+WWW=		https://octokit.github.io/octokit.rb/ \
+		https://github.com/octokit/octokit.rb
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS=	rubygem-base64>=0:converters/rubygem-base64 \
+		rubygem-faraday>=1<3:www/rubygem-faraday \
+		rubygem-sawyer>=0.9<1:www/rubygem-sawyer
+
+USES=		gem
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^8\.
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-octokit8/distinfo b/net/rubygem-octokit8/distinfo
new file mode 100644
index 000000000000..e5f6497aa849
--- /dev/null
+++ b/net/rubygem-octokit8/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1708450814
+SHA256 (rubygem/octokit-8.1.0.gem) = 82229ce9b54e910e27ae75ff21e54bc97072913b5af06750999966e6817af8cd
+SIZE (rubygem/octokit-8.1.0.gem) = 88576
diff --git a/net/rubygem-octokit8/pkg-descr b/net/rubygem-octokit8/pkg-descr
new file mode 100644
index 000000000000..2dfebdeeb443
--- /dev/null
+++ b/net/rubygem-octokit8/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.