blob: b44326acade18b03447b253ab3829e4573130f27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/packetfu/packetfu-1.1.10.ebuild,v 1.1 2014/01/15 07:39:09 graaff Exp $
EAPI=5
# ruby20 fails tests
USE_RUBY="ruby19"
RUBY_FAKEGEM_RECIPE_TEST="rspec"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
inherit multilib ruby-fakegem
DESCRIPTION="A mid-level packet manipulation library"
HOMEPAGE="https://rubygems.org/gems/packetfu"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
ruby_add_rdepend " >=dev-ruby/pcaprub-0.9.2"
all_ruby_prepare() {
# Broken for version numbers with multiple digits...
sed -i -e '/reports a version number/,/end/ s:^:#:' spec/packetfu_spec.rb || die
}
|