summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-09-03 07:43:07 +0200
committerHans de Graaff <graaff@gentoo.org>2017-09-03 08:49:59 +0200
commit84426cf45bed8750b48eca099a41765f33283475 (patch)
treec9aba4a7c7bc59c3e50fb0d64aae45b87420b0a6 /dev-ruby
parentdev-ruby/jwt: cleanup (diff)
downloadgentoo-84426cf45bed8750b48eca099a41765f33283475.tar.gz
gentoo-84426cf45bed8750b48eca099a41765f33283475.tar.bz2
gentoo-84426cf45bed8750b48eca099a41765f33283475.zip
dev-ruby/jwt: add 2.0.0
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/jwt/Manifest1
-rw-r--r--dev-ruby/jwt/jwt-2.0.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/jwt/Manifest b/dev-ruby/jwt/Manifest
index 4f29171893d2..5b8646f57678 100644
--- a/dev-ruby/jwt/Manifest
+++ b/dev-ruby/jwt/Manifest
@@ -1 +1,2 @@
DIST jwt-1.5.6.tar.gz 28586 SHA256 f4678d7b3a3b2c650675bf4adba6704104c2d2c071bd933f508684f3b1035b8b SHA512 f112bb815ef1af1f77d082574f5157f33469c2caba88716aa16b20dc48d279f8579730f75db81aa31480d6edd5deaa110adbaf3f52372b0397d5822a964a759e WHIRLPOOL d3945c4827bfaf15b57ee6f84f0366074d448c732fee8b8899d9004a93bf57c912bec6cf0f0c1eda38cfc88b3f2c0dec7f5f5d98b1b758e1ecce19ec3edaf02c
+DIST jwt-2.0.0.tar.gz 32205 SHA256 fb88d50cb7656dee600037b20480d353ed6640adceb6b39ebe5fdee30026b8f8 SHA512 d194e06df17edfbde49d9ae6caad5e220f602ce722ae4361a5118024e08dcaddccc71a8fbac99e75ce3b19033e6368825914eed3e91e402b2cf208ebaabf23a5 WHIRLPOOL 4be3a9f4891eca2469c80cd1a554f3b6ca365065f906963dcccdceec51c3ae7206aaca9109eab8905609d622135f27bc71a1a9c4e89487cf2b152261be3668d4
diff --git a/dev-ruby/jwt/jwt-2.0.0.ebuild b/dev-ruby/jwt/jwt-2.0.0.ebuild
new file mode 100644
index 000000000000..db473eb2b1f3
--- /dev/null
+++ b/dev-ruby/jwt/jwt-2.0.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24"
+
+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="2"
+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:^:#:' \
+ -e '/codacy/I s:^:#:' \
+ spec/spec_helper.rb || die
+}