summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-12-10 19:02:05 +0000
committerHans de Graaff <graaff@gentoo.org>2012-12-10 19:02:05 +0000
commitd59c0532e8eb74b4ff5f0bcde4c125a90275b79e (patch)
tree107c3389c06db2ab8c2df53a5d4c05846790e05d /dev-ruby
parentFix LICENSE by Ulrich Müller (bug #446766). (diff)
downloadgentoo-2-d59c0532e8eb74b4ff5f0bcde4c125a90275b79e.tar.gz
gentoo-2-d59c0532e8eb74b4ff5f0bcde4c125a90275b79e.tar.bz2
gentoo-2-d59c0532e8eb74b4ff5f0bcde4c125a90275b79e.zip
Add new version (identical to 1.5) based on the gem for easier integration with ruby projects. Install documentation. Fix tests. Fixes #446269. Initial ebuild by Ryuichi KAWAMATA.
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/bsearch/ChangeLog9
-rw-r--r--dev-ruby/bsearch/bsearch-1.5.0.ebuild29
2 files changed, 37 insertions, 1 deletions
diff --git a/dev-ruby/bsearch/ChangeLog b/dev-ruby/bsearch/ChangeLog
index 7e6dbc40c344..5da4b462eaa2 100644
--- a/dev-ruby/bsearch/ChangeLog
+++ b/dev-ruby/bsearch/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-ruby/bsearch
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bsearch/ChangeLog,v 1.1 2012/12/10 18:42:59 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bsearch/ChangeLog,v 1.2 2012/12/10 19:02:05 graaff Exp $
+
+*bsearch-1.5.0 (10 Dec 2012)
+
+ 10 Dec 2012; Hans de Graaff <graaff@gentoo.org> +bsearch-1.5.0.ebuild:
+ Add new version (identical to 1.5) based on the gem for easier integration
+ with ruby projects. Install documentation. Fix tests. Fixes #446269. Initial
+ ebuild by Ryuichi KAWAMATA.
*bsearch-1.5-r3 (10 Dec 2012)
diff --git a/dev-ruby/bsearch/bsearch-1.5.0.ebuild b/dev-ruby/bsearch/bsearch-1.5.0.ebuild
new file mode 100644
index 000000000000..14ddf85bdaae
--- /dev/null
+++ b/dev-ruby/bsearch/bsearch-1.5.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/bsearch/bsearch-1.5.0.ebuild,v 1.1 2012/12/10 19:02:05 graaff Exp $
+
+EAPI=4
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="doc/*"
+
+USE_RUBY="ruby18 ruby19 ree18 jruby"
+
+inherit ruby-fakegem
+DESCRIPTION="A binary search library for Ruby"
+HOMEPAGE="http://0xcc.net/ruby-bsearch/"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -i 's/ruby/\$\{RUBY\}/' test/test.sh || die
+}
+
+each_ruby_test() {
+ pushd test
+ RUBY=${RUBY} sh test.sh || die
+ popd
+}