summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-01-31 15:32:11 +0100
committerHans de Graaff <graaff@gentoo.org>2016-01-31 15:43:38 +0100
commitb8c1b06f9979c8837f322045a2603506e7577644 (patch)
tree67a1e149262c5d881f1383a887582a174f411c8e /dev-ruby/openssl-ccm
parentdev-ruby/websocket: fix tests, add ruby22 (diff)
downloadgentoo-b8c1b06f9979c8837f322045a2603506e7577644.tar.gz
gentoo-b8c1b06f9979c8837f322045a2603506e7577644.tar.bz2
gentoo-b8c1b06f9979c8837f322045a2603506e7577644.zip
dev-ruby/openssl-ccm: Fix USE=doc and enable tests
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/openssl-ccm')
-rw-r--r--dev-ruby/openssl-ccm/openssl-ccm-1.2.1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-ruby/openssl-ccm/openssl-ccm-1.2.1.ebuild b/dev-ruby/openssl-ccm/openssl-ccm-1.2.1.ebuild
index 7f2610ba9b10..c07e5796ccb0 100644
--- a/dev-ruby/openssl-ccm/openssl-ccm-1.2.1.ebuild
+++ b/dev-ruby/openssl-ccm/openssl-ccm-1.2.1.ebuild
@@ -5,14 +5,19 @@
EAPI=5
USE_RUBY="ruby20 ruby21"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
inherit ruby-fakegem
DESCRIPTION="OpenSSL CBC-MAC (CCM) ruby gem"
HOMEPAGE="https://github.com/SmallLars/openssl-ccm"
-SRC_URI="mirror://rubygems/${P}.gem"
LICENSE="BSD"
SLOT="${PV}"
KEYWORDS="~amd64 ~arm ~x86"
-RESTRICT=test
IUSE=""
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' Rakefile || die
+ sed -i -e '/coverall/I s:^:#:' test/test_ccm.rb || die
+}