summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-06-17 18:19:46 +0000
committerHans de Graaff <graaff@gentoo.org>2011-06-17 18:19:46 +0000
commit63774d5789f5cd721b4109adab73a6d345d1d2c6 (patch)
treeb1196d2e7e253a4d62fefe4b5e8ede239e8c8c72 /dev-ruby/mysql2
parentVersion bump. (diff)
downloadgentoo-2-63774d5789f5cd721b4109adab73a6d345d1d2c6.tar.gz
gentoo-2-63774d5789f5cd721b4109adab73a6d345d1d2c6.tar.bz2
gentoo-2-63774d5789f5cd721b4109adab73a6d345d1d2c6.zip
Version bump.
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/mysql2')
-rw-r--r--dev-ruby/mysql2/ChangeLog7
-rw-r--r--dev-ruby/mysql2/mysql2-0.3.6.ebuild35
2 files changed, 41 insertions, 1 deletions
diff --git a/dev-ruby/mysql2/ChangeLog b/dev-ruby/mysql2/ChangeLog
index 818de7ad6c48..0be096f5ec0b 100644
--- a/dev-ruby/mysql2/ChangeLog
+++ b/dev-ruby/mysql2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/mysql2
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql2/ChangeLog,v 1.6 2011/06/08 18:42:42 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql2/ChangeLog,v 1.7 2011/06/17 18:19:46 graaff Exp $
+
+*mysql2-0.3.6 (17 Jun 2011)
+
+ 17 Jun 2011; Hans de Graaff <graaff@gentoo.org> +mysql2-0.3.6.ebuild:
+ Version bump.
08 Jun 2011; Hans de Graaff <graaff@gentoo.org> mysql2-0.2.7.ebuild,
mysql2-0.3.2.ebuild:
diff --git a/dev-ruby/mysql2/mysql2-0.3.6.ebuild b/dev-ruby/mysql2/mysql2-0.3.6.ebuild
new file mode 100644
index 000000000000..aa461e048509
--- /dev/null
+++ b/dev-ruby/mysql2/mysql2-0.3.6.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql2/mysql2-0.3.6.ebuild,v 1.1 2011/06/17 18:19:46 graaff Exp $
+
+EAPI="3"
+USE_RUBY="ruby18 ree18"
+
+# Tests require a live MySQL database.
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="A modern, simple and very fast Mysql library for Ruby - binding to libmysql."
+HOMEPAGE="https://github.com/brianmario/mysql2"
+
+LICENSE="MIT"
+SLOT="0.3"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="${DEPEND} virtual/mysql[-static]"
+RDEPEND="${RDEPEND} virtual/mysql[-static]"
+
+each_ruby_configure() {
+ ${RUBY} -Cext/mysql2 extconf.rb --with-mysql-config "${EPREFIX}/usr/bin/mysqlconfig" || die
+}
+
+each_ruby_compile() {
+ emake -Cext/mysql2 || die
+ cp ext/mysql2/mysql2$(get_modname) lib/mysql2/ || die
+}