summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2008-12-30 11:54:04 +0000
committerHans de Graaff <graaff@gentoo.org>2008-12-30 11:54:04 +0000
commitfc083155fdc0a057abd64ee565fd7bdbdeefb168 (patch)
tree586222804c0512f26fafbbbfc22c900d61409e54 /dev-ruby
parentalpha/x86 stable wrt #239533 (diff)
downloadhistorical-fc083155fdc0a057abd64ee565fd7bdbdeefb168.tar.gz
historical-fc083155fdc0a057abd64ee565fd7bdbdeefb168.tar.bz2
historical-fc083155fdc0a057abd64ee565fd7bdbdeefb168.zip
Version bump
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.27-gentoo-r7 x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/mysql-ruby/ChangeLog8
-rw-r--r--dev-ruby/mysql-ruby/Manifest11
-rw-r--r--dev-ruby/mysql-ruby/files/mysql-ruby-2.8-test.patch59
-rw-r--r--dev-ruby/mysql-ruby/mysql-ruby-2.8.ebuild54
4 files changed, 127 insertions, 5 deletions
diff --git a/dev-ruby/mysql-ruby/ChangeLog b/dev-ruby/mysql-ruby/ChangeLog
index bb6001298aea..b69e49cd0944 100644
--- a/dev-ruby/mysql-ruby/ChangeLog
+++ b/dev-ruby/mysql-ruby/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/mysql-ruby
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/ChangeLog,v 1.62 2008/09/18 20:08:09 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/ChangeLog,v 1.63 2008/12/30 11:54:04 graaff Exp $
+
+*mysql-ruby-2.8 (30 Dec 2008)
+
+ 30 Dec 2008; Hans de Graaff <graaff@gentoo.org>
+ +files/mysql-ruby-2.8-test.patch, +mysql-ruby-2.8.ebuild:
+ Version bump wrt bug #253038 by Alex Legler.
18 Sep 2008; Markus Meier <maekke@gentoo.org> mysql-ruby-2.7.5.ebuild:
amd64 stable, bug #237545
diff --git a/dev-ruby/mysql-ruby/Manifest b/dev-ruby/mysql-ruby/Manifest
index c446908b3378..cd6990a47ebd 100644
--- a/dev-ruby/mysql-ruby/Manifest
+++ b/dev-ruby/mysql-ruby/Manifest
@@ -3,16 +3,19 @@ Hash: SHA1
AUX mysql-ruby-2.7.4-test.patch 1896 RMD160 e8b74244a08c800faebbfb8894f625fad7a6ec52 SHA1 3475c14b038df9c6a097d419d2cab6cd80396cb9 SHA256 bbc6f32932428b739b85bf719eb1bb734fbccd4ee7282fafd9131fa723c072d0
AUX mysql-ruby-2.7.5-test.patch 1890 RMD160 e523a4da04e881bcacd6a22a7d89c12f8fd6a0ab SHA1 e32816ff7bc3b02dbbbb3d17f597c70b9c67d323 SHA256 04a1487a77e5a6498a5028e2604097e6ac4809ee07a7b141edd508cf0b198dcf
+AUX mysql-ruby-2.8-test.patch 1790 RMD160 30c43012a5da43587ae532f95128b9d422d46c9a SHA1 25142240b2f0f42f2d6f9d0c407c9c038317e910 SHA256 575c92e7b2c67c18a2bda6cae21f4b108df96dd642d61170c251646c82babdf3
DIST mysql-ruby-2.7.4.tar.gz 31487 RMD160 ca63e1f3d45acaafbbccf727c5bc907c5eccbf49 SHA1 c3c0ba834e640cec1fb6fcbb012690c610a154e1 SHA256 4f3c1c45f1c431e81423451cff8651130a8f16fca1d529acf2cf63bf4aae6c99
DIST mysql-ruby-2.7.5.tar.gz 32479 RMD160 2a559385743f209a5f0b4754b7e8bf726d59fe61 SHA1 536031d6e722ff6e2f94eb7d311706737d50e763 SHA256 b88911471879eeece0b0f8cd4f14ae7183268958afb4f7f4ba32854fd968e6b8
+DIST mysql-ruby-2.8.tar.gz 34592 RMD160 db04c869f3b91ecd410b5c799af6b4ee4865728d SHA1 6c07bf9de540c76dc780430fd9b8a6ea96dfac1e SHA256 33a06fe71f673cde0440731592711ffbe6139709b84c397d578ecfb17ce52978
EBUILD mysql-ruby-2.7.4.ebuild 1130 RMD160 389e584bb90b474a02f118c27a5251140f9aa96b SHA1 d11045ec23aed298ca04ddeb3daf07c8ae2ae869 SHA256 ff02fe9bce9e9b8270328883e95342a79e3c8748125f5f4a2896fea1ceb2549d
EBUILD mysql-ruby-2.7.5.ebuild 1136 RMD160 43a95552489211245b936cdb31cad9a91a47f2ef SHA1 103fa812fe59928bae90b27adcd02016c33c8ccf SHA256 96e62542f9412e3edbce4c0ad0755575176faffddd4a52054ac7aec8545a6521
-MISC ChangeLog 7376 RMD160 c4a827febde4d2b7d8791f3f0ade6acbfabcf8c7 SHA1 f5daa2bc227475575566006f80e021009f5b63f3 SHA256 838724d2409842e363d8414e88fc5d9f7b5c0293f9f4098bfbe1dba93e2b3651
+EBUILD mysql-ruby-2.8.ebuild 1129 RMD160 14cf810824f6cc75b6aa9f9c842fa12f0af46722 SHA1 8be9cf88f36bb8fcbfd6e3a61ae4b86a628fb82c SHA256 c41307fba588c53c61a4d65a21a24bfaf1854f00889a4edb09b478904ac5d732
+MISC ChangeLog 7565 RMD160 0227d9105b9daf018c15e60bbcecc02e6773de10 SHA1 eed69db650eb91810c33576f03516f9b5af01d7c SHA256 c5564cc0fe17729e2cc12f132a50fef8e2cc086e0baf3e81bf29a61ee3a2c02a
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkjStXoACgkQkKaRLQcq0GLeHwCeJLoNGzoelofnQh+txpEGF04H
-DHkAn02++KnThPdwEmkFcFl9I41Jw1sk
-=+Sqe
+iEYEARECAAYFAklaC+cACgkQqj4ysMWt/vuzXwCeM0uM6uNJbhl/+7vNWeyXwmy3
+s24An1PSr4EW7ASb2W3ngGii09IsdEbG
+=NesJ
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/mysql-ruby/files/mysql-ruby-2.8-test.patch b/dev-ruby/mysql-ruby/files/mysql-ruby-2.8-test.patch
new file mode 100644
index 000000000000..992917bc7c21
--- /dev/null
+++ b/dev-ruby/mysql-ruby/files/mysql-ruby-2.8-test.patch
@@ -0,0 +1,59 @@
+--- mysql-ruby-2.8/test.rb.0 2008-06-17 07:36:44.000000000 +0200
++++ mysql-ruby-2.8/test.rb 2008-09-11 20:42:19.000000000 +0200
+@@ -1,12 +1,17 @@
+-#!/usr/local/bin/ruby
++#!/usr/bin/env ruby
+ # $Id: mysql-ruby-2.8-test.patch,v 1.1 2008/12/30 11:54:04 graaff Exp $
+
+ require "test/unit"
+-require "./mysql.o"
++require "mysql"
++
++ARGV.each do |a|
++ $argv ||= []
++ $argv << a
++end
+
+ class TC_Mysql < Test::Unit::TestCase
+ def setup()
+- @host, @user, @pass, db, port, sock, flag = ARGV
++ @host, @user, @pass, db, port, sock, flag = $argv
+ @db = db || "test"
+ @port = port.to_i
+ @sock = sock.nil? || sock.empty? ? nil : sock
+@@ -95,7 +100,7 @@
+
+ class TC_Mysql2 < Test::Unit::TestCase
+ def setup()
+- @host, @user, @pass, db, port, sock, flag = ARGV
++ @host, @user, @pass, db, port, sock, flag = $argv
+ @db = db || "test"
+ @port = port.to_i
+ @sock = sock.nil? || sock.empty? ? nil : sock
+@@ -211,7 +216,7 @@
+
+ class TC_MysqlRes < Test::Unit::TestCase
+ def setup()
+- @host, @user, @pass, db, port, sock, flag = ARGV
++ @host, @user, @pass, db, port, sock, flag = $argv
+ @db = db || "test"
+ @port = port.to_i
+ @sock = sock.nil? || sock.empty? ? nil : sock
+@@ -411,7 +416,7 @@
+
+ class TC_MysqlStmt < Test::Unit::TestCase
+ def setup()
+- @host, @user, @pass, db, port, sock, flag = ARGV
++ @host, @user, @pass, db, port, sock, flag = $argv
+ @db = db || "test"
+ @port = port.to_i
+ @sock = sock.nil? || sock.empty? ? nil : sock
+@@ -441,7 +446,7 @@
+
+ class TC_MysqlStmt2 < Test::Unit::TestCase
+ def setup()
+- @host, @user, @pass, db, port, sock, flag = ARGV
++ @host, @user, @pass, db, port, sock, flag = $argv
+ @db = db || "test"
+ @port = port.to_i
+ @sock = sock.nil? || sock.empty? ? nil : sock
diff --git a/dev-ruby/mysql-ruby/mysql-ruby-2.8.ebuild b/dev-ruby/mysql-ruby/mysql-ruby-2.8.ebuild
new file mode 100644
index 000000000000..5845363ff6f0
--- /dev/null
+++ b/dev-ruby/mysql-ruby/mysql-ruby-2.8.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/mysql-ruby-2.8.ebuild,v 1.1 2008/12/30 11:54:04 graaff Exp $
+
+inherit ruby
+
+DESCRIPTION="A Ruby extension library to use MySQL"
+HOMEPAGE="http://www.tmtm.org/en/mysql/ruby/"
+SRC_URI="mirror://rubyforge/mysql-ruby/${P}.tar.gz"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+USE_RUBY="ruby18"
+DEPEND="virtual/ruby
+ virtual/mysql"
+
+TEST_DIR="/usr/share/${PN}/test/"
+
+src_unpack() {
+ unpack ${A}
+ if use hppa; then
+ sed -e 's/LONG_LONG/long long/' -i "${S}"/mysql.c.in
+ fi
+
+ epatch "${FILESDIR}/${P}-test.patch"
+}
+
+src_compile() {
+ ruby extconf.rb || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+
+ dohtml *
+
+ insinto $TEST_DIR
+ doins test.rb
+}
+
+src_test() {
+ elog
+ elog "To test the library you need to start MySQL first."
+ elog "Then run:"
+ elog
+ elog " % ruby ${TEST_DIR}test.rb <hostname> <user> <password>"
+ elog
+ elog "See /usr/share/doc/${PF}/html/README.html for details."
+ elog
+}