aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Fechner <mfechner@FreeBSD.org>2023-05-16 11:02:45 +0000
committerMatthias Fechner <mfechner@FreeBSD.org>2023-05-16 11:04:55 +0000
commit60da2228e895231ac03a9e3b33fd918caaa1cf8b (patch)
treeaa7831ea58d58ad66e77475646e84ffa4d284fba
parent100ed8c7079316ad176bc7ef20cd17d3fe4e152b (diff)
downloadports-60da2228e895231ac03a9e3b33fd918caaa1cf8b.tar.gz
ports-60da2228e895231ac03a9e3b33fd918caaa1cf8b.zip
net/rubygem-octokit4: make version 4.25.1 available
-rw-r--r--net/Makefile1
-rw-r--r--net/rubygem-octokit4/Makefile21
-rw-r--r--net/rubygem-octokit4/distinfo3
-rw-r--r--net/rubygem-octokit4/pkg-descr2
4 files changed, 27 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 71460e1d9aa9..2c4d482a1288 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1336,6 +1336,7 @@
SUBDIR += rubygem-oauth2
SUBDIR += rubygem-oauth21
SUBDIR += rubygem-octokit
+ SUBDIR += rubygem-octokit4
SUBDIR += rubygem-octopress-deploy
SUBDIR += rubygem-omniauth-auth0
SUBDIR += rubygem-omniauth-authentiq
diff --git a/net/rubygem-octokit4/Makefile b/net/rubygem-octokit4/Makefile
new file mode 100644
index 000000000000..efcf26c755c0
--- /dev/null
+++ b/net/rubygem-octokit4/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= octokit
+PORTVERSION= 4.25.1
+CATEGORIES= net rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 4
+
+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
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-octokit4/distinfo b/net/rubygem-octokit4/distinfo
new file mode 100644
index 000000000000..bc80455734de
--- /dev/null
+++ b/net/rubygem-octokit4/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1684234915
+SHA256 (rubygem/octokit-4.25.1.gem) = c02092ee82dcdfe84db0e0ea630a70d32becc54245a4f0bacfd21c010df09b96
+SIZE (rubygem/octokit-4.25.1.gem) = 86016
diff --git a/net/rubygem-octokit4/pkg-descr b/net/rubygem-octokit4/pkg-descr
new file mode 100644
index 000000000000..2dfebdeeb443
--- /dev/null
+++ b/net/rubygem-octokit4/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.