summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-01-25 22:13:06 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-01-25 22:13:06 +0000
commitb39b54e8bc89f1ac061cbd5be7b6a24d891a98e9 (patch)
tree83920765e23acf893fbbaec51aa6c9c673cc6b0c /dev-ruby/stringex
parentFix building with >=glib-2.31 (bug #400789, thanks to Rolf S. Arvidson for re... (diff)
downloadgentoo-2-b39b54e8bc89f1ac061cbd5be7b6a24d891a98e9.tar.gz
gentoo-2-b39b54e8bc89f1ac061cbd5be7b6a24d891a98e9.tar.bz2
gentoo-2-b39b54e8bc89f1ac061cbd5be7b6a24d891a98e9.zip
Initial import of stringex (needed for radiant rc4 and later).
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/stringex')
-rw-r--r--dev-ruby/stringex/ChangeLog10
-rw-r--r--dev-ruby/stringex/metadata.xml5
-rw-r--r--dev-ruby/stringex/stringex-1.3.0.ebuild29
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/stringex/ChangeLog b/dev-ruby/stringex/ChangeLog
new file mode 100644
index 000000000000..01f8d89659f8
--- /dev/null
+++ b/dev-ruby/stringex/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/stringex
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/stringex/ChangeLog,v 1.1 2012/01/25 22:13:06 flameeyes Exp $
+
+*stringex-1.3.0 (25 Jan 2012)
+
+ 25 Jan 2012; Diego E. Pettenò <flameeyes@gentoo.org> +metadata.xml,
+ +stringex-1.3.0.ebuild:
+ Initial import of stringex (needed for radiant rc4 and later).
+
diff --git a/dev-ruby/stringex/metadata.xml b/dev-ruby/stringex/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/stringex/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/stringex/stringex-1.3.0.ebuild b/dev-ruby/stringex/stringex-1.3.0.ebuild
new file mode 100644
index 000000000000..17eab1cc5227
--- /dev/null
+++ b/dev-ruby/stringex/stringex-1.3.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/stringex/stringex-1.3.0.ebuild,v 1.1 2012/01/25 22:13:06 flameeyes Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ruby19 ree18"
+
+RUBY_FAKEGEM_DOC_DIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Extensions for Ruby's String class"
+HOMEPAGE="http://github.com/rsl/stringex"
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="~amd64"
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/activerecord
+ dev-ruby/redcloth
+ )"
+
+each_ruby_test() {
+ # rake seems to break this
+ ${RUBY} -Ilib -S testrb test/*_test.rb || die "tests failed"
+}