diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-12-24 11:53:35 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-12-24 11:53:35 +0000 |
commit | 830701f09b466f6257b295823913dbcec13be03a (patch) | |
tree | 33918b4e220268f287d45d49903291936d5a5ac8 /dev-ruby/builder | |
parent | Fix bug 392449 with doc installation (diff) | |
download | gentoo-2-830701f09b466f6257b295823913dbcec13be03a.tar.gz gentoo-2-830701f09b466f6257b295823913dbcec13be03a.tar.bz2 gentoo-2-830701f09b466f6257b295823913dbcec13be03a.zip |
Add ruby19 to builder 2.1.2 as well since that version is compatible with Rails. Avoid blankslate tests since these don't work.
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/builder')
-rw-r--r-- | dev-ruby/builder/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/builder/builder-2.1.2-r3.ebuild | 45 |
2 files changed, 52 insertions, 1 deletions
diff --git a/dev-ruby/builder/ChangeLog b/dev-ruby/builder/ChangeLog index 47eb456587c8..434801b0d71d 100644 --- a/dev-ruby/builder/ChangeLog +++ b/dev-ruby/builder/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/builder # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/builder/ChangeLog,v 1.62 2011/09/09 08:27:56 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/builder/ChangeLog,v 1.63 2011/12/24 11:53:35 graaff Exp $ + +*builder-2.1.2-r3 (24 Dec 2011) + + 24 Dec 2011; Hans de Graaff <graaff@gentoo.org> +builder-2.1.2-r3.ebuild: + Add ruby19 to builder 2.1.2 as well since that version is compatible with + Rails. Avoid blankslate tests since these don't work. 09 Sep 2011; Fabian Groffen <grobian@gentoo.org> builder-3.0.0.ebuild: Marked ~sparc-solaris diff --git a/dev-ruby/builder/builder-2.1.2-r3.ebuild b/dev-ruby/builder/builder-2.1.2-r3.ebuild new file mode 100644 index 000000000000..94bbeeed383f --- /dev/null +++ b/dev-ruby/builder/builder-2.1.2-r3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/builder/builder-2.1.2-r3.ebuild,v 1.1 2011/12/24 11:53:35 graaff Exp $ + +EAPI=2 +USE_RUBY="ruby18 ruby19 ree18 jruby" + +RUBY_FAKEGEM_TASK_TEST="test_all" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README CHANGES" + +inherit ruby-fakegem eutils + +DESCRIPTION="A builder to facilitate programatic generation of XML markup" +HOMEPAGE="http://rubyforge.org/projects/builder/" +SRC_URI="mirror://rubyforge/${PN}/${P}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( virtual/ruby-test-unit )" + +all_ruby_prepare() { + sed -i -e '/rdoc\.template .*jamis/d' Rakefile || die + + epatch "${FILESDIR}"/${P}-activesupport.patch + epatch "${FILESDIR}"/${P}-fix-tests.patch +} + +each_ruby_prepare() { + case ${RUBY} in + *ruby19) + rm test/testblankslate.rb || die + ;; + *) + ;; + esac +} + +each_ruby_test() { + ${RUBY} -Ilib:. -S testrb test/test*.rb || die +} |