diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2011-10-12 16:57:30 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2011-10-12 16:57:30 +0000 |
commit | 4e90bc10206211198bbe0d7ebbf285960343056a (patch) | |
tree | 970c18aead6be531a850bd8bb605f6c6bf9a1b33 /dev-ruby/ruby-bsearch | |
parent | Removed old versions. (diff) | |
download | gentoo-2-4e90bc10206211198bbe0d7ebbf285960343056a.tar.gz gentoo-2-4e90bc10206211198bbe0d7ebbf285960343056a.tar.bz2 gentoo-2-4e90bc10206211198bbe0d7ebbf285960343056a.zip |
Added ruby19, ree18 and jruby to USE_RUBY.
(Portage version: 2.1.10.22/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/ruby-bsearch')
-rw-r--r-- | dev-ruby/ruby-bsearch/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/ruby-bsearch/ruby-bsearch-1.5-r3.ebuild | 36 |
2 files changed, 42 insertions, 1 deletions
diff --git a/dev-ruby/ruby-bsearch/ChangeLog b/dev-ruby/ruby-bsearch/ChangeLog index 24441a55b760..5b89e959f3c6 100644 --- a/dev-ruby/ruby-bsearch/ChangeLog +++ b/dev-ruby/ruby-bsearch/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/ruby-bsearch # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-bsearch/ChangeLog,v 1.27 2011/01/15 11:37:59 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-bsearch/ChangeLog,v 1.28 2011/10/12 16:57:30 matsuu Exp $ + +*ruby-bsearch-1.5-r3 (12 Oct 2011) + + 12 Oct 2011; MATSUU Takuto <matsuu@gentoo.org> +ruby-bsearch-1.5-r3.ebuild: + Added ruby19, ree18 and jruby to USE_RUBY. 15 Jan 2011; Hans de Graaff <graaff@gentoo.org> -ruby-bsearch-1.5-r1.ebuild: diff --git a/dev-ruby/ruby-bsearch/ruby-bsearch-1.5-r3.ebuild b/dev-ruby/ruby-bsearch/ruby-bsearch-1.5-r3.ebuild new file mode 100644 index 000000000000..c450a3641b06 --- /dev/null +++ b/dev-ruby/ruby-bsearch/ruby-bsearch-1.5-r3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-bsearch/ruby-bsearch-1.5-r3.ebuild,v 1.1 2011/10/12 16:57:30 matsuu Exp $ + +EAPI="4" +USE_RUBY="ruby18 ruby19 ree18 jruby" + +inherit ruby-ng + +DESCRIPTION="A binary search library for Ruby" +HOMEPAGE="http://0xcc.net/ruby-bsearch/" +SRC_URI="http://0xcc.net/ruby-bsearch/${P}.tar.gz" +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="" + +DOCS="ChangeLog *.rd bsearch.png" + +all_ruby_prepare() { + sed -i 's/ruby/\$\{RUBY\}/' tests/test.sh || die "Unable to fix tests shell script." +} + +each_ruby_test() { + pushd tests + RUBY=${RUBY} sh test.sh + popd +} + +each_ruby_install() { + doruby bsearch.rb +} + +all_ruby_install() { + dodoc ${DOCS} +} |