summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-07-19 06:29:07 +0000
committerHans de Graaff <graaff@gentoo.org>2011-07-19 06:29:07 +0000
commitec0e27adb927649e716baaccc7578c9ec35b360f (patch)
tree69c7b6c16b80c72c052e39ca7ff149cb2588d892 /dev-ruby/require_relative
parentAdd QA warning for deprecated * expansion in S. Use RUBY_S and EAPI=4 instead. (diff)
downloadgentoo-2-ec0e27adb927649e716baaccc7578c9ec35b360f.tar.gz
gentoo-2-ec0e27adb927649e716baaccc7578c9ec35b360f.tar.bz2
gentoo-2-ec0e27adb927649e716baaccc7578c9ec35b360f.zip
Initial import. Required for new versions of dev-ruby/linecache.
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/require_relative')
-rw-r--r--dev-ruby/require_relative/ChangeLog10
-rw-r--r--dev-ruby/require_relative/metadata.xml5
-rw-r--r--dev-ruby/require_relative/require_relative-1.0.2.ebuild26
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/require_relative/ChangeLog b/dev-ruby/require_relative/ChangeLog
new file mode 100644
index 000000000000..9475ae2869c5
--- /dev/null
+++ b/dev-ruby/require_relative/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/require_relative
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/require_relative/ChangeLog,v 1.1 2011/07/19 06:29:07 graaff Exp $
+
+*require_relative-1.0.2 (19 Jul 2011)
+
+ 19 Jul 2011; Hans de Graaff <graaff@gentoo.org>
+ +require_relative-1.0.2.ebuild, +metadata.xml:
+ Initial import. Required for new versions of dev-ruby/linecache.
+
diff --git a/dev-ruby/require_relative/metadata.xml b/dev-ruby/require_relative/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/require_relative/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>
diff --git a/dev-ruby/require_relative/require_relative-1.0.2.ebuild b/dev-ruby/require_relative/require_relative-1.0.2.ebuild
new file mode 100644
index 000000000000..7f4e932f32c4
--- /dev/null
+++ b/dev-ruby/require_relative/require_relative-1.0.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/require_relative/require_relative-1.0.2.ebuild,v 1.1 2011/07/19 06:29:07 graaff Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ree18 jruby"
+
+# Documentation can be generated using rocco but that is not available
+# yet.
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Backport require_relative from ruby 1.9.2."
+HOMEPAGE="http://steveklabnik.github.com/require_relative"
+
+LICENSE="|| ( Ruby BSD WTFPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+all_ruby_prepare() {
+ rm Gemfile || die
+ sed -i -e '/[Bb]undler/d' Rakefile test/require_relative_test.rb || die
+}