2016-03-25 17:12:39 +03:00
|
|
|
# Copyright 1999-2016 Gentoo Foundation
|
2014-05-15 09:00:50 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-08-11 00:17:55 +03:00
|
|
|
# $Id$
|
2014-05-15 09:00:50 +04:00
|
|
|
|
|
|
|
EAPI=5
|
2015-10-28 15:14:21 +03:00
|
|
|
USE_RUBY="ruby20 ruby21 ruby22"
|
2014-05-15 09:00:50 +04:00
|
|
|
|
2015-05-18 14:28:26 +03:00
|
|
|
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
2014-05-15 09:00:50 +04:00
|
|
|
|
2014-12-24 23:39:57 +03:00
|
|
|
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
2014-05-15 09:00:50 +04:00
|
|
|
|
|
|
|
inherit ruby-fakegem
|
|
|
|
|
|
|
|
DESCRIPTION="A Ruby implementation of JSON Web Token draft 06"
|
2015-10-28 15:14:21 +03:00
|
|
|
HOMEPAGE="https://github.com/jwt/ruby-jwt"
|
2016-03-25 17:12:39 +03:00
|
|
|
SRC_URI="https://github.com/jwt/ruby-jwt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
2014-05-15 09:00:50 +04:00
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
2014-08-17 23:06:33 +04:00
|
|
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
2014-05-15 09:00:50 +04:00
|
|
|
IUSE=""
|
2015-10-28 15:14:21 +03:00
|
|
|
|
2016-03-25 17:12:39 +03:00
|
|
|
RUBY_S="ruby-jwt-${PV}"
|
2015-10-28 15:14:21 +03:00
|
|
|
|
|
|
|
all_ruby_prepare() {
|
|
|
|
sed -i -e "/simplecov/ s:^:#:" \
|
|
|
|
-e '/^SimpleCov.configure/,/^end/ s:^:#:' \
|
|
|
|
-e '/codeclimate/I s:^:#:' \
|
|
|
|
spec/spec_helper.rb || die
|
|
|
|
}
|