Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/jwt/
Date: Sat, 25 May 2019 05:38:36
Message-Id: 1558762606.adb752041acfde0f126776a265694c6bad305df2.graaff@gentoo
1 commit: adb752041acfde0f126776a265694c6bad305df2
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 25 05:36:46 2019 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat May 25 05:36:46 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adb75204
7
8 dev-ruby/jwt: add 2.2.1
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11 Package-Manager: Portage-2.3.62, Repoman-2.3.11
12
13 dev-ruby/jwt/Manifest | 1 +
14 dev-ruby/jwt/jwt-2.2.1.ebuild | 32 ++++++++++++++++++++++++++++++++
15 2 files changed, 33 insertions(+)
16
17 diff --git a/dev-ruby/jwt/Manifest b/dev-ruby/jwt/Manifest
18 index cd73c796a66..9ca4091af1b 100644
19 --- a/dev-ruby/jwt/Manifest
20 +++ b/dev-ruby/jwt/Manifest
21 @@ -1,3 +1,4 @@
22 DIST jwt-1.5.6.tar.gz 28586 BLAKE2B d1fa2e735cf93126866c7a5eca14d63ee2646a66b9759fa59ec3191544efb2e0f502c7474e41a1b0d494ed8d692462db64efd718b8c6fa8acb4fcd9b58ab1c32 SHA512 f112bb815ef1af1f77d082574f5157f33469c2caba88716aa16b20dc48d279f8579730f75db81aa31480d6edd5deaa110adbaf3f52372b0397d5822a964a759e
23 DIST jwt-2.1.0.tar.gz 34188 BLAKE2B 0022dbb76cd8570aee84b6590f24639320977ae8d6d5fa53ef1d260da12bc732f9fdc01d59f6c994dc36642a7b67786b607ae76aca8044b7d5f5c60dc300966a SHA512 ad65b6ddd5fb7f33efe0036103f8f7482fd35090b8545219141e8885298fb4809d2386fd6e986c9bca0f85c823c9d4a6500785c0c5964db22d023a99c603ec47
24 DIST jwt-2.2.0.tar.gz 41060 BLAKE2B 80958a9a88ad0f281f0eb545e584bc1035d1f13ddd0e2c337896300981fcb09849dfdd97828a5820fd241a3387b545c67e600d9148314860380398819f321aff SHA512 66da3ea525041080ed6c1da50e61a7e5ec9c8de70d5dc592c781b89aab7feebcfc419ae4362504b793cdc8857b37797efaf2847eab9425a53628680f5acdc0ce
25 +DIST jwt-2.2.1.tar.gz 41269 BLAKE2B 51a47d07c9386c42dd22832d4b1c5a7c8c1b599dad15801d8192f023ee73336de4ee1c7c61c76ab9e181b26e168c661090cffca2d8db27a7a2f6a8be40dfb6e1 SHA512 cdcbbbb7af4bccc471a8a8ee3341c8b23d634b3f46522585fa51d228963c58305d16b45f3455c811a86bff13d3e4c3911e54d8a2932228d0feb5133ae43949c6
26
27 diff --git a/dev-ruby/jwt/jwt-2.2.1.ebuild b/dev-ruby/jwt/jwt-2.2.1.ebuild
28 new file mode 100644
29 index 00000000000..297c32535e2
30 --- /dev/null
31 +++ b/dev-ruby/jwt/jwt-2.2.1.ebuild
32 @@ -0,0 +1,32 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +USE_RUBY="ruby25 ruby26"
38 +
39 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
40 +
41 +RUBY_FAKEGEM_RECIPE_DOC="rdoc"
42 +
43 +RUBY_FAKEGEM_BINWRAP=""
44 +
45 +inherit ruby-fakegem
46 +
47 +DESCRIPTION="A Ruby implementation of JSON Web Token draft 06"
48 +HOMEPAGE="https://github.com/jwt/ruby-jwt"
49 +SRC_URI="https://github.com/jwt/ruby-jwt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
50 +
51 +LICENSE="MIT"
52 +SLOT="2"
53 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
54 +IUSE=""
55 +
56 +RUBY_S="ruby-jwt-${PV}"
57 +
58 +all_ruby_prepare() {
59 + sed -i -e "/simplecov/ s:^:#:" \
60 + -e '/^SimpleCov.configure/,/^end/ s:^:#:' \
61 + -e '/codeclimate/I s:^:#:' \
62 + -e '/codacy/I s:^:#:' \
63 + spec/spec_helper.rb || die
64 +}