diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-08-26 14:13:12 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-08-26 14:13:33 +0200 |
commit | 2bdb6c33841b3b44f5e4eeafc1a8ea9215a7226d (patch) | |
tree | 48bbd97b5f10fabfcb5f8cd366499423910325bf /dev-ruby/jwt/jwt-2.4.0.ebuild | |
parent | licenses: Drop unused GDLS (diff) | |
download | gentoo-2bdb6c33841b3b44f5e4eeafc1a8ea9215a7226d.tar.gz gentoo-2bdb6c33841b3b44f5e4eeafc1a8ea9215a7226d.tar.bz2 gentoo-2bdb6c33841b3b44f5e4eeafc1a8ea9215a7226d.zip |
Revert "dev-ruby/jwt: drop 2.2.3, 2.4.0"
This reverts commit 4b121ffa4141212e2d04a64902b13a417ac79411.
2.2.3 is still being used by app-admin/r10k
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/jwt/jwt-2.4.0.ebuild')
-rw-r--r-- | dev-ruby/jwt/jwt-2.4.0.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/jwt/jwt-2.4.0.ebuild b/dev-ruby/jwt/jwt-2.4.0.ebuild new file mode 100644 index 000000000000..2151906e7d9c --- /dev/null +++ b/dev-ruby/jwt/jwt-2.4.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30 ruby31" + +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="" + +RUBY_S="ruby-jwt-${PV}" + +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 +} |