summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2009-12-15 09:44:32 +0000
committerAlex Legler <a3li@gentoo.org>2009-12-15 09:44:32 +0000
commit27619cbe9761177defd70ed8a02b77a160af8c77 (patch)
tree33e2be5f16a4e3752129b9dcbdf2d4228336a43a /dev-ruby/mysql-ruby
parentChange X11 to MIT in LICENSE. (diff)
downloadhistorical-27619cbe9761177defd70ed8a02b77a160af8c77.tar.gz
historical-27619cbe9761177defd70ed8a02b77a160af8c77.tar.bz2
historical-27619cbe9761177defd70ed8a02b77a160af8c77.zip
revbump to ruby-ng, fixing bug 261141
Package-Manager: portage-2.2_rc59/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/mysql-ruby')
-rw-r--r--dev-ruby/mysql-ruby/ChangeLog7
-rw-r--r--dev-ruby/mysql-ruby/Manifest11
-rw-r--r--dev-ruby/mysql-ruby/mysql-ruby-2.8.1-r1.ebuild65
3 files changed, 77 insertions, 6 deletions
diff --git a/dev-ruby/mysql-ruby/ChangeLog b/dev-ruby/mysql-ruby/ChangeLog
index 05b66ebe5a29..cce641bb2d73 100644
--- a/dev-ruby/mysql-ruby/ChangeLog
+++ b/dev-ruby/mysql-ruby/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/mysql-ruby
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/ChangeLog,v 1.68 2009/12/10 20:09:50 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/ChangeLog,v 1.69 2009/12/15 09:44:31 a3li Exp $
+
+*mysql-ruby-2.8.1-r1 (14 Dec 2009)
+
+ 14 Dec 2009; Alex Legler <a3li@gentoo.org> +mysql-ruby-2.8.1-r1.ebuild:
+ revbump to use ruby-fakegem, fixing bug 261141
10 Dec 2009; Markus Meier <maekke@gentoo.org> mysql-ruby-2.8.1.ebuild:
amd64/x86 stable, bug #296340
diff --git a/dev-ruby/mysql-ruby/Manifest b/dev-ruby/mysql-ruby/Manifest
index e4d6e267db82..9238aa37e65f 100644
--- a/dev-ruby/mysql-ruby/Manifest
+++ b/dev-ruby/mysql-ruby/Manifest
@@ -8,14 +8,15 @@ DIST mysql-ruby-2.7.5.tar.gz 32479 RMD160 2a559385743f209a5f0b4754b7e8bf726d59fe
DIST mysql-ruby-2.8.1.tar.gz 34662 RMD160 42918666f3ed09cc4f52d2f62ce57dece05a8aed SHA1 9a5c04cc17be6d92c57756866b8abb894da7ca90 SHA256 8218329ddc169277d00983c178ab53b945d60672062bd1a5e9e5312b6d7132f0
DIST mysql-ruby-2.8.tar.gz 34592 RMD160 db04c869f3b91ecd410b5c799af6b4ee4865728d SHA1 6c07bf9de540c76dc780430fd9b8a6ea96dfac1e SHA256 33a06fe71f673cde0440731592711ffbe6139709b84c397d578ecfb17ce52978
EBUILD mysql-ruby-2.7.5.ebuild 1146 RMD160 9410a3374eefa0401cd1ed6fcb058567a42972fd SHA1 b952a592086abb89fce9e6d6528020184b3a11da SHA256 ed5a0907b6080ed08fa660e75cd9e9866b355377cc8e5e4a342d8ab76a6eacbd
+EBUILD mysql-ruby-2.8.1-r1.ebuild 1329 RMD160 9cf73ce86284c729a2dfa2dd78afa2711f42d2cd SHA1 9a6896cd183ef1c929c41ca5ff6ec47c1efdb3f7 SHA256 0722f3dfabac3c5494a8342c087bb39ceeed30b352e7c7cc350cc63b694fd584
EBUILD mysql-ruby-2.8.1.ebuild 1161 RMD160 91ae33fedac30518fbfdab8c01c1fcd9f602eba7 SHA1 a86ea9fe40952ecb190e77f11a94a01e1b232175 SHA256 4c4983f0e9fc75a79e8765536ba22f4d9748e1fb282041343d4a4641f27b5e8f
EBUILD mysql-ruby-2.8.ebuild 1149 RMD160 20ef9d317ba8955e16906747da1080b1b12085e6 SHA1 a78c086808987a027ca5eea4d278a349bf8437bc SHA256 7b988626caae7502d864e58fe8e3069366916ad37918548f4373cf9639c5ea50
-MISC ChangeLog 8366 RMD160 4ecc537e9a97c0a0c48078f776400d109dd9ef85 SHA1 94fc6f84ae2b6e3502d65b8a9fd2f4883db8dfe8 SHA256 eebe50d42497b34ce35aaa2ded5bf1a05835409255c1f9528ac245628d04fc3a
+MISC ChangeLog 8524 RMD160 1e563e14cb5efbb603fca704ac817bfbf5110708 SHA1 87124e129308f90e9ae85a38998ccd88d3d2cd03 SHA256 7201d49990df3d93a6aae627a4f2c9743e1e5d0d553f59e3e9749e0fb06d3d33
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.13 (GNU/Linux)
-iEYEARECAAYFAkshVYwACgkQkKaRLQcq0GJfdACgh1W5fvAzsFYuzKeiQjUq1LYx
-n0kAnRYtRqvtS86xVr21+AS8dcLD9lPR
-=XZr5
+iEYEARECAAYFAksnWogACgkQTEkQYPgooqHoGwCeJ05h96itcSLo1KTHQlXR0Bs4
+urUAoOpHPZX1sUek+25Cn5frlbblW+sQ
+=aXRY
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/mysql-ruby/mysql-ruby-2.8.1-r1.ebuild b/dev-ruby/mysql-ruby/mysql-ruby-2.8.1-r1.ebuild
new file mode 100644
index 000000000000..7345274c254b
--- /dev/null
+++ b/dev-ruby/mysql-ruby/mysql-ruby-2.8.1-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2009 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.1-r1.ebuild,v 1.1 2009/12/15 09:44:32 a3li Exp $
+
+EAPI="2"
+USE_RUBY="ruby18 ruby19"
+
+RUBY_FAKEGEM_NAME="mysql"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Ruby extension library to use MySQL"
+HOMEPAGE="http://www.tmtm.org/en/mysql/ruby/"
+SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="test"
+
+DEPEND="virtual/mysql"
+RDEPEND="${DEPEND}"
+
+TEST_DIR="/usr/share/${PN}/test/"
+
+all_ruby_prepare() {
+ if use hppa; then
+ sed -e 's/LONG_LONG/long long/' -i "${S}"/mysql.c.in || die
+ fi
+
+ epatch "${FILESDIR}/${P}-test.patch"
+}
+
+each_ruby_configure() {
+ ${RUBY} extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake || die
+}
+
+each_ruby_install() {
+ make DESTDIR="${D}" install || die
+ ruby_fakegem_genspec
+}
+
+all_fakegem_install() {
+ dohtml * || die
+
+ if use test ; then
+ insinto $TEST_DIR
+ doins test.rb || die
+ fi
+}
+
+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
+}