summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-06-07 20:30:19 +0200
committerHans de Graaff <graaff@gentoo.org>2022-06-07 20:30:19 +0200
commitfd0cdd5fd761eda942b448f86993bcaf9ad88d4b (patch)
treeb97b47ce3d76f20e95268f8e49f650bce216a6ca /dev-ruby
parentapp-metrics/collectd: drop 5.12.0-r5 (diff)
downloadgentoo-fd0cdd5fd761eda942b448f86993bcaf9ad88d4b.tar.gz
gentoo-fd0cdd5fd761eda942b448f86993bcaf9ad88d4b.tar.bz2
gentoo-fd0cdd5fd761eda942b448f86993bcaf9ad88d4b.zip
dev-ruby/octokit: add 4.24.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/octokit/Manifest1
-rw-r--r--dev-ruby/octokit/octokit-4.24.0.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/octokit/Manifest b/dev-ruby/octokit/Manifest
index 191cb036217e..7e7cbc104227 100644
--- a/dev-ruby/octokit/Manifest
+++ b/dev-ruby/octokit/Manifest
@@ -1,2 +1,3 @@
DIST octokit-4.22.0.tar.gz 3141531 BLAKE2B c852f34dc99b10fb06194bda9f15bffb4242a2b5ee7909e74defa2a7ca6b90962fd30232eb8850d97af872bfb036c87f7623acd9088efa3afd07f01cad525fe4 SHA512 e8696176227c81d5f80080fbb3c660b7b6e1b28b149b664b20d7e8cf333450988ac2fb9f5327c5e4e46528dbf7eea1246e82c94b265e6008f8fd7cd98f87423c
DIST octokit-4.23.0.tar.gz 3149606 BLAKE2B a948f8ad114dd892ee98f18f00104008fb2877eaecd250da834a59fbc24560e1eea5df0aaaf0a25cf2fb980a3c72fc12955d75c7c4348ea60a392abb78e92c92 SHA512 0cd039a8137d3153ca8dbbed9ea1e6eadb9fde8c447b8f5457c05a88b2dfcd6d4b3bcd4c4a828850809146fec588fdacf96e025d0e82ee61ea77773abfffdc61
+DIST octokit-4.24.0.tar.gz 3151075 BLAKE2B df9a20854358722bb92e894413b4b8d50e911aba23d610da4d00e6ff8e03df2c442a83a781c836f5f780a2079992a28c77ae59ae89d49386a009af8f29d8a9d5 SHA512 e2cabc820732b6d9e71b37807007e17fba23199faa127c3480c37b5c8fca1a0ddcaffe5815ffe7a9efe3ef3b617b9099dca8b01e58b4210cbf68566897a93ce7
diff --git a/dev-ruby/octokit/octokit-4.24.0.ebuild b/dev-ruby/octokit/octokit-4.24.0.ebuild
new file mode 100644
index 000000000000..fa8956903092
--- /dev/null
+++ b/dev-ruby/octokit/octokit-4.24.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_EXTRADOC="README.md CONTRIBUTING.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby toolkit for the Github API"
+HOMEPAGE="https://github.com/octokit/octokit.rb"
+SRC_URI="https://github.com/octokit/octokit.rb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RUBY_S=octokit.rb-${PV}
+
+ruby_add_rdepend "
+ dev-ruby/faraday:1
+ >=dev-ruby/sawyer-0.9:0
+"
+
+ruby_add_bdepend "test? (
+ dev-ruby/jwt
+ dev-ruby/mime-types
+ >=dev-ruby/netrc-0.7.7
+ >=dev-ruby/rbnacl-7.1.1:6
+ dev-ruby/vcr[json]
+ dev-ruby/webmock:3 )"
+
+all_ruby_prepare() {
+ sed -e '/if RUBY_ENGINE/,/^end/ s:^:#: ; 1igem "webmock", "~>3.0"' \
+ -e '/pry/ s:^:#:' \
+ -i spec/helper.rb || die
+}