summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-03-25 07:29:20 +0100
committerHans de Graaff <graaff@gentoo.org>2016-03-25 07:29:20 +0100
commit17bbef54489246b6f92da51d73f3b7266cc8f800 (patch)
tree64141efd47209535c3c7f850dcb92cae5a623a83
parentdev-ruby/jwt: cleanup (diff)
downloadgentoo-17bbef54489246b6f92da51d73f3b7266cc8f800.tar.gz
gentoo-17bbef54489246b6f92da51d73f3b7266cc8f800.tar.bz2
gentoo-17bbef54489246b6f92da51d73f3b7266cc8f800.zip
dev-ruby/jwt: add 1.5.4
Package-Manager: portage-2.2.26
-rw-r--r--dev-ruby/jwt/Manifest1
-rw-r--r--dev-ruby/jwt/jwt-1.5.4.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/jwt/Manifest b/dev-ruby/jwt/Manifest
index fae30d3752c7..b2ef2ade9007 100644
--- a/dev-ruby/jwt/Manifest
+++ b/dev-ruby/jwt/Manifest
@@ -1 +1,2 @@
DIST jwt-1.5.3.tar.gz 21972 SHA256 81442b60756812ca54134e4fe69e052c15ab0dc7c40030be415593699bec599b SHA512 6ef91237658911be11dd2bdbe6c16e285015784a0a3f4e756be9d5b9066533ac6891aac94889449b6e6137bfe8d91bd0ee3fa3239f5daf7751a562652481e976 WHIRLPOOL 4578fc0eafd26a912d9347d0c48ab502cad16f6179d9113bb5939d86b2d8edfc0c601485197ba6455023e3a1b0bdd5c8aed6911dccd914102fab2116f3c524a3
+DIST jwt-1.5.4.tar.gz 22053 SHA256 90be9e8acf3ad12a109092faebc3a050ea51eeb358e51798da2098fba9335bc2 SHA512 c594e7152d89a0ace71acd425553302de81fea2542fa23fc3809d8edbafa7498ec6cec37f07d41ebd5dfaad2b190d53614cf7b0f1c50a82cebb55cbd74c8909e WHIRLPOOL 93cef43f8ed630e4c987c386ca748574b00cea3e82733771fc259b3fe4f064a20319f9115d84d10723d4c708c9680ad024e4f81c74c3f1b544b984cbedf92419
diff --git a/dev-ruby/jwt/jwt-1.5.4.ebuild b/dev-ruby/jwt/jwt-1.5.4.ebuild
new file mode 100644
index 000000000000..f51fc2810318
--- /dev/null
+++ b/dev-ruby/jwt/jwt-1.5.4.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Ruby implementation of JSON Web Token draft 06"
+HOMEPAGE="https://github.com/jwt/ruby-jwt"
+SRC_URI="https://github.com/jwt/ruby-jwt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RUBY_S="ruby-jwt-${PV}"
+
+all_ruby_prepare() {
+ sed -i -e "/simplecov/ s:^:#:" \
+ -e '/^SimpleCov.configure/,/^end/ s:^:#:' \
+ -e '/codeclimate/I s:^:#:' \
+ spec/spec_helper.rb || die
+}