summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2015-09-12 02:29:37 +0200
committerManuel Rüger <mrueg@gentoo.org>2015-09-12 02:29:37 +0200
commit5d71f464acd2dcc120c228a1ee0ef501e0b12fb1 (patch)
tree8b6607edaedb37485a2f77a02c73b2ce41ea46fe /dev-ruby/mysql2
parentdev-ruby/mixlib-shellout: Version bump (diff)
downloadgentoo-5d71f464acd2dcc120c228a1ee0ef501e0b12fb1.tar.gz
gentoo-5d71f464acd2dcc120c228a1ee0ef501e0b12fb1.tar.bz2
gentoo-5d71f464acd2dcc120c228a1ee0ef501e0b12fb1.zip
dev-ruby/mysql2: Version bump
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-ruby/mysql2')
-rw-r--r--dev-ruby/mysql2/Manifest1
-rw-r--r--dev-ruby/mysql2/mysql2-0.4.0.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/mysql2/Manifest b/dev-ruby/mysql2/Manifest
index 9200273756d..e1d43a6e2b2 100644
--- a/dev-ruby/mysql2/Manifest
+++ b/dev-ruby/mysql2/Manifest
@@ -2,3 +2,4 @@ DIST mysql2-0.3.17.gem 49152 SHA256 c69c5f08532cdd58e5f7dccaad7ac132edaa271dd2c8
DIST mysql2-0.3.18.gem 50688 SHA256 d35477aaf1a5fc508511af5c521675b8878275ad0af9c12e1cf222b50e285735 SHA512 533cbea6c67ce1d02861d76b18c3a3c74e81a6f4edf0324dfeb29dc9f8a4fb40e5a4e4bc22b973784c1a6ac1862507860b50d5ce7da4aeac6e3a3c260f1fde7d WHIRLPOOL a6685345d5a82c098cbc40d5963d5be3cc0f16738d197cc40ec2a7b375ca578078f177dccfadd8aaee2a8eb85e346f9f097b0bc7af01045ccec3cc44f6226252
DIST mysql2-0.3.19.gem 52224 SHA256 d34c6804e1916361ff352da0f0f57e615909cad0edcbf18d9aba78e1ddc2918a SHA512 1486e6016854776307a42b8edd1b51f222c9ec4a3aa769aba03579c132e778673ed5cd788d129fecb73085a01989adf9813d36d20ff292573b6db041354270f5 WHIRLPOOL 12db1a0c0b8260bae189590094978038903e871e1e91cf9d502117a05807344a60d9b40be0c8a45e5be74f027eefbf7e2c2ab5d5ba2d8e9bcdabaf6b41c8024b
DIST mysql2-0.3.20.gem 52224 SHA256 37166b21ca4b92a7af9bea566d78884b05391cfc14f786c18e7f264b422f0758 SHA512 65088e57b3693cb2b28cd37fc595de43edb85dba14421c1c43cd0c4e41efc0a8a39bd541213170af95e712998b44411a4212d9b96750207ed9d7292aa1e66c91 WHIRLPOOL 23e9852f3f9ee76e4463c4397b1e96288e2f8575030f33540c7c8cc8ca8fc106be2aec1c117dd008e4026872850731b4396babbbbeb971e8dacf523fe33387c9
+DIST mysql2-0.4.0.gem 60416 SHA256 4eba64b84f84e10083deb56102b199d01559583d875ccf2620f8b04f59c05828 SHA512 9b203e434ada980c9070f7b1c8f24209c6ce91d5a918d1be55a07808464ced77f7fc053223c997f0f95ea9b8e920f132170804f4d3df31d205c4d6944b27e3c5 WHIRLPOOL 9ebb41ac53932dba5e8c5f39a08510752c61b879e5abf7639693511920dd9b5cc9f32e20c420c37ef3c5ea03455203617207f1f7697412a81a31a9875cab4ad0
diff --git a/dev-ruby/mysql2/mysql2-0.4.0.ebuild b/dev-ruby/mysql2/mysql2-0.4.0.ebuild
new file mode 100644
index 00000000000..0ab4e020785
--- /dev/null
+++ b/dev-ruby/mysql2/mysql2-0.4.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+
+# 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 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND="${DEPEND} virtual/libmysqlclient"
+RDEPEND="${RDEPEND} virtual/libmysqlclient:="
+
+each_ruby_configure() {
+ ${RUBY} -Cext/mysql2 extconf.rb --with-mysql-config "${EPREFIX}/usr/bin/mysqlconfig" || die
+}
+
+each_ruby_compile() {
+ emake V=1 -Cext/mysql2
+ cp ext/mysql2/mysql2$(get_modname) lib/mysql2/ || die
+}