diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2014-07-02 13:28:21 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2014-07-02 13:28:21 +0000 |
commit | e53ec8c31c8022c17d96fd0a4f1da7e63665c2bd (patch) | |
tree | 9da50fe502f60293f223b67df80817528cb698fe /dev-ruby/builder | |
parent | Bump sha to 1.6.4.1 (diff) | |
download | gentoo-2-e53ec8c31c8022c17d96fd0a4f1da7e63665c2bd.tar.gz gentoo-2-e53ec8c31c8022c17d96fd0a4f1da7e63665c2bd.tar.bz2 gentoo-2-e53ec8c31c8022c17d96fd0a4f1da7e63665c2bd.zip |
Move ruby21 target to new revision.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/builder')
-rw-r--r-- | dev-ruby/builder/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/builder/builder-2.1.2-r4.ebuild | 4 | ||||
-rw-r--r-- | dev-ruby/builder/builder-2.1.2-r5.ebuild | 43 |
3 files changed, 52 insertions, 3 deletions
diff --git a/dev-ruby/builder/ChangeLog b/dev-ruby/builder/ChangeLog index 3bf47aa0ce49..e8c0d4d0162c 100644 --- a/dev-ruby/builder/ChangeLog +++ b/dev-ruby/builder/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/builder # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/builder/ChangeLog,v 1.100 2014/07/02 09:12:01 klausman Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/builder/ChangeLog,v 1.101 2014/07/02 13:28:21 mrueg Exp $ + +*builder-2.1.2-r5 (02 Jul 2014) + + 02 Jul 2014; Manuel Rüger <mrueg@gentoo.org> +builder-2.1.2-r5.ebuild, + builder-2.1.2-r4.ebuild: + Move ruby21 target to new revision. 02 Jul 2014; Tobias Klausmann <klausman@gentoo.org> builder-3.0.4.ebuild: Stable on alpha, bug #490912 diff --git a/dev-ruby/builder/builder-2.1.2-r4.ebuild b/dev-ruby/builder/builder-2.1.2-r4.ebuild index 7d7a01326b9d..2db98f9d1881 100644 --- a/dev-ruby/builder/builder-2.1.2-r4.ebuild +++ b/dev-ruby/builder/builder-2.1.2-r4.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2014 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-r4.ebuild,v 1.1 2014/05/04 12:35:18 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/builder/builder-2.1.2-r4.ebuild,v 1.2 2014/07/02 13:28:21 mrueg Exp $ EAPI=5 -USE_RUBY="ruby19 ruby20 ruby21 jruby" +USE_RUBY="ruby19 ruby20 jruby" RUBY_FAKEGEM_TASK_TEST="test_all" diff --git a/dev-ruby/builder/builder-2.1.2-r5.ebuild b/dev-ruby/builder/builder-2.1.2-r5.ebuild new file mode 100644 index 000000000000..24adae1c6ab1 --- /dev/null +++ b/dev-ruby/builder/builder-2.1.2-r5.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2014 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-r5.ebuild,v 1.1 2014/07/02 13:28:21 mrueg Exp $ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21 jruby" + +RUBY_FAKEGEM_TASK_TEST="test_all" + +RUBY_FAKEGEM_TASK_DOC="" +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_PATCHES=( "${FILESDIR}"/${P}-activesupport.patch "${FILESDIR}"/${P}-fix-tests.patch ) + +all_ruby_prepare() { + sed -i -e '/rdoc\.template .*jamis/d' Rakefile || die +} + +each_ruby_prepare() { + case ${RUBY} in + *ruby19|*ruby20|*ruby21) + rm test/testblankslate.rb || die + ;; + *) + ;; + esac +} + +each_ruby_test() { + ${RUBY} -Ilib:. -S testrb test/test*.rb || die +} |