diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-10-23 06:48:46 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-10-23 06:48:46 +0200 |
commit | d0e7302c8dac4ea9ea7d7fb1910237cffe24b54d (patch) | |
tree | 349d6a8333c170f31a304a23f34673d93764766a /dev-ruby | |
parent | sys-kernel/gentoo-kernel-bin: Stabilize 5.4.72-r1 amd64, #749837 (diff) | |
download | gentoo-d0e7302c8dac4ea9ea7d7fb1910237cffe24b54d.tar.gz gentoo-d0e7302c8dac4ea9ea7d7fb1910237cffe24b54d.tar.bz2 gentoo-d0e7302c8dac4ea9ea7d7fb1910237cffe24b54d.zip |
dev-ruby/octokit: add 4.19.0
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/octokit/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/octokit/octokit-4.19.0.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/octokit/Manifest b/dev-ruby/octokit/Manifest index ddf6700c5b5a..893a21161ef1 100644 --- a/dev-ruby/octokit/Manifest +++ b/dev-ruby/octokit/Manifest @@ -1 +1,2 @@ DIST octokit-4.18.0.tar.gz 3091587 BLAKE2B b48ccfa35f53b686e61a0f79c09bf20f063843c98f75a0896e71739a33cf9b770c8b5e5c27cda2c8a25ca6255cfa7c4e389b372ca269d4c46b499abf1838a4ad SHA512 e749afc4303f987b502f8c79ff60e33c6f49ff84d25f16cdb3d9165c7089912570a7b77af3716341cd5216e5c8e3534a805e4347081ec7765a4e4f54fc432ce3 +DIST octokit-4.19.0.tar.gz 3121443 BLAKE2B d0ac2daa9409d982d5428dd7fe1414c1707e860d7c3ec6534fb962c38786955ceaeb0f1cb33a8636c18a216fb4e2b8ac2777f7ef8b7ccd433b6d4597d686ffb5 SHA512 bd4171423c84d082cb3c5dea4bfa1bba9584964b8e328d88235a8ecfd084e1188367afdf54b5097049427600451edd72dc3663bca50ff761a44ddbcb001d0a99 diff --git a/dev-ruby/octokit/octokit-4.19.0.ebuild b/dev-ruby/octokit/octokit-4.19.0.ebuild new file mode 100644 index 000000000000..f58766391bd4 --- /dev/null +++ b/dev-ruby/octokit/octokit-4.19.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 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/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 +} |