/[gentoo-x86]/dev-ruby/dnsruby/dnsruby-1.53.ebuild
Gentoo

Contents of /dev-ruby/dnsruby/dnsruby-1.53.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Aug 5 09:58:46 2012 UTC (9 months, 2 weeks ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +12 -5 lines
Avoid test broken with IPv6 resolvers. Add ruby19 and ree18.

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/dnsruby/dnsruby-1.53.ebuild,v 1.1 2011/11/27 14:37:54 mschiff Exp $
4
5 EAPI=4
6
7 # jruby → fails tests.
8 USE_RUBY="ruby18 ruby19 ree18"
9 RUBY_FAKEGEM_TASK_TEST=""
10 RUBY_FAKEGEM_DOCDIR="html"
11 RUBY_FAKEGEM_EXTRADOC="DNSSEC EXAMPLES README"
12 inherit ruby-fakegem
13
14 DESCRIPTION="A pure Ruby DNS client library"
15 HOMEPAGE="http://rubyforge.org/projects/dnsruby/"
16
17 KEYWORDS="~amd64 ~x86"
18 LICENSE="Apache-2.0"
19 SLOT="0"
20 IUSE=""
21
22 all_ruby_prepare() {
23 # Avoid test failing when an IPv6 resolver is present. Already fixed
24 # upstream but not in an easy-to-backport way.
25 sed -i -e '/test_single_resolver/,/^ end/ s:^:#:' test/tc_res_config.rb || die
26 }
27
28 each_ruby_test() {
29 # only run offline tests
30 #${RUBY} -I .:lib test/ts_dnsruby.rb || die "test failed"
31 ${RUBY} -I .:lib test/ts_offline.rb || die "test failed"
32 }

  ViewVC Help
Powered by ViewVC 1.1.13