From e854031745ffe77f0d852ee6dcb7ce89f87b21ef Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Wed, 27 Jan 2010 07:55:29 +0000 Subject: Convert to ruby-fakegem. (Portage version: 2.1.7.16/cvs/Linux x86_64) --- dev-ruby/main/ChangeLog | 9 +++++++-- dev-ruby/main/main-4.2.0-r1.ebuild | 39 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 dev-ruby/main/main-4.2.0-r1.ebuild (limited to 'dev-ruby/main') diff --git a/dev-ruby/main/ChangeLog b/dev-ruby/main/ChangeLog index 3eef2c6a5b08..39e3b6b421fb 100644 --- a/dev-ruby/main/ChangeLog +++ b/dev-ruby/main/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/main -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/main/ChangeLog,v 1.4 2009/12/09 19:39:33 graaff Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/main/ChangeLog,v 1.5 2010/01/27 07:55:29 graaff Exp $ + +*main-4.2.0-r1 (27 Jan 2010) + + 27 Jan 2010; Hans de Graaff +main-4.2.0-r1.ebuild: + Convert to ruby-fakegem. 09 Dec 2009; Hans de Graaff -main-2.8.4.ebuild, -main-4.0.0.ebuild: diff --git a/dev-ruby/main/main-4.2.0-r1.ebuild b/dev-ruby/main/main-4.2.0-r1.ebuild new file mode 100644 index 000000000000..31c1cf34791f --- /dev/null +++ b/dev-ruby/main/main-4.2.0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/main/main-4.2.0-r1.ebuild,v 1.1 2010/01/27 07:55:29 graaff Exp $ + +EAPI="2" +USE_RUBY="ruby18" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="README TODO" + +inherit ruby-fakegem + +DESCRIPTION="A class factory and dsl for generating command line programs real quick." +HOMEPAGE="http://rubyforge.org/projects/codeforpeople" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +ruby_add_bdepend test "virtual/ruby-test-unit" + +ruby_add_rdepend ">=dev-ruby/fattr-2.1.0 + >=dev-ruby/arrayfields-4.7.4" + +each_ruby_test() { + ${RUBY} test/main.rb || die "Tests failed." +} + +all_ruby_install() { + all_fakegem_install + + if use doc; then + insinto /usr/share/doc/${PF} + doins -r samples + fi +} -- cgit v1.2.3-65-gdbad