summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Brown <rbrown@gentoo.org>2008-04-13 21:42:40 +0000
committerRichard Brown <rbrown@gentoo.org>2008-04-13 21:42:40 +0000
commit243c0032465dcc11f73100d9da52459b45b80356 (patch)
treed0bb5408ee3986e3aa820f95342b8d34e40cc665 /dev-ruby/mysql-ruby
parentpkgconfig is only a build dep, bug #217278 (diff)
downloadgentoo-2-243c0032465dcc11f73100d9da52459b45b80356.tar.gz
gentoo-2-243c0032465dcc11f73100d9da52459b45b80356.tar.bz2
gentoo-2-243c0032465dcc11f73100d9da52459b45b80356.zip
Version bump. Remove old versions. Fix quoting.
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-ruby/mysql-ruby')
-rw-r--r--dev-ruby/mysql-ruby/ChangeLog12
-rw-r--r--dev-ruby/mysql-ruby/files/mysql-ruby-2.7.5-test.patch (renamed from dev-ruby/mysql-ruby/files/mysql-ruby-2.7.3-test.patch)10
-rw-r--r--dev-ruby/mysql-ruby/mysql-ruby-2.7.2.ebuild48
-rw-r--r--dev-ruby/mysql-ruby/mysql-ruby-2.7.4.ebuild8
-rw-r--r--dev-ruby/mysql-ruby/mysql-ruby-2.7.5.ebuild (renamed from dev-ruby/mysql-ruby/mysql-ruby-2.7.3.ebuild)10
5 files changed, 24 insertions, 64 deletions
diff --git a/dev-ruby/mysql-ruby/ChangeLog b/dev-ruby/mysql-ruby/ChangeLog
index f38b503d7d1b..de6a090a0910 100644
--- a/dev-ruby/mysql-ruby/ChangeLog
+++ b/dev-ruby/mysql-ruby/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-ruby/mysql-ruby
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/ChangeLog,v 1.53 2007/11/04 07:28:05 graaff Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/ChangeLog,v 1.54 2008/04/13 21:42:39 rbrown Exp $
+
+*mysql-ruby-2.7.5 (13 Apr 2008)
+
+ 13 Apr 2008; Richard Brown <rbrown@gentoo.org>
+ -files/mysql-ruby-2.7.3-test.patch, +files/mysql-ruby-2.7.5-test.patch,
+ -mysql-ruby-2.7.2.ebuild, -mysql-ruby-2.7.3.ebuild,
+ mysql-ruby-2.7.4.ebuild, +mysql-ruby-2.7.5.ebuild:
+ Version bump. Remove old versions. Fix quoting.
04 Nov 2007; Hans de Graaff <graaff@gentoo.org> -mysql-ruby-2.4.5.ebuild:
Remove old version
diff --git a/dev-ruby/mysql-ruby/files/mysql-ruby-2.7.3-test.patch b/dev-ruby/mysql-ruby/files/mysql-ruby-2.7.5-test.patch
index 2bd5b4766cba..930fa5f7609b 100644
--- a/dev-ruby/mysql-ruby/files/mysql-ruby-2.7.3-test.patch
+++ b/dev-ruby/mysql-ruby/files/mysql-ruby-2.7.5-test.patch
@@ -1,11 +1,11 @@
-diff -u mysql-ruby-2.7.3/test.rb mysql-ruby-2.7.3.new/test.rb
---- mysql-ruby-2.7.3/test.rb 2006-12-20 05:31:52.000000000 +0000
-+++ mysql-ruby-2.7.3.new/test.rb 2007-04-16 11:34:43.000000000 +0100
+diff -u mysql-ruby-2.7.4/test.rb mysql-ruby-2.7.4.new/test.rb
+--- mysql-ruby-2.7.5/test.rb 2006-12-20 05:31:52.000000000 +0000
++++ mysql-ruby-2.7.5.new/test.rb 2007-04-16 11:34:43.000000000 +0100
@@ -1,16 +1,22 @@
-#!/usr/local/bin/ruby
+#!/usr/bin/env ruby
- # $Id: test.rb,v 1.23 2006-12-20 05:31:52 tommy Exp $
-
+ # $Id: test.rb 213 2008-03-07 16:30:47Z tommy $
+
require "test/unit"
-require "./mysql.o"
+require "mysql"
diff --git a/dev-ruby/mysql-ruby/mysql-ruby-2.7.2.ebuild b/dev-ruby/mysql-ruby/mysql-ruby-2.7.2.ebuild
deleted file mode 100644
index 100d84b29752..000000000000
--- a/dev-ruby/mysql-ruby/mysql-ruby-2.7.2.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2007 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.7.2.ebuild,v 1.3 2007/02/04 17:23:58 gmsoft Exp $
-
-inherit ruby
-
-DESCRIPTION="A Ruby extension library to use MySQL"
-HOMEPAGE="http://www.tmtm.org/en/mysql/ruby/"
-SRC_URI="http://www.tmtm.org/downloads/mysql/ruby/${P}.tar.gz"
-
-LICENSE="Ruby"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 mips ppc sparc x86"
-IUSE=""
-
-USE_RUBY="ruby16 ruby18 ruby19"
-DEPEND="virtual/ruby
- virtual/mysql"
-
-src_unpack() {
- unpack ${A}
- if use hppa
- then
- sed -e 's/LONG_LONG/long long/' -i "${S}"/mysql.c.in
- fi
-}
-
-src_compile() {
- ruby extconf.rb || die
- emake || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die
-
- dohtml *
-}
-
-src_test() {
- elog
- elog "To test the programme you need to start mysql first."
- elog "Then extract the tarball and run"
- elog
- elog " % ruby test.rb hostname user password"
- elog
- elog "See /usr/share/doc/${PF}/html/README.html for detail."
- elog
-}
diff --git a/dev-ruby/mysql-ruby/mysql-ruby-2.7.4.ebuild b/dev-ruby/mysql-ruby/mysql-ruby-2.7.4.ebuild
index a811f1bd0a5e..7347b0621ca3 100644
--- a/dev-ruby/mysql-ruby/mysql-ruby-2.7.4.ebuild
+++ b/dev-ruby/mysql-ruby/mysql-ruby-2.7.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# 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.7.4.ebuild,v 1.9 2007/11/03 17:06:06 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/mysql-ruby-2.7.4.ebuild,v 1.10 2008/04/13 21:42:39 rbrown Exp $
inherit ruby
@@ -25,7 +25,7 @@ src_unpack() {
sed -e 's/LONG_LONG/long long/' -i "${S}"/mysql.c.in
fi
- epatch ${FILESDIR}/${P}-test.patch
+ epatch "${FILESDIR}/${P}-test.patch"
}
src_compile() {
@@ -34,7 +34,7 @@ src_compile() {
}
src_install() {
- make DESTDIR=${D} install || die
+ make DESTDIR="${D}" install || die
dohtml *
diff --git a/dev-ruby/mysql-ruby/mysql-ruby-2.7.3.ebuild b/dev-ruby/mysql-ruby/mysql-ruby-2.7.5.ebuild
index bbac408aa0a7..9e55a3faefc9 100644
--- a/dev-ruby/mysql-ruby/mysql-ruby-2.7.3.ebuild
+++ b/dev-ruby/mysql-ruby/mysql-ruby-2.7.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# 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.7.3.ebuild,v 1.10 2007/06/21 18:31:32 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/mysql-ruby-2.7.5.ebuild,v 1.1 2008/04/13 21:42:39 rbrown Exp $
inherit ruby
@@ -10,7 +10,7 @@ SRC_URI="http://www.tmtm.org/downloads/mysql/ruby/${P}.tar.gz"
LICENSE="Ruby"
SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
USE_RUBY="ruby18 ruby19"
@@ -25,7 +25,7 @@ src_unpack() {
sed -e 's/LONG_LONG/long long/' -i "${S}"/mysql.c.in
fi
- epatch ${FILESDIR}/${P}-test.patch
+ epatch "${FILESDIR}/${PN}-2.7.4-test.patch"
}
src_compile() {
@@ -34,7 +34,7 @@ src_compile() {
}
src_install() {
- make DESTDIR=${D} install || die
+ make DESTDIR="${D}" install || die
dohtml *