diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-02-04 08:37:09 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-02-04 08:37:09 +0100 |
commit | 702fe1ffa4d2fb9f02a476b43e00dbaebc7ed8b1 (patch) | |
tree | f6fde9de6ed958bf044d1e32797ae248565848bd /dev-ruby/jwt | |
parent | dev-ruby/git: drop 1.12.0 (diff) | |
download | gentoo-702fe1ffa4d2fb9f02a476b43e00dbaebc7ed8b1.tar.gz gentoo-702fe1ffa4d2fb9f02a476b43e00dbaebc7ed8b1.tar.bz2 gentoo-702fe1ffa4d2fb9f02a476b43e00dbaebc7ed8b1.zip |
dev-ruby/jwt: add 2.7.0
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.7.0.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/jwt/Manifest b/dev-ruby/jwt/Manifest index 3d8771a6bc23..d6050257337e 100644 --- a/dev-ruby/jwt/Manifest +++ b/dev-ruby/jwt/Manifest @@ -4,3 +4,4 @@ DIST jwt-2.4.0.tar.gz 59280 BLAKE2B e7ff827c0f8d0514feaea43f5915d83b4be4ee538890 DIST jwt-2.4.1.tar.gz 59783 BLAKE2B c18d44f0adda0c2111d312450c01c39d3926afc3e13c807283ffc1fe47b7c49284ab48572b47845c30805c2caefebbdf257e18e807af84819a7fff6c86f881c8 SHA512 871ffe9dc659877a77de0c2a51b1f78b45614cf8265bd07820a9b4b08e38160861b4c9f98391138bfaaf64261ce2eb58eba26c40f29c41b02b8fa16cd260997a DIST jwt-2.5.0.tar.gz 65165 BLAKE2B 3011bca18101cd6ec4ce066ce541e31d135ca57ecb3c105915e55d1637e4465e5ae87655c4a7dbb91ff8ca299b6b1c77f9c9263b944cb6b90a1679c25a593cc7 SHA512 fab73ee33769db297b8c8c7381070c8fcd1dd8e43aff2d241ee82f0327867eff3c1067536a90928ad65a2870dc2638515617f5d5cc92023ab1dfe3b6696f10d8 DIST jwt-2.6.0.tar.gz 72387 BLAKE2B b20d902625815763b203ee201482792e4db5976a5b7cff24a6c08d391f254d62a80b7d5aa5a6833a50eb3252dd1359c28707da8e6f8d0b43308b8aef6b108687 SHA512 62d62728f97d5ac779919365b144cc5ddb9d2a74b16e1692a6bb37e0a64a89b3990429244694eb1a5e36793c64a179cf2f38738600b721f8d419d6ea13e96caa +DIST jwt-2.7.0.tar.gz 75020 BLAKE2B 2bfa009912f4037dc13672ef6d43557e70bc9a06d399d949a6c5ddee641dc550a218242482ec0a66eb470ab117d1e192dd1ca6fdb5a03926d85f4902d72500e7 SHA512 8e0bb9909d123b7b73fe01fafc4088e45140e417b1bff84b240a317f3dca8085b2b987bd1e93cb1506efc66a1f7371168f8202a590308ee0e4c52820983a9789 diff --git a/dev-ruby/jwt/jwt-2.7.0.ebuild b/dev-ruby/jwt/jwt-2.7.0.ebuild new file mode 100644 index 000000000000..4d714d4cccc8 --- /dev/null +++ b/dev-ruby/jwt/jwt-2.7.0.ebuild @@ -0,0 +1,33 @@ +# 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_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 +} |