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: Wed, 28 Oct 2015 05:31:18
Message-Id: 1446010262.b44bd815b655f9f5e3e0eb9a9e69890977380c72.graaff@gentoo
1 commit: b44bd815b655f9f5e3e0eb9a9e69890977380c72
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 28 05:23:33 2015 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 28 05:31:02 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b44bd815
7
8 dev-ruby/jwt: add 1.5.2
9
10 Package-Manager: portage-2.2.20.1
11
12 dev-ruby/jwt/Manifest | 1 +
13 dev-ruby/jwt/jwt-1.5.2.ebuild | 30 ++++++++++++++++++++++++++++++
14 dev-ruby/jwt/metadata.xml | 2 +-
15 3 files changed, 32 insertions(+), 1 deletion(-)
16
17 diff --git a/dev-ruby/jwt/Manifest b/dev-ruby/jwt/Manifest
18 index a90ad99..48519ce 100644
19 --- a/dev-ruby/jwt/Manifest
20 +++ b/dev-ruby/jwt/Manifest
21 @@ -1 +1,2 @@
22 DIST jwt-1.5.1.gem 12288 SHA256 d3d39adde503148c2f35eb37d4b0ef3da85fc0b295ee339b59b6d76c2763658d SHA512 a0ea17ce11046041316a9dcad63bf5af3b501d257716398cd23b50ea72ecb04f82670552246f71e9731a2a92429f7652d0ad5944ea97e4a9a6e98f612fecbf0e WHIRLPOOL b845fed75bb5403d721cb5b60cb097942988187e620314a79bc011855e767499b1a53a6df354c36d1901a857c70e48a756dd13f4f5491b5a9a2618e9ca8f0660
23 +DIST jwt-1.5.2.tar.gz 21131 SHA256 6e628b77e541929f13118344e57511ca9dc08de7dcaf0dc0b6dc5dd3793faeb5 SHA512 9b56bf1fad65318f4c6a6d3bb09bad2ac2661704e4d0ae01eaac5b71bf0486abba573536afa1fa0f00b2b68ea445350f723ac5b73319b238c4d69f10b21d0773 WHIRLPOOL 87a9881eef08b15fdf1295543d332465280d56340d371b021c16663f2d6788944638bf4c9560f3d2f4b6982a105986d59824c0491c64ad40120e52ce252d1b88
24
25 diff --git a/dev-ruby/jwt/jwt-1.5.2.ebuild b/dev-ruby/jwt/jwt-1.5.2.ebuild
26 new file mode 100644
27 index 0000000..c209bd6
28 --- /dev/null
29 +++ b/dev-ruby/jwt/jwt-1.5.2.ebuild
30 @@ -0,0 +1,30 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +USE_RUBY="ruby20 ruby21 ruby22"
37 +
38 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
39 +
40 +RUBY_FAKEGEM_RECIPE_DOC="rdoc"
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/${P}.tar.gz"
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
51 +IUSE=""
52 +
53 +RUBY_S="ruby-jwt-${P}"
54 +
55 +all_ruby_prepare() {
56 + sed -i -e "/simplecov/ s:^:#:" \
57 + -e '/^SimpleCov.configure/,/^end/ s:^:#:' \
58 + -e '/codeclimate/I s:^:#:' \
59 + spec/spec_helper.rb || die
60 +}
61
62 diff --git a/dev-ruby/jwt/metadata.xml b/dev-ruby/jwt/metadata.xml
63 index 2aa194a..b18dbe2 100644
64 --- a/dev-ruby/jwt/metadata.xml
65 +++ b/dev-ruby/jwt/metadata.xml
66 @@ -3,6 +3,6 @@
67 <pkgmetadata>
68 <herd>ruby</herd>
69 <upstream>
70 - <remote-id type="github">progrium/ruby-jwt</remote-id>
71 + <remote-id type="github">jwt/ruby-jwt</remote-id>
72 </upstream>
73 </pkgmetadata>