dev-ruby/mysql2: version bump
authorHans de Graaff <graaff@gentoo.org>
Wed, 26 Aug 2015 04:46:27 +0000 (06:46 +0200)
committerHans de Graaff <graaff@gentoo.org>
Wed, 26 Aug 2015 05:59:13 +0000 (07:59 +0200)
Package-Manager: portage-2.2.20.1

dev-ruby/mysql2/Manifest
dev-ruby/mysql2/mysql2-0.3.20.ebuild [new file with mode: 0644]

index daa1c8f1f5d88f868eaf69a2bb78eaaa138e8f53..9200273756dd6ad35125a31059d1d8e8f4ac65ea 100644 (file)
@@ -1,3 +1,4 @@
 DIST mysql2-0.3.17.gem 49152 SHA256 c69c5f08532cdd58e5f7dccaad7ac132edaa271dd2c8d69711cf5ce3c8f858e1 SHA512 bf3e818fa6a2396706b5078ab6a426ce22e7a24ca8e0ba310e831ed1887f9d6688084d99af34111f6447f089a2bf1364dd641434b61add9778eed5c4ce2d270e WHIRLPOOL 904e5def78e6a5457b7dfc7a561d7ddb9900f57812bc68b4b52dec3095276b93626198af4b29d648655143e93b210dfd66fa0dba202d16e1ef8d4e03ed93c016
 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
diff --git a/dev-ruby/mysql2/mysql2-0.3.20.ebuild b/dev-ruby/mysql2/mysql2-0.3.20.ebuild
new file mode 100644 (file)
index 0000000..ef3a37f
--- /dev/null
@@ -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 || die
+       cp ext/mysql2/mysql2$(get_modname) lib/mysql2/ || die
+}