summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-06-09 07:12:38 +0000
committerHans de Graaff <graaff@gentoo.org>2012-06-09 07:12:38 +0000
commita1295b763e6c874248e05112e5b5083e1295ab6b (patch)
tree9d09fce0cfe8007f05a0e18e49acab53341ed777 /dev-ruby/stringex
parentmarked x86 per bug 418951 (diff)
downloadhistorical-a1295b763e6c874248e05112e5b5083e1295ab6b.tar.gz
historical-a1295b763e6c874248e05112e5b5083e1295ab6b.tar.bz2
historical-a1295b763e6c874248e05112e5b5083e1295ab6b.zip
Version bump.
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/stringex')
-rw-r--r--dev-ruby/stringex/ChangeLog7
-rw-r--r--dev-ruby/stringex/stringex-1.4.0.ebuild35
2 files changed, 41 insertions, 1 deletions
diff --git a/dev-ruby/stringex/ChangeLog b/dev-ruby/stringex/ChangeLog
index 04e8eea79c0a..aafcb4653d4f 100644
--- a/dev-ruby/stringex/ChangeLog
+++ b/dev-ruby/stringex/ChangeLog
@@ -1,6 +1,11 @@
# 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.4 2012/04/28 22:11:07 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/stringex/ChangeLog,v 1.5 2012/06/09 07:09:47 graaff Exp $
+
+*stringex-1.4.0 (09 Jun 2012)
+
+ 09 Jun 2012; Hans de Graaff <graaff@gentoo.org> +stringex-1.4.0.ebuild:
+ Version bump.
*stringex-1.3.3 (28 Apr 2012)
diff --git a/dev-ruby/stringex/stringex-1.4.0.ebuild b/dev-ruby/stringex/stringex-1.4.0.ebuild
new file mode 100644
index 000000000000..520418f0370d
--- /dev/null
+++ b/dev-ruby/stringex/stringex-1.4.0.ebuild
@@ -0,0 +1,35 @@
+# 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.4.0.ebuild,v 1.1 2012/06/09 07:09:47 graaff 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"
+IUSE="test"
+
+# we could rely on activerecord[sqlite3], but since we do not remove the
+# sqlite3 adapter from activerecord when building -sqlite3, it's easier
+# to just add another dependency, so the user doesn't have to change the
+# USE flags at all.
+ruby_add_bdepend "
+ test? (
+ dev-ruby/activerecord
+ dev-ruby/sqlite3-ruby
+ dev-ruby/redcloth
+ )"
+
+each_ruby_test() {
+ # rake seems to break this
+ ${RUBY} -Ilib -S testrb test/*_test.rb || die "tests failed"
+}