summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-05-16 16:27:28 +0000
committerHans de Graaff <graaff@gentoo.org>2010-05-16 16:27:28 +0000
commit98f8449547dbcf0c569481be1770d5229df06818 (patch)
tree574700858ead0a65f5fbb6de698d62fe16deeea4 /dev-ruby/ruby-bsearch
parentalpha stable wrt #306419 (diff)
downloadhistorical-98f8449547dbcf0c569481be1770d5229df06818.tar.gz
historical-98f8449547dbcf0c569481be1770d5229df06818.tar.bz2
historical-98f8449547dbcf0c569481be1770d5229df06818.zip
Convert to ruby-ng. Run tests.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/ruby-bsearch')
-rw-r--r--dev-ruby/ruby-bsearch/ChangeLog8
-rw-r--r--dev-ruby/ruby-bsearch/Manifest11
-rw-r--r--dev-ruby/ruby-bsearch/ruby-bsearch-1.5-r2.ebuild36
3 files changed, 49 insertions, 6 deletions
diff --git a/dev-ruby/ruby-bsearch/ChangeLog b/dev-ruby/ruby-bsearch/ChangeLog
index cd4f43177df4..a9053cca2ebd 100644
--- a/dev-ruby/ruby-bsearch/ChangeLog
+++ b/dev-ruby/ruby-bsearch/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/ruby-bsearch
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-bsearch/ChangeLog,v 1.18 2010/01/04 11:52:19 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-bsearch/ChangeLog,v 1.19 2010/05/16 16:27:28 graaff Exp $
+
+*ruby-bsearch-1.5-r2 (16 May 2010)
+
+ 16 May 2010; Hans de Graaff <graaff@gentoo.org>
+ +ruby-bsearch-1.5-r2.ebuild:
+ Convert to ruby-ng. Run tests.
04 Jan 2010; Christian Faulhammer <fauli@gentoo.org>
ruby-bsearch-1.5-r1.ebuild:
diff --git a/dev-ruby/ruby-bsearch/Manifest b/dev-ruby/ruby-bsearch/Manifest
index 8136c4dac8b7..493a9ebed312 100644
--- a/dev-ruby/ruby-bsearch/Manifest
+++ b/dev-ruby/ruby-bsearch/Manifest
@@ -3,12 +3,13 @@ Hash: SHA1
DIST ruby-bsearch-1.5.tar.gz 14836 RMD160 17f4e241050aa6ac0792baf4d005a54b8c1d7ec7 SHA1 d3af447d03a3e0a78e7f5a8b1965a9f482b8a2c1 SHA256 f63bc7349dcc1e2c7ee004dc80c5deb6732741c7f12e5015531ea55703b81028
EBUILD ruby-bsearch-1.5-r1.ebuild 586 RMD160 17429475882ec48b228c09b82128cf365967561e SHA1 3cdb6910311443f719794fb5960fd8aeec12a583 SHA256 9d65f1dd85b1d5731526bc31781b8dd44ffb0fdd85e20aba085ada0fb974e67c
-MISC ChangeLog 2127 RMD160 9fa543b8fb88824f1beb4d1ef0740742c3b50b61 SHA1 048112eef26670209699460adb3f3a3027c799a3 SHA256 8cabc52cbbf51e93f4db01c29ae02877d8ecc2cb5f549b0c1046edd35f131df1
+EBUILD ruby-bsearch-1.5-r2.ebuild 843 RMD160 aadfb4d673103fa02c406cfdb9ac02afb9bb9fe3 SHA1 e11b0ffb95593403325e14d9c75378a0dc8d08ab SHA256 631b3e0ebf69b629a3253654cf7c0a21285e480b61e1c2b8daf8dfcd0d39ff9b
+MISC ChangeLog 2279 RMD160 712588e71346a49fc3d399badae1f0ff35f71edd SHA1 70f640a1059d801f8d17688377f88d7f4904b9a8 SHA256 14a26ac4c47f35378ad5877d9bbc843e2fab60b16b803ae5ff8acd345fe22f22
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.14 (GNU/Linux)
-iEYEARECAAYFAktB1nkACgkQNQqtfCuFnePzdgCeOQcL+f1ui/87wOdJvj7ZOs/D
-znkAn0j4YyRfXHLoZfiT7Lq4ISCcE6uv
-=veU3
+iEYEARECAAYFAkvwHPsACgkQeM7EJeUH71PmTwCfeNXWsAeV7/tVeBmeP7haJCaY
+zxcAn0S3z7P2zBjfRYkPK6CqWyYqLB14
+=+3io
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/ruby-bsearch/ruby-bsearch-1.5-r2.ebuild b/dev-ruby/ruby-bsearch/ruby-bsearch-1.5-r2.ebuild
new file mode 100644
index 000000000000..d1635ce0f57f
--- /dev/null
+++ b/dev-ruby/ruby-bsearch/ruby-bsearch-1.5-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 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-r2.ebuild,v 1.1 2010/05/16 16:27:28 graaff Exp $
+
+EAPI="2"
+USE_RUBY="ruby18"
+
+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 ~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}
+}