summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-01-01 11:46:39 +0100
committerHans de Graaff <graaff@gentoo.org>2024-01-01 11:46:39 +0100
commit76c507368a8e7ade3784071e4d52c596adcc960e (patch)
tree8907b77b6d1f719fa17360bdc6d6a71c45a99802 /dev-ruby/octokit
parentsci-libs/NNPACK: PythonCompatUpdate (diff)
downloadgentoo-76c507368a8e7ade3784071e4d52c596adcc960e.tar.gz
gentoo-76c507368a8e7ade3784071e4d52c596adcc960e.tar.bz2
gentoo-76c507368a8e7ade3784071e4d52c596adcc960e.zip
dev-ruby/octokit: add 8.0.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/octokit')
-rw-r--r--dev-ruby/octokit/Manifest1
-rw-r--r--dev-ruby/octokit/octokit-8.0.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/octokit/Manifest b/dev-ruby/octokit/Manifest
index 337cb0e6d80d..9513828c178b 100644
--- a/dev-ruby/octokit/Manifest
+++ b/dev-ruby/octokit/Manifest
@@ -1,3 +1,4 @@
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
+DIST octokit-8.0.0.tar.gz 3306271 BLAKE2B f2bdfebd6f6df3dc507f534947b9cac68ff970d333958a8c7624b01ca090a49294ea2f2fb7b2f0f595f2e4fa37b082d19a3cf346b3634856dfd6c79981c1dcc9 SHA512 7894d8fb3f318827bbac3d8fa4787510195e5c583e256c96b8dd98ccb9ed2126f66f00799547e7db8f565f6c72d7af346c2558a31b8ad5b711c9db240e138878
diff --git a/dev-ruby/octokit/octokit-8.0.0.ebuild b/dev-ruby/octokit/octokit-8.0.0.ebuild
new file mode 100644
index 000000000000..b153005e9e76
--- /dev/null
+++ b/dev-ruby/octokit/octokit-8.0.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2024 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
+}