diff options
author | Hans de Graaff <graaff@gentoo.org> | 2010-03-28 08:28:58 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2010-03-28 08:28:58 +0000 |
commit | 7a594af8efc4c064c28d24e2f4daa51940ef1119 (patch) | |
tree | 2007c2c38246d4de333659049634c42dcc9ee26c /dev-ruby/erubis | |
parent | Cleanup (diff) | |
download | gentoo-2-7a594af8efc4c064c28d24e2f4daa51940ef1119.tar.gz gentoo-2-7a594af8efc4c064c28d24e2f4daa51940ef1119.tar.bz2 gentoo-2-7a594af8efc4c064c28d24e2f4daa51940ef1119.zip |
Initial import, new test dependency for dev-ruby/sinatra.
(Portage version: 2.1.7.17/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/erubis')
-rw-r--r-- | dev-ruby/erubis/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/erubis/erubis-2.6.5.ebuild | 36 | ||||
-rw-r--r-- | dev-ruby/erubis/metadata.xml | 5 |
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-ruby/erubis/ChangeLog b/dev-ruby/erubis/ChangeLog new file mode 100644 index 000000000000..caed8b7a8c3e --- /dev/null +++ b/dev-ruby/erubis/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-ruby/erubis +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/erubis/ChangeLog,v 1.1 2010/03/28 08:28:58 graaff Exp $ + +*erubis-2.6.5 (28 Mar 2010) + + 28 Mar 2010; Hans de Graaff <graaff@gentoo.org> +erubis-2.6.5.ebuild, + +metadata.xml: + Initial import, new test dependency for dev-ruby/sinatra. + diff --git a/dev-ruby/erubis/erubis-2.6.5.ebuild b/dev-ruby/erubis/erubis-2.6.5.ebuild new file mode 100644 index 000000000000..c47de4229a16 --- /dev/null +++ b/dev-ruby/erubis/erubis-2.6.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/erubis/erubis-2.6.5.ebuild,v 1.1 2010/03/28 08:28:58 graaff Exp $ + +EAPI="2" + +USE_RUBY="ruby18 ruby19" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.txt" + +inherit ruby-fakegem + + +DESCRIPTION="Erubis is an implementation of eRuby" +HOMEPAGE="http://www.kuwata-lab.com/erubis/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend test virtual/ruby-test-unit +ruby_add_rdepend ">=dev-ruby/abstract-1.0.0" + +each_ruby_prepare() { + # Fix case so that the associated test will work. Reported as http://rubyforge.org/tracker/index.php?func=detail&aid=27330&group_id=1320&atid=5201 + mv test/data/users-guide/Example.ejava test/data/users-guide/example.ejava || die +} + +each_ruby_test() { + PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} test/test.rb || die +} diff --git a/dev-ruby/erubis/metadata.xml b/dev-ruby/erubis/metadata.xml new file mode 100644 index 000000000000..0040b1162894 --- /dev/null +++ b/dev-ruby/erubis/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>ruby</herd> +</pkgmetadata> |