diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-01-14 08:19:41 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-01-14 08:29:03 +0100 |
commit | 7a630a9257d4f4f73d6de0ae13eec3e812e7f98b (patch) | |
tree | 5df0d119726eef3c30d718f343ec3e2ffdaf5247 /dev-ruby/octokit | |
parent | dev-ruby/font-awesome-rails: cleanup (diff) | |
download | gentoo-7a630a9257d4f4f73d6de0ae13eec3e812e7f98b.tar.gz gentoo-7a630a9257d4f4f73d6de0ae13eec3e812e7f98b.tar.bz2 gentoo-7a630a9257d4f4f73d6de0ae13eec3e812e7f98b.zip |
dev-ruby/octokit: add 4.22.0
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/octokit')
-rw-r--r-- | dev-ruby/octokit/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/octokit/octokit-4.22.0.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/octokit/Manifest b/dev-ruby/octokit/Manifest index e5ead182cff7..d5df191d04d5 100644 --- a/dev-ruby/octokit/Manifest +++ b/dev-ruby/octokit/Manifest @@ -1,2 +1,3 @@ DIST octokit-4.20.0.tar.gz 3127939 BLAKE2B 30b251c95cf664ea83d23473ecbd5d1652586a567775253afa3f0c954490a6381c86da40cdc3761c8c43b17c850dfe9ba80f3814e946f1f3a008be81dd3c002a SHA512 180a4846052dc223b4d5444acc7af7d78151ac941687c75e6853c119ce75d9383fa5ec1ffc7ede97a6ee6d5780ef27030f2132761484099f634be6a3c4a9d7b6 DIST octokit-4.21.0.tar.gz 3134804 BLAKE2B 67648f7dd3a04b8b5b397d94e1c73329fe6ea0a6db1abff3c5cb5ab443beb1e5874c2bc2f072ecbeee2a13b4de229791c03184eb5fa769ba52e2d8793bf0b9c1 SHA512 364ed578ddef4b4fe50c3848559820819a517d33e2140f2867f70de4fc1e9e5a14c0fcc9b34a6bb6b2240bfaf0b9ff95038e01ff7e857e2bd0ab707f546d9fd9 +DIST octokit-4.22.0.tar.gz 3141531 BLAKE2B c852f34dc99b10fb06194bda9f15bffb4242a2b5ee7909e74defa2a7ca6b90962fd30232eb8850d97af872bfb036c87f7623acd9088efa3afd07f01cad525fe4 SHA512 e8696176227c81d5f80080fbb3c660b7b6e1b28b149b664b20d7e8cf333450988ac2fb9f5327c5e4e46528dbf7eea1246e82c94b265e6008f8fd7cd98f87423c diff --git a/dev-ruby/octokit/octokit-4.22.0.ebuild b/dev-ruby/octokit/octokit-4.22.0.ebuild new file mode 100644 index 000000000000..e9e1d7a6daec --- /dev/null +++ b/dev-ruby/octokit/octokit-4.22.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" + +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 +} |