summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-09-30 09:17:22 +0200
committerHans de Graaff <graaff@gentoo.org>2023-09-30 09:17:22 +0200
commit204321e749d5d1e50a77ebe6aa799a8c8d0ee2b9 (patch)
treedb5adcb44fa8885892df3dd40b7cfa71d3fcbd5c /dev-ruby
parentdev-ruby/rspec-collection_matchers: add 1.2.1 (diff)
downloadgentoo-204321e749d5d1e50a77ebe6aa799a8c8d0ee2b9.tar.gz
gentoo-204321e749d5d1e50a77ebe6aa799a8c8d0ee2b9.tar.bz2
gentoo-204321e749d5d1e50a77ebe6aa799a8c8d0ee2b9.zip
dev-ruby/octokit: add 7.2.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/octokit/Manifest1
-rw-r--r--dev-ruby/octokit/octokit-7.2.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/octokit/Manifest b/dev-ruby/octokit/Manifest
index 4a95a96c25ab..337cb0e6d80d 100644
--- a/dev-ruby/octokit/Manifest
+++ b/dev-ruby/octokit/Manifest
@@ -1,2 +1,3 @@
DIST octokit-6.1.1.tar.gz 3193336 BLAKE2B 890afac205992c25dd8b48f63ea7a4cf250687318ecb9c0980fc50ff1583943074cea1d9260f139b1a5f86295483f44120421dba8294eba641104301f0188123 SHA512 d91b326d892f80f08598ebb0a03edfd1fb85d36e40dac49593291a6b2ff6a957f5cd2283655c20ff0299f40c75ad7472ff55a14b182bec5f92693b560c2d3c87
DIST octokit-7.1.0.tar.gz 3289841 BLAKE2B 7a0f95f0c94a4283d64252423b5adb3fbfbd309c5735d20672e26313aa0eaede0d75490878332d61f091cccce61bcc359339606566f8517b8a2adff1a495973f SHA512 6fdf2db8c0c9529e2d4aa574930432cd3954c8796209b4023d8be0d02c36aceb4f1ffb4c8eddf2aa25030a2d5a3223c7afae9c7f8bccdc03b2acab621d496f79
+DIST octokit-7.2.0.tar.gz 3293244 BLAKE2B 6c24add01107868d64b0409d7a4eaf5bc5b90a9932d10f46e091aa5f4a512dd64a70047e2615c4a064b33e66e48e724ca0c85a4dec523c8df6c4968ecae83b55 SHA512 91abe7e64a75da5ef4f93a891aedbd1a047f744fed695dfb843f5d6f7416d4e08c7cad192b60d3aead43e38095c0985239a364a70a51042dca1b74bbc3529e8a
diff --git a/dev-ruby/octokit/octokit-7.2.0.ebuild b/dev-ruby/octokit/octokit-7.2.0.ebuild
new file mode 100644
index 000000000000..cc3f96e0c08e
--- /dev/null
+++ b/dev-ruby/octokit/octokit-7.2.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+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=""
+
+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
+}