commit: 5cbd363caa4637a1586d655aba577de84405c5c4 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sun Jan 3 08:05:11 2021 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sun Jan 3 08:05:25 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cbd363c
dev-ruby/octokit: add 4.20.0 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/octokit/Manifest | 1 + dev-ruby/octokit/octokit-4.20.0.ebuild | 42 ++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-ruby/octokit/Manifest b/dev-ruby/octokit/Manifest index 893a21161ef..f0d02b5ec36 100644 --- a/dev-ruby/octokit/Manifest +++ b/dev-ruby/octokit/Manifest @@ -1,2 +1,3 @@ DIST octokit-4.18.0.tar.gz 3091587 BLAKE2B b48ccfa35f53b686e61a0f79c09bf20f063843c98f75a0896e71739a33cf9b770c8b5e5c27cda2c8a25ca6255cfa7c4e389b372ca269d4c46b499abf1838a4ad SHA512 e749afc4303f987b502f8c79ff60e33c6f49ff84d25f16cdb3d9165c7089912570a7b77af3716341cd5216e5c8e3534a805e4347081ec7765a4e4f54fc432ce3 DIST octokit-4.19.0.tar.gz 3121443 BLAKE2B d0ac2daa9409d982d5428dd7fe1414c1707e860d7c3ec6534fb962c38786955ceaeb0f1cb33a8636c18a216fb4e2b8ac2777f7ef8b7ccd433b6d4597d686ffb5 SHA512 bd4171423c84d082cb3c5dea4bfa1bba9584964b8e328d88235a8ecfd084e1188367afdf54b5097049427600451edd72dc3663bca50ff761a44ddbcb001d0a99 +DIST octokit-4.20.0.tar.gz 3127939 BLAKE2B 30b251c95cf664ea83d23473ecbd5d1652586a567775253afa3f0c954490a6381c86da40cdc3761c8c43b17c850dfe9ba80f3814e946f1f3a008be81dd3c002a SHA512 180a4846052dc223b4d5444acc7af7d78151ac941687c75e6853c119ce75d9383fa5ec1ffc7ede97a6ee6d5780ef27030f2132761484099f634be6a3c4a9d7b6 diff --git a/dev-ruby/octokit/octokit-4.20.0.ebuild b/dev-ruby/octokit/octokit-4.20.0.ebuild new file mode 100644 index 00000000000..fcc88dfcc4e --- /dev/null +++ b/dev-ruby/octokit/octokit-4.20.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="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/jwt + dev-ruby/mime-types + >=dev-ruby/netrc-0.7.7 + >=dev-ruby/rbnacl-7.1.1:6 + dev-ruby/vcr:3[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 +}