summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-12-25 08:19:23 +0000
committerHans de Graaff <graaff@gentoo.org>2012-12-25 08:19:23 +0000
commit8c3ab9ad4233af33e1c0b58c84c7ebb50afa799d (patch)
treef40dca7be8b2508a6ab521e1e55009631bf0771b /dev-ruby/mysql-ruby
parentVersion bump. (diff)
downloadgentoo-2-8c3ab9ad4233af33e1c0b58c84c7ebb50afa799d.tar.gz
gentoo-2-8c3ab9ad4233af33e1c0b58c84c7ebb50afa799d.tar.bz2
gentoo-2-8c3ab9ad4233af33e1c0b58c84c7ebb50afa799d.zip
Version bump.
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/mysql-ruby')
-rw-r--r--dev-ruby/mysql-ruby/ChangeLog7
-rw-r--r--dev-ruby/mysql-ruby/mysql-ruby-2.9.0.ebuild44
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-ruby/mysql-ruby/ChangeLog b/dev-ruby/mysql-ruby/ChangeLog
index 62b0c752d420..353e50e94076 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-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/ChangeLog,v 1.102 2012/09/01 06:08:14 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/ChangeLog,v 1.103 2012/12/25 08:19:22 graaff Exp $
+
+*mysql-ruby-2.9.0 (25 Dec 2012)
+
+ 25 Dec 2012; Hans de Graaff <graaff@gentoo.org> +mysql-ruby-2.9.0.ebuild:
+ Version bump.
01 Sep 2012; Hans de Graaff <graaff@gentoo.org> -mysql-ruby-2.8.1-r1.ebuild,
-mysql-ruby-2.8.1-r2.ebuild:
diff --git a/dev-ruby/mysql-ruby/mysql-ruby-2.9.0.ebuild b/dev-ruby/mysql-ruby/mysql-ruby-2.9.0.ebuild
new file mode 100644
index 000000000000..cfc2c00be39e
--- /dev/null
+++ b/dev-ruby/mysql-ruby/mysql-ruby-2.9.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 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.9.0.ebuild,v 1.1 2012/12/25 08:19:23 graaff Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ree18 ruby19"
+
+RUBY_FAKEGEM_NAME="mysql"
+
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="History.txt README.txt"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Ruby extension library to use MySQL"
+HOMEPAGE="http://www.tmtm.org/en/mysql/ruby/"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="test"
+
+DEPEND="virtual/mysql[-static]"
+RDEPEND="${DEPEND}"
+
+TEST_DIR="/usr/share/${PN}/test/"
+
+#all_ruby_prepare() {
+# epatch "${FILESDIR}/${P}-test2.patch"
+#}
+
+each_ruby_configure() {
+ ${RUBY} -Cext/mysql_api extconf.rb --with-mysql-config "${EPREFIX}/usr/bin/mysqlconfig" || die
+}
+
+each_ruby_compile() {
+ emake -Cext/mysql_api || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+}