commit:     e604d34da69ddd4a42a389063623918f4c26f9ae
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 15 05:19:08 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jun 15 05:45:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e604d34d

dev-ruby/jwt: add 3.0.0

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/jwt/Manifest         |  1 +
 dev-ruby/jwt/jwt-3.0.0.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/dev-ruby/jwt/Manifest b/dev-ruby/jwt/Manifest
index cafb8a119a56..c698026a84b7 100644
--- a/dev-ruby/jwt/Manifest
+++ b/dev-ruby/jwt/Manifest
@@ -1 +1,2 @@
 DIST jwt-2.10.1.tar.gz 88211 BLAKE2B 
765f166ef7bbde77c47e66e04778ab6ad0f2d66aaa2b79deb153117488c171cf655f5660d96a6f2aaa7887f699d1527eb6ff2ba93465533547f6a86259d66ae8
 SHA512 
f7ad9597d83c26af110f48217494f606362f33947f9ffeb1219c9c5b412b6ab5098a4ccb9198648b0bf5f9bcc79d3435ee339504411f3c32cd0c2b104fa2c73e
+DIST jwt-3.0.0.tar.gz 84987 BLAKE2B 
18ee595e21c58a3f23f94469d707e7216e4a083b7f44ace3d9fff67484843b0cba0c209dc3b1d9f47622be6dafd2e3ae6694ff8e6b6dbae5800fdbee10c16924
 SHA512 
5769479aea0e7adbf92aee01220d657c89cf16e709e57d1ecefd81faa0fd5a0dc4e452ed6b3c742266021748787153307de20baeed365234471dcaf93b9118d5

diff --git a/dev-ruby/jwt/jwt-3.0.0.ebuild b/dev-ruby/jwt/jwt-3.0.0.ebuild
new file mode 100644
index 000000000000..9a4598c03dd6
--- /dev/null
+++ b/dev-ruby/jwt/jwt-3.0.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby32 ruby33 ruby34"
+
+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="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="test"
+
+RUBY_S="ruby-jwt-${PV}"
+
+ruby_add_rdepend "dev-ruby/base64"
+
+ruby_add_bdepend "test? ( dev-ruby/logger )"
+
+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
+}

Reply via email to