blob: f1d5b3a21e2b94212e3e8b89431474a2629cad28 (
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
30
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
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"
RUBY_PATCHES=( "${FILESDIR}"/${P}-ruby2x-encoding.patch )
all_ruby_prepare() {
# Broken for version numbers with multiple digits...
sed -i -e '/reports a version number/,/end/ s:^:#:' spec/packetfu_spec.rb || die
}
|