diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-10-18 08:21:38 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-10-18 08:22:37 +0200 |
commit | 745e7602906bd96b099be592952d0dfbabccae7c (patch) | |
tree | 03ade4ece71f8b3e7a36991e291ef316b9299cf9 /dev-ruby/jwt | |
parent | dev-ruby/excon: drop 0.109.0, 0.110.0, 0.111.0 (diff) | |
download | gentoo-745e7602906bd96b099be592952d0dfbabccae7c.tar.gz gentoo-745e7602906bd96b099be592952d0dfbabccae7c.tar.bz2 gentoo-745e7602906bd96b099be592952d0dfbabccae7c.zip |
dev-ruby/jwt: add 2.9.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/jwt')
-rw-r--r-- | dev-ruby/jwt/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/jwt/jwt-2.9.3.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/jwt/Manifest b/dev-ruby/jwt/Manifest index d9da9b1f9055..3592c7087226 100644 --- a/dev-ruby/jwt/Manifest +++ b/dev-ruby/jwt/Manifest @@ -2,3 +2,4 @@ DIST jwt-2.7.1.tar.gz 75003 BLAKE2B 5c43fd78cf22960749358cbfcbfb5c47dce935ef8fd8 DIST jwt-2.8.1.tar.gz 71939 BLAKE2B 07eb3df24165c72f13a77dfff658a94574e4fc5b5aed3b56041c58cf9bfb8eba663e76de7eb91e2870bbb8dcdeb79b9c2a7888d29f41feee06e2f07a825b90b9 SHA512 df4ad49f223bba0ace69a37d229868c2deabed5c09fd84e5e4ce4021242cef9e30c07a592b5bf54af6bdcfec552487d808620cf020d242757fc4310d201469c2 DIST jwt-2.8.2.tar.gz 72273 BLAKE2B 808c6144b31a4d042a161c2e9fe3008995e45ed2cf1df9f454a84e04a613f23a0394e87644dbbdd7c94272ea57c2568defe63c9d71bfcf3c02caa81b345d4240 SHA512 d92cfe8c5196c3efd4cc42751cef956cf35758e980a959f554b61e148dfcaddfd9fc3d05bb57a043eca4c03f8240086951ad24bc676fb7d0f29a677dab4b270e DIST jwt-2.9.0.tar.gz 74870 BLAKE2B f7b697294e1f79924ea76d8712b85c22a7c60baf34bc12bc8cd1d606fe6b94dbc13087eecafcdf5fbaf3684cf4bd55d46b0c6f58c6c4fa26a671063a79293529 SHA512 5ef5a58e884498357ee1783e1c7a93fcfe90cae4a3a75d5700e08c068601215c3fcd83e3b6d52c55cb5f0a06a9dd2dfae8c81aa7fd5f08314c5fd8234acb97b7 +DIST jwt-2.9.3.tar.gz 80775 BLAKE2B 1bf84271f548213feefd45e3dee36b897e71c64e5dcd3a35060ec833cf832cd9d821b0ab1767ba3b957ba73ed870608aecbd73840a9de24489547a2ae5d919c4 SHA512 56f242a665d997cae4ae5e2ed361fd8b0a3fe181e122f3df61c9ff110104c2f558a8a8e6ee5f0594d8c10fe9823564df295d4045b5f37b857fcb22b9a99685fc diff --git a/dev-ruby/jwt/jwt-2.9.3.ebuild b/dev-ruby/jwt/jwt-2.9.3.ebuild new file mode 100644 index 000000000000..8b4de2060122 --- /dev/null +++ b/dev-ruby/jwt/jwt-2.9.3.ebuild @@ -0,0 +1,35 @@ +# 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_TEST="rspec3" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_GEMSPEC="ruby-jwt.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby implementation of JSON Web Token draft 06" +HOMEPAGE="https://github.com/jwt/ruby-jwt" +SRC_URI="https://github.com/jwt/ruby-jwt/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="eddsa test" + +RUBY_S="ruby-jwt-${PV}" + +ruby_add_rdepend "dev-ruby/base64 eddsa? ( dev-ruby/rbnacl )" + +ruby_add_bdepend "test? ( dev-ruby/rbnacl )" + +all_ruby_prepare() { + sed -i -e "/simplecov/ s:^:#:" \ + -e '/^SimpleCov.start/,/^end/ s:^:#:' \ + spec/spec_helper.rb || die + + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} |