aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-05-27 23:18:23 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-05-27 23:43:36 +0000
commit107627bbc7b1de4e9e3871104b3cee4531bf34d9 (patch)
treed5db1f5a56ca90eaa96567ab76aeb321bdd0798b
parent1b3ba5d0e0471ec118e46818f1405e4aeec3df20 (diff)
downloadports-107627bbc7b1de4e9e3871104b3cee4531bf34d9.tar.gz
ports-107627bbc7b1de4e9e3871104b3cee4531bf34d9.zip
net/rubygem-octokit5: Add rubygem-octokit5 5.6.1 (copied from rubygem-octokit)
- Add PORTSCOUT
-rw-r--r--net/Makefile1
-rw-r--r--net/rubygem-octokit5/Makefile23
-rw-r--r--net/rubygem-octokit5/distinfo3
-rw-r--r--net/rubygem-octokit5/pkg-descr2
4 files changed, 29 insertions, 0 deletions
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.