diff options
author | Hans de Graaff <graaff@gentoo.org> | 2012-10-15 06:40:23 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2012-10-15 06:40:23 +0000 |
commit | 817f803fe1176e2eec58028713a843ead3e86f59 (patch) | |
tree | 775ef0154e250a1a62fff3ca66ef0c2b92cca578 /dev-ruby | |
parent | Version bump (by polynomial-c, bug 438152) (diff) | |
download | gentoo-2-817f803fe1176e2eec58028713a843ead3e86f59.tar.gz gentoo-2-817f803fe1176e2eec58028713a843ead3e86f59.tar.bz2 gentoo-2-817f803fe1176e2eec58028713a843ead3e86f59.zip |
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)
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/net-dns/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/net-dns/net-dns-0.7.1.ebuild | 48 |
2 files changed, 55 insertions, 1 deletions
diff --git a/dev-ruby/net-dns/ChangeLog b/dev-ruby/net-dns/ChangeLog index 46a3d6d03367..8b4f01cd04ac 100644 --- a/dev-ruby/net-dns/ChangeLog +++ b/dev-ruby/net-dns/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/net-dns # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-dns/ChangeLog,v 1.8 2012/08/14 18:42:39 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-dns/ChangeLog,v 1.9 2012/10/15 06:40:23 graaff Exp $ + +*net-dns-0.7.1 (15 Oct 2012) + + 15 Oct 2012; Hans de Graaff <graaff@gentoo.org> +net-dns-0.7.1.ebuild: + Version bump. Avoid failing test on jruby due to a jruby bug, thanks to + Michel Boaventura for finding the root cause. 14 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> metadata.xml: Update metadata.xml so that it's the same as most other packages. diff --git a/dev-ruby/net-dns/net-dns-0.7.1.ebuild b/dev-ruby/net-dns/net-dns-0.7.1.ebuild new file mode 100644 index 000000000000..8c4f82f8a594 --- /dev/null +++ b/dev-ruby/net-dns/net-dns-0.7.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-dns/net-dns-0.7.1.ebuild,v 1.1 2012/10/15 06:40:23 graaff Exp $ + +EAPI=4 + +USE_RUBY="ruby18 ruby19 jruby" + +RUBY_FAKEGEM_TASK_DOC="yardoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc THANKS.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="DNS resolver in pure Ruby" +HOMEPAGE="http://net-dns.rubyforge.org/" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +ruby_add_bdepend "doc? ( dev-ruby/yard )" + +all_ruby_prepare() { + sed -i -e '/bundler/d' Rakefile || die + + sed -i -e '/git ls-files/d' Rakefile || die +} + +each_ruby_prepare() { + case ${RUBY} in + *jruby) + # Avoid failing test due to a jruby bug + # https://github.com/jruby/jruby/issues/310 + sed -i -e '67 s:^:#:' test/rr/aaaa_test.rb || die + ;; + *) + ;; + esac +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc demo/* || die +} |