summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-03-29 09:42:44 +0200
committerHans de Graaff <graaff@gentoo.org>2020-03-29 09:43:10 +0200
commitcbb896058d5a561dfacfb85ad4f1f033bf111c92 (patch)
tree800a70a39d32d9138fc66d30e96036fa73a2760d /dev-ruby/octokit
parentdev-ruby/rmagick: add 4.1.1 (diff)
downloadgentoo-cbb896058d5a561dfacfb85ad4f1f033bf111c92.tar.gz
gentoo-cbb896058d5a561dfacfb85ad4f1f033bf111c92.tar.bz2
gentoo-cbb896058d5a561dfacfb85ad4f1f033bf111c92.zip
dev-ruby/octokit: add 4.18.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/octokit')
-rw-r--r--dev-ruby/octokit/Manifest1
-rw-r--r--dev-ruby/octokit/octokit-4.18.0.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/octokit/Manifest b/dev-ruby/octokit/Manifest
index 9264e3bb8a2e..eb175a0fc298 100644
--- a/dev-ruby/octokit/Manifest
+++ b/dev-ruby/octokit/Manifest
@@ -2,3 +2,4 @@ DIST octokit-4.14.0.tar.gz 3068165 BLAKE2B e50efa246273422daf5aed8e619465886962d
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
+DIST octokit-4.18.0.tar.gz 3091587 BLAKE2B b48ccfa35f53b686e61a0f79c09bf20f063843c98f75a0896e71739a33cf9b770c8b5e5c27cda2c8a25ca6255cfa7c4e389b372ca269d4c46b499abf1838a4ad SHA512 e749afc4303f987b502f8c79ff60e33c6f49ff84d25f16cdb3d9165c7089912570a7b77af3716341cd5216e5c8e3534a805e4347081ec7765a4e4f54fc432ce3
diff --git a/dev-ruby/octokit/octokit-4.18.0.ebuild b/dev-ruby/octokit/octokit-4.18.0.ebuild
new file mode 100644
index 000000000000..93de98aa5d2a
--- /dev/null
+++ b/dev-ruby/octokit/octokit-4.18.0.ebuild
@@ -0,0 +1,39 @@
+# 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*
+"
+
+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 -e '/if RUBY_ENGINE/,/^end/ s:^:#: ; 1igem "webmock", "~>3.0"' \
+ -e '/pry/ s:^:#:' \
+ -i spec/helper.rb || die
+}