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