summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-01-27 07:21:25 +0000
committerHans de Graaff <graaff@gentoo.org>2014-01-27 07:21:25 +0000
commita1d94ee2fdd2f944df88127f39cc375bd38c6fc6 (patch)
tree9b54ee1693bbef0be8979d54aa965f998af8bacf /dev-ruby
parentsome file cleanup and a fix for bug 498262 (diff)
downloadgentoo-2-a1d94ee2fdd2f944df88127f39cc375bd38c6fc6.tar.gz
gentoo-2-a1d94ee2fdd2f944df88127f39cc375bd38c6fc6.tar.bz2
gentoo-2-a1d94ee2fdd2f944df88127f39cc375bd38c6fc6.zip
Version bump.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/mysql2/ChangeLog9
-rw-r--r--dev-ruby/mysql2/mysql2-0.3.15.ebuild35
2 files changed, 42 insertions, 2 deletions
diff --git a/dev-ruby/mysql2/ChangeLog b/dev-ruby/mysql2/ChangeLog
index 66e88107a921..c6f0b3bdc35e 100644
--- a/dev-ruby/mysql2/ChangeLog
+++ b/dev-ruby/mysql2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/mysql2
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql2/ChangeLog,v 1.24 2013/11/11 12:45:40 mrueg Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql2/ChangeLog,v 1.25 2014/01/27 07:21:25 graaff Exp $
+
+*mysql2-0.3.15 (27 Jan 2014)
+
+ 27 Jan 2014; Hans de Graaff <graaff@gentoo.org> +mysql2-0.3.15.ebuild:
+ Version bump.
11 Nov 2013; Manuel Rüger <mrueg@gentoo.org> -mysql2-0.3.11.ebuild,
-mysql2-0.3.13.ebuild:
diff --git a/dev-ruby/mysql2/mysql2-0.3.15.ebuild b/dev-ruby/mysql2/mysql2-0.3.15.ebuild
new file mode 100644
index 000000000000..e5671dd01a9d
--- /dev/null
+++ b/dev-ruby/mysql2/mysql2-0.3.15.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql2/mysql2-0.3.15.ebuild,v 1.1 2014/01/27 07:21:25 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby18 ruby19 ruby20 ruby21"
+
+# Tests require a live MySQL database but should all pass.
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="README.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 ~arm ~ppc64 ~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 V=1 -Cext/mysql2 || die
+ cp ext/mysql2/mysql2$(get_modname) lib/mysql2/ || die
+}