1 |
commit: a569cdd36269f363ca26f7ef37df0477ad54be21 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 26 08:44:59 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 26 11:45:40 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a569cdd3 |
7 |
|
8 |
dev-ruby/jwt: add 2.5.0 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
|
12 |
dev-ruby/jwt/Manifest | 1 + |
13 |
dev-ruby/jwt/jwt-2.5.0.ebuild | 33 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 34 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/jwt/Manifest b/dev-ruby/jwt/Manifest |
17 |
index 3d2cf6b17865..09f61aedf001 100644 |
18 |
--- a/dev-ruby/jwt/Manifest |
19 |
+++ b/dev-ruby/jwt/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST jwt-2.3.0.tar.gz 53312 BLAKE2B 4653a786d0f5da0d7c7e160f5b0c189f0eab78d045d5af441561c953d6d42fc74d6baff95e54dd9bfd47b3245f3b628e25f99e37016631ef282d95564a08cb1d SHA512 a4dfbb119575d9b5f883c2789734180f092adc75e05310de2e523e352f47469243868480e06f9bfabfa2a48e174ea669e69bd73e0fd002c4f66134462ffe2653 |
22 |
DIST jwt-2.4.1.tar.gz 59783 BLAKE2B c18d44f0adda0c2111d312450c01c39d3926afc3e13c807283ffc1fe47b7c49284ab48572b47845c30805c2caefebbdf257e18e807af84819a7fff6c86f881c8 SHA512 871ffe9dc659877a77de0c2a51b1f78b45614cf8265bd07820a9b4b08e38160861b4c9f98391138bfaaf64261ce2eb58eba26c40f29c41b02b8fa16cd260997a |
23 |
+DIST jwt-2.5.0.tar.gz 65165 BLAKE2B 3011bca18101cd6ec4ce066ce541e31d135ca57ecb3c105915e55d1637e4465e5ae87655c4a7dbb91ff8ca299b6b1c77f9c9263b944cb6b90a1679c25a593cc7 SHA512 fab73ee33769db297b8c8c7381070c8fcd1dd8e43aff2d241ee82f0327867eff3c1067536a90928ad65a2870dc2638515617f5d5cc92023ab1dfe3b6696f10d8 |
24 |
|
25 |
diff --git a/dev-ruby/jwt/jwt-2.5.0.ebuild b/dev-ruby/jwt/jwt-2.5.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..54badce1eee7 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/jwt/jwt-2.5.0.ebuild |
30 |
@@ -0,0 +1,33 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+USE_RUBY="ruby27 ruby30 ruby31" |
36 |
+ |
37 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
38 |
+ |
39 |
+RUBY_FAKEGEM_BINWRAP="" |
40 |
+RUBY_FAKEGEM_GEMSPEC="ruby-jwt.gemspec" |
41 |
+ |
42 |
+inherit ruby-fakegem |
43 |
+ |
44 |
+DESCRIPTION="A Ruby implementation of JSON Web Token draft 06" |
45 |
+HOMEPAGE="https://github.com/jwt/ruby-jwt" |
46 |
+SRC_URI="https://github.com/jwt/ruby-jwt/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="MIT" |
49 |
+SLOT="2" |
50 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
51 |
+IUSE="" |
52 |
+ |
53 |
+RUBY_S="ruby-jwt-${PV}" |
54 |
+ |
55 |
+ruby_add_bdepend "test? ( dev-ruby/rbnacl )" |
56 |
+ |
57 |
+all_ruby_prepare() { |
58 |
+ sed -i -e "/simplecov/ s:^:#:" \ |
59 |
+ -e '/^SimpleCov.start/,/^end/ s:^:#:' \ |
60 |
+ spec/spec_helper.rb || die |
61 |
+ |
62 |
+ sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die |
63 |
+} |