summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-03-11 08:15:41 +0100
committerHans de Graaff <graaff@gentoo.org>2020-03-11 08:16:21 +0100
commit818ede5d714b1fdd0a631548b9b931123303bcbe (patch)
tree04b914a9e1751758947158b8e1864047e16547d9 /dev-ruby
parentdev-ruby/capistrano: add 3.12.1 (diff)
downloadgentoo-818ede5d714b1fdd0a631548b9b931123303bcbe.tar.gz
gentoo-818ede5d714b1fdd0a631548b9b931123303bcbe.tar.bz2
gentoo-818ede5d714b1fdd0a631548b9b931123303bcbe.zip
dev-ruby/octokit: add 4.17.0
Package-Manager: Portage-2.3.89, Repoman-2.3.20 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.17.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/octokit/Manifest b/dev-ruby/octokit/Manifest
index fbc96dac6cad..9264e3bb8a2e 100644
--- a/dev-ruby/octokit/Manifest
+++ b/dev-ruby/octokit/Manifest
@@ -1,3 +1,4 @@
DIST octokit-4.14.0.tar.gz 3068165 BLAKE2B e50efa246273422daf5aed8e619465886962d361d129a310974c21bbc683c7444ee99e3dc01c184497683d07a48d852c006ab56c6cd4bea8660f16e7ec5eee98 SHA512 2aff18492c0207b8c7ced23adf0e76260d2976331563e22f7a130445b19b816a00281a86b4161d6709025d058c848ef3f7d1a5c64323954f8c03a59be6f6b132
DIST octokit-4.15.0.tar.gz 3089749 BLAKE2B d10df675c067f0bfc86bd78aa05e48fb37bdf8d4d5f9317d7463838ec9e870380bc503eb621a02a332b6a26bc1780c5d77955b93c695e18674c792b01aa702c3 SHA512 8616dc97c2aee68ee5919045446ad34d3122bda71f0a9e48a7ef3c04ef2e706bb59f7bd344de9f21f912a927aedfdad11f73119e52f62729173d04f052a0c972
DIST octokit-4.16.0.tar.gz 3090415 BLAKE2B e6f2addd8e85bc5de685fa644dca607a0f1b15fc007a6525c56605204b8423170918364892ac1c11fb200891aa489c563c52761ae622b847309a9cef3500cc31 SHA512 562b62714022d36d16b0e7f728f1b43ae76ed9f57bc7e74a8805519818f4c7203e0cba71e99202e5fabc8af150f26897f2fdc35e8bd2d09e3b1e578cae5d2bbe
+DIST octokit-4.17.0.tar.gz 3090364 BLAKE2B 42545bdaca8ecbbc3a3e78e70d535c634f20741651d41dfec254dd68254acbc82a992c93314b871d6bae7b4ca8321339b888fe7b5b7349fe9b48dbf6904f4524 SHA512 da6a90e77991d17697424da22c9481027f23f5ecb52e294748fe62c3a7c228412a276a01e6816b201e597b73f271b83e70c4d86ff9ea40c0204dae5c30df929a
diff --git a/dev-ruby/octokit/octokit-4.17.0.ebuild b/dev-ruby/octokit/octokit-4.17.0.ebuild
new file mode 100644
index 000000000000..469e4b38183e
--- /dev/null
+++ b/dev-ruby/octokit/octokit-4.17.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_EXTRADOC="README.md CONTRIBUTING.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit multilib 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-0.9
+ >=dev-ruby/sawyer-0.8.0
+"
+
+ruby_add_bdepend "test? ( dev-ruby/mime-types
+ >=dev-ruby/netrc-0.7.7
+ dev-ruby/vcr:3
+ dev-ruby/webmock:3 )"
+
+all_ruby_prepare() {
+ sed -i -e '/if RUBY_ENGINE/,/^end/ s:^:#: ; 1igem "webmock", "~>3.0"' spec/helper.rb || die
+}