summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-03-28 08:28:58 +0000
committerHans de Graaff <graaff@gentoo.org>2010-03-28 08:28:58 +0000
commit7c1bae7a5767e657cbed245e5c7780d059031bac (patch)
tree8269f0d82a278e22e042fbe324df4884d03eff1b /dev-ruby
parentCleanup (diff)
downloadhistorical-7c1bae7a5767e657cbed245e5c7780d059031bac.tar.gz
historical-7c1bae7a5767e657cbed245e5c7780d059031bac.tar.bz2
historical-7c1bae7a5767e657cbed245e5c7780d059031bac.zip
Initial import, new test dependency for dev-ruby/sinatra.
Package-Manager: portage-2.1.7.17/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/erubis/ChangeLog10
-rw-r--r--dev-ruby/erubis/Manifest14
-rw-r--r--dev-ruby/erubis/erubis-2.6.5.ebuild36
-rw-r--r--dev-ruby/erubis/metadata.xml5
4 files changed, 65 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/Manifest b/dev-ruby/erubis/Manifest
new file mode 100644
index 000000000000..be6d64591738
--- /dev/null
+++ b/dev-ruby/erubis/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST erubis-2.6.5.gem 163840 RMD160 a7b84730120a9d639cb91847f361d8a033aebf26 SHA1 ea6fb9ae9fb9b01110bfa9d18160213b8bd8d5c4 SHA256 d536a678319e6663a5740f0da72f6038129c5957c59c11f75d684f532839e1d2
+EBUILD erubis-2.6.5.ebuild 990 RMD160 7b8ae3b170def9e5e5f44c883faf6e64ba347235 SHA1 f047bcc1b66741d6dc5b8aff1eea681692174ae7 SHA256 6424344bd597ea4b04ff80fe574b199b752a0307b30f8fc9ec6d9ec3507ffbe8
+MISC ChangeLog 382 RMD160 3d5524da4f2511214be47886acd72f5463f64bdd SHA1 45123680edbeaa98d4d9e980d7cc4b0604dc7b26 SHA256 47dea1d1878f1aa7ea8e1c958a7dae6ddd43968e67ffb84eb8fd2ec4771ac6e5
+MISC metadata.xml 158 RMD160 097f8145a9994f98be4971b43b23b9e5e8bccb66 SHA1 7ac646714b1ab83fda98f3ccdd8b48a31c148b27 SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAkuvE1UACgkQeM7EJeUH71M8CQCeLvU1bYDr/WPfekaqUzezFAPR
+dXkAn34QyL50IHn8nL2lnORp8s6uUNGY
+=DFRi
+-----END PGP SIGNATURE-----
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>