/[gentoo-x86]/dev-ruby/net-dns/net-dns-0.7.1.ebuild
Gentoo

Contents of /dev-ruby/net-dns/net-dns-0.7.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Oct 15 06:40:23 2012 UTC (2 years, 1 month ago) by graaff
Branch: MAIN
Version bump. Avoid failing test on jruby due to a jruby bug, thanks to Michel Boaventura for finding the root cause.

(Portage version: 2.1.11.9/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/net-dns/net-dns-0.6.1.ebuild,v 1.2 2010/01/24 14:08:45 graaff Exp $
4
5 EAPI=4
6
7 USE_RUBY="ruby18 ruby19 jruby"
8
9 RUBY_FAKEGEM_TASK_DOC="yardoc"
10 RUBY_FAKEGEM_DOCDIR="doc"
11 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc THANKS.rdoc"
12
13 inherit ruby-fakegem
14
15 DESCRIPTION="DNS resolver in pure Ruby"
16 HOMEPAGE="http://net-dns.rubyforge.org/"
17
18 LICENSE="Ruby"
19 SLOT="0"
20 KEYWORDS="~amd64 ~x86"
21 IUSE="doc"
22
23 ruby_add_bdepend "doc? ( dev-ruby/yard )"
24
25 all_ruby_prepare() {
26 sed -i -e '/bundler/d' Rakefile || die
27
28 sed -i -e '/git ls-files/d' Rakefile || die
29 }
30
31 each_ruby_prepare() {
32 case ${RUBY} in
33 *jruby)
34 # Avoid failing test due to a jruby bug
35 # https://github.com/jruby/jruby/issues/310
36 sed -i -e '67 s:^:#:' test/rr/aaaa_test.rb || die
37 ;;
38 *)
39 ;;
40 esac
41 }
42
43 all_ruby_install() {
44 all_fakegem_install
45
46 docinto examples
47 dodoc demo/* || die
48 }

  ViewVC Help
Powered by ViewVC 1.1.20