summaryrefslogtreecommitdiff
path: root/dev-ruby/octokit
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/octokit')
-rw-r--r--dev-ruby/octokit/Manifest2
-rw-r--r--dev-ruby/octokit/octokit-5.6.1.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/octokit/Manifest b/dev-ruby/octokit/Manifest
index f338e73dc266..fd89a4b6e701 100644
--- a/dev-ruby/octokit/Manifest
+++ b/dev-ruby/octokit/Manifest
@@ -1,5 +1,7 @@
DIST octokit-4.24.0.tar.gz 3151075 BLAKE2B df9a20854358722bb92e894413b4b8d50e911aba23d610da4d00e6ff8e03df2c442a83a781c836f5f780a2079992a28c77ae59ae89d49386a009af8f29d8a9d5 SHA512 e2cabc820732b6d9e71b37807007e17fba23199faa127c3480c37b5c8fca1a0ddcaffe5815ffe7a9efe3ef3b617b9099dca8b01e58b4210cbf68566897a93ce7
DIST octokit-4.25.1.tar.gz 3154185 BLAKE2B b1698de8694cd2e147542eb6e7e9784428daa035a6e123c05c135558a669c0d222ef4629cc89de815a51b7b3660a8dd2cb80e8d11b90ac43f661e3e2e078b0c0 SHA512 780393e6765e82f0fbfada3b8800ccb981df4383ebfda0b218c24bac224b39f836c3d9cb94cf2564676000862dec7ab94cd2dbdaff51c37142d1f45140121bf1
+DIST octokit-5.6.1.tar.gz 3171006 BLAKE2B 33fd132f81c7b1e1b3c1a4264b7bc6a7e7dbc2f9ccd4f1d2d734ae10914c5544eb90c629200e6d81b9a33fccc23791147af6660840248235ebe6b946f2ebba13 SHA512 3ed2e3eb61190da521f9246ac0fdb530e15c45cb41e5849f04ba1a92f0da8060a82eb2d90dfcb407436efba5f7f0ea98c69a342c67aa26b62eeab74a1f906c4e
EBUILD octokit-4.24.0.ebuild 951 BLAKE2B e5f53535061bb164369f18c40e3077a1474fbadb3aec68853df90d435377dd05a5bf8c31326dea51b3b12d937a35c961fac3376b6a95d4009652c05f4dbf8047 SHA512 c316070cc98617c06cb958c725b12982c2d2a9bd6d36421d21c190b432535dee6ca6f4b083e4057d94d74bd01bcc9d6e6d1fb88f14f48029f9b6d74f6abf56b8
EBUILD octokit-4.25.1.ebuild 977 BLAKE2B 77e153539ba3ec30c494fb19530723fbd579a9e5a44cb05027d281df0389967e4625487f40201a82089bcb17551b56bfdb658895fddd68d8e31e18e39b246419 SHA512 97489cf4a78ecc53ea97e484294aabcbe091cf77cf97e93d60b624c480fec2ec8a18ec52f9457dd99bd892c30fd0485610df2644aeee426fcc7942f61341aeb7
+EBUILD octokit-5.6.1.ebuild 972 BLAKE2B 420072df30461bdc59bb0dcaa166eb5e8df5f4bd51a0dd20bcf9d9e06a955ed190702851c503b1c517d4746f113497e89931b21e22da9089fe75b6e5ec2432b5 SHA512 99c02d044abe07ec8ddb22a7f50be2b49984aa08ccc781e0a47d459ad36234da3d78c3f7afb03c4876c136ae30c25cebc1b3ab5dcfbf7df1cb354af0a9ae11fa
MISC metadata.xml 345 BLAKE2B ea9d229a1fa9c9e756d829b4b07d85d90cf5834f6667c622b5b9b5a886e2bd7b3f4d3e115a955ec823869ffe55d7fa810e97cee634036d7da88846462e42fd8c SHA512 afde1a713d352134bd4ada1404bb8834e0a33c4f0558a56050786d67bc76e9d397b0aa362445b74b29b620f93e2eb85b1374f2becb0d568ab618b65a4a95b689
diff --git a/dev-ruby/octokit/octokit-5.6.1.ebuild b/dev-ruby/octokit/octokit-5.6.1.ebuild
new file mode 100644
index 000000000000..5d221048a45e
--- /dev/null
+++ b/dev-ruby/octokit/octokit-5.6.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+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:1
+ >=dev-ruby/sawyer-0.9:0
+"
+
+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[json]
+ dev-ruby/webmock:3 )"
+
+all_ruby_prepare() {
+ sed -e '/if RUBY_ENGINE/,/^end/ s:^:#: ; 1igem "webmock", "~>3.0"; gem "faraday", "<2"' \
+ -e '/pry/ s:^:#:' \
+ -i spec/helper.rb || die
+}