diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-11-23 10:03:41 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-11-23 11:31:16 +0100 |
commit | fcebfe1ca449e8a94684a38d7623cd01b77c21d8 (patch) | |
tree | c0df9b4176b0da64a9c23894ae032915628e4e54 /dev-ruby/octokit | |
parent | dev-libs/cdk: Stabilize 5.0.20240331 sparc, #944566 (diff) | |
download | gentoo-fcebfe1ca449e8a94684a38d7623cd01b77c21d8.tar.gz gentoo-fcebfe1ca449e8a94684a38d7623cd01b77c21d8.tar.bz2 gentoo-fcebfe1ca449e8a94684a38d7623cd01b77c21d8.zip |
dev-ruby/octokit: add 9.2.0
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-9.2.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/octokit/Manifest b/dev-ruby/octokit/Manifest index 9fd79a5e8bb8..08e27ca212c1 100644 --- a/dev-ruby/octokit/Manifest +++ b/dev-ruby/octokit/Manifest @@ -1,3 +1,4 @@ DIST octokit-7.2.0.tar.gz 3293244 BLAKE2B 6c24add01107868d64b0409d7a4eaf5bc5b90a9932d10f46e091aa5f4a512dd64a70047e2615c4a064b33e66e48e724ca0c85a4dec523c8df6c4968ecae83b55 SHA512 91abe7e64a75da5ef4f93a891aedbd1a047f744fed695dfb843f5d6f7416d4e08c7cad192b60d3aead43e38095c0985239a364a70a51042dca1b74bbc3529e8a DIST octokit-8.1.0.tar.gz 3324751 BLAKE2B 84cc09d122e7a7269272b453f1042158329804bc25bc918fafdc382264b4db7c0264f4d1978521fc5b438e50abc4b879cfe287032998d337ba05c0eae27f4229 SHA512 77552e71fcf149a7aafa94c93210dcf9462cf8269be89e16248c47cf3bf40ab4cc754a9d989599822fc06c29a7edc7e9a16ae3cba696155175710ae7cf845567 DIST octokit-9.1.0.tar.gz 3386113 BLAKE2B 73558de152f3ab4c06564e5c076def7799a7b52676229d49ecb552ef3a9356e047500a7fc50f56c97115c64062ee519bec5a13d1025b59aaac66f1db83f83f66 SHA512 8e7c40ba73562c0facabc4c313fef731bc21c2bb8cb95460379eef17fd369485fa8119cc8ac9545137a6da2a358522dee94987bfc0f52378d94b6e55dc88f9d7 +DIST octokit-9.2.0.tar.gz 3403238 BLAKE2B 769b1e22d8232967ea90811f77e6f7a98ef7898ee4ec4255cfb944c4583632ffd6120e333a4b2786243f4f9c239cf58c57eb40b12e0e4f4a3d04ccc89f54c790 SHA512 2a584531422ebaf4b2e0930480678a690d4393854162139ab774ec34d12a49853bcba873834e7ee94be9283fa4a2329e1957f365ceb990082808d8ef0eb73a89 diff --git a/dev-ruby/octokit/octokit-9.2.0.ebuild b/dev-ruby/octokit/octokit-9.2.0.ebuild new file mode 100644 index 000000000000..a06befdaa080 --- /dev/null +++ b/dev-ruby/octokit/octokit-9.2.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md CONTRIBUTING.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit 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="test" + +RUBY_S=octokit.rb-${PV} + +ruby_add_rdepend " + || ( dev-ruby/faraday:2 dev-ruby/faraday:1 ) + >=dev-ruby/sawyer-0.9:0 +" + +ruby_add_bdepend "test? ( + || ( ( dev-ruby/faraday:2 dev-ruby/faraday-multipart ) dev-ruby/faraday:1 ) + dev-ruby/jwt + dev-ruby/mime-types + >=dev-ruby/netrc-0.7.7 + >=dev-ruby/rbnacl-7.1.1:6 + dev-ruby/vcr[json] + dev-ruby/webmock:3 )" + +all_ruby_prepare() { + sed -e '/if RUBY_ENGINE/,/^end/ s:^:#: ; 1igem "webmock", "~>3.0"' \ + -e '/pry/ s:^:#:' \ + -i spec/spec_helper.rb || die + + # Avoid specs using unpackaged faraday-http-cache + rm -f spec/octokit/client/repositories_spec.rb || die +} |