diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-08-22 10:14:53 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-08-23 07:41:45 +0200 |
commit | 63f209308139bbae727a3a18527de1ca1d0cc821 (patch) | |
tree | 9f1c6c5d4c3f65c071b1343b4784d8fdccb771d3 /dev-ruby/bsearch | |
parent | dev-ruby/bundler: cleanup (diff) | |
download | gentoo-63f209308139bbae727a3a18527de1ca1d0cc821.tar.gz gentoo-63f209308139bbae727a3a18527de1ca1d0cc821.tar.bz2 gentoo-63f209308139bbae727a3a18527de1ca1d0cc821.zip |
dev-ruby/bsearch: add ruby27
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/bsearch')
-rw-r--r-- | dev-ruby/bsearch/bsearch-1.5.0-r3.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-ruby/bsearch/bsearch-1.5.0-r3.ebuild b/dev-ruby/bsearch/bsearch-1.5.0-r3.ebuild new file mode 100644 index 000000000000..0badfb68ce5b --- /dev/null +++ b/dev-ruby/bsearch/bsearch-1.5.0-r3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="doc/*" + +USE_RUBY="ruby25 ruby26 ruby27" + +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 ~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 +} |