1 |
commit: 2bdb6c33841b3b44f5e4eeafc1a8ea9215a7226d |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 26 12:13:12 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 26 12:13:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bdb6c33 |
7 |
|
8 |
Revert "dev-ruby/jwt: drop 2.2.3, 2.4.0" |
9 |
|
10 |
This reverts commit 4b121ffa4141212e2d04a64902b13a417ac79411. |
11 |
|
12 |
2.2.3 is still being used by app-admin/r10k |
13 |
|
14 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
15 |
|
16 |
dev-ruby/jwt/Manifest | 2 ++ |
17 |
dev-ruby/jwt/jwt-2.2.3.ebuild | 35 +++++++++++++++++++++++++++++++++++ |
18 |
dev-ruby/jwt/jwt-2.4.0.ebuild | 33 +++++++++++++++++++++++++++++++++ |
19 |
3 files changed, 70 insertions(+) |
20 |
|
21 |
diff --git a/dev-ruby/jwt/Manifest b/dev-ruby/jwt/Manifest |
22 |
index 09f61aedf001..05fdaecf0a53 100644 |
23 |
--- a/dev-ruby/jwt/Manifest |
24 |
+++ b/dev-ruby/jwt/Manifest |
25 |
@@ -1,3 +1,5 @@ |
26 |
+DIST jwt-2.2.3.tar.gz 50675 BLAKE2B 904a2b9be80ece10cc046d35df784ecc4991c3b09a79c2e2e461003596e9212409ed5840282ce632d3ff499754c505cd899ca95945f562883869ff3c50c4399a SHA512 ebefbf8f825afc1a78329088012118ed681a61bdf9e1c6a3fa125d46105092f1f26a4bc88791788c0290009dbc0427128d655a301c034ac07caf14216744962c |
27 |
DIST jwt-2.3.0.tar.gz 53312 BLAKE2B 4653a786d0f5da0d7c7e160f5b0c189f0eab78d045d5af441561c953d6d42fc74d6baff95e54dd9bfd47b3245f3b628e25f99e37016631ef282d95564a08cb1d SHA512 a4dfbb119575d9b5f883c2789734180f092adc75e05310de2e523e352f47469243868480e06f9bfabfa2a48e174ea669e69bd73e0fd002c4f66134462ffe2653 |
28 |
+DIST jwt-2.4.0.tar.gz 59280 BLAKE2B e7ff827c0f8d0514feaea43f5915d83b4be4ee538890250a390cf9a5df3f372d5bff3d90b741d0024c9e89ad28e581626a330b1fb400d2616454a1f964d358e4 SHA512 2bb409a8b2ae2e2330744e3efe306bfc1755c70244f2d7d4dd8ed824c7960f42baf6ec3ee80ed74c0590a3a61b92f61edb157db001d4c4f28005bb50c60bf74f |
29 |
DIST jwt-2.4.1.tar.gz 59783 BLAKE2B c18d44f0adda0c2111d312450c01c39d3926afc3e13c807283ffc1fe47b7c49284ab48572b47845c30805c2caefebbdf257e18e807af84819a7fff6c86f881c8 SHA512 871ffe9dc659877a77de0c2a51b1f78b45614cf8265bd07820a9b4b08e38160861b4c9f98391138bfaaf64261ce2eb58eba26c40f29c41b02b8fa16cd260997a |
30 |
DIST jwt-2.5.0.tar.gz 65165 BLAKE2B 3011bca18101cd6ec4ce066ce541e31d135ca57ecb3c105915e55d1637e4465e5ae87655c4a7dbb91ff8ca299b6b1c77f9c9263b944cb6b90a1679c25a593cc7 SHA512 fab73ee33769db297b8c8c7381070c8fcd1dd8e43aff2d241ee82f0327867eff3c1067536a90928ad65a2870dc2638515617f5d5cc92023ab1dfe3b6696f10d8 |
31 |
|
32 |
diff --git a/dev-ruby/jwt/jwt-2.2.3.ebuild b/dev-ruby/jwt/jwt-2.2.3.ebuild |
33 |
new file mode 100644 |
34 |
index 000000000000..bed4ee7f5a63 |
35 |
--- /dev/null |
36 |
+++ b/dev-ruby/jwt/jwt-2.2.3.ebuild |
37 |
@@ -0,0 +1,35 @@ |
38 |
+# Copyright 1999-2021 Gentoo Authors |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=8 |
42 |
+USE_RUBY="ruby26 ruby27 ruby30" |
43 |
+ |
44 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
45 |
+ |
46 |
+RUBY_FAKEGEM_BINWRAP="" |
47 |
+RUBY_FAKEGEM_GEMSPEC="ruby-jwt.gemspec" |
48 |
+ |
49 |
+inherit ruby-fakegem |
50 |
+ |
51 |
+DESCRIPTION="A Ruby implementation of JSON Web Token draft 06" |
52 |
+HOMEPAGE="https://github.com/jwt/ruby-jwt" |
53 |
+SRC_URI="https://github.com/jwt/ruby-jwt/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
54 |
+ |
55 |
+LICENSE="MIT" |
56 |
+SLOT="2" |
57 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
58 |
+IUSE="" |
59 |
+ |
60 |
+RUBY_S="ruby-jwt-${PV}" |
61 |
+ |
62 |
+PATCHES=( "${FILESDIR}/${P}-ec-test.patch" ) |
63 |
+ |
64 |
+ruby_add_bdepend "test? ( dev-ruby/rbnacl )" |
65 |
+ |
66 |
+all_ruby_prepare() { |
67 |
+ sed -i -e "/simplecov/ s:^:#:" \ |
68 |
+ -e '/^SimpleCov.start/,/^end/ s:^:#:' \ |
69 |
+ spec/spec_helper.rb || die |
70 |
+ |
71 |
+ sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die |
72 |
+} |
73 |
|
74 |
diff --git a/dev-ruby/jwt/jwt-2.4.0.ebuild b/dev-ruby/jwt/jwt-2.4.0.ebuild |
75 |
new file mode 100644 |
76 |
index 000000000000..2151906e7d9c |
77 |
--- /dev/null |
78 |
+++ b/dev-ruby/jwt/jwt-2.4.0.ebuild |
79 |
@@ -0,0 +1,33 @@ |
80 |
+# Copyright 1999-2022 Gentoo Authors |
81 |
+# Distributed under the terms of the GNU General Public License v2 |
82 |
+ |
83 |
+EAPI=8 |
84 |
+USE_RUBY="ruby26 ruby27 ruby30 ruby31" |
85 |
+ |
86 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
87 |
+ |
88 |
+RUBY_FAKEGEM_BINWRAP="" |
89 |
+RUBY_FAKEGEM_GEMSPEC="ruby-jwt.gemspec" |
90 |
+ |
91 |
+inherit ruby-fakegem |
92 |
+ |
93 |
+DESCRIPTION="A Ruby implementation of JSON Web Token draft 06" |
94 |
+HOMEPAGE="https://github.com/jwt/ruby-jwt" |
95 |
+SRC_URI="https://github.com/jwt/ruby-jwt/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
96 |
+ |
97 |
+LICENSE="MIT" |
98 |
+SLOT="2" |
99 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
100 |
+IUSE="" |
101 |
+ |
102 |
+RUBY_S="ruby-jwt-${PV}" |
103 |
+ |
104 |
+ruby_add_bdepend "test? ( dev-ruby/rbnacl )" |
105 |
+ |
106 |
+all_ruby_prepare() { |
107 |
+ sed -i -e "/simplecov/ s:^:#:" \ |
108 |
+ -e '/^SimpleCov.start/,/^end/ s:^:#:' \ |
109 |
+ spec/spec_helper.rb || die |
110 |
+ |
111 |
+ sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die |
112 |
+} |