summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2015-09-16 21:50:10 +0200
committerManuel Rüger <mrueg@gentoo.org>2015-09-16 21:50:10 +0200
commitd0d22e04a1eb2a6eb1d58a18c4ea93cde01a16ad (patch)
tree956e4974f0dd1071dc6aba40b8c50436a37de562 /dev-ruby/mysql2
parentx11-drivers/ati-drivers: Drop old patches (diff)
downloadgentoo-d0d22e04a1eb2a6eb1d58a18c4ea93cde01a16ad.tar.gz
gentoo-d0d22e04a1eb2a6eb1d58a18c4ea93cde01a16ad.tar.bz2
gentoo-d0d22e04a1eb2a6eb1d58a18c4ea93cde01a16ad.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.1.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/mysql2/Manifest b/dev-ruby/mysql2/Manifest
index e1d43a6e2b2..6007379003d 100644
--- a/dev-ruby/mysql2/Manifest
+++ b/dev-ruby/mysql2/Manifest
@@ -3,3 +3,4 @@ DIST mysql2-0.3.18.gem 50688 SHA256 d35477aaf1a5fc508511af5c521675b8878275ad0af9
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
+DIST mysql2-0.4.1.gem 71680 SHA256 1ba5e782424a7a8d9ed75456c0df22d4196d6ca84a3a8a1ba3d009c5783d0fe2 SHA512 6abd2e63c5a24fa935d706afecba1a14b6fbb408a1a5e88b78b19a034426d7dbaaa82646b471d5d3965547d8377b196031f1a00e86a0da54665e485aa051ce7c WHIRLPOOL 21e6aa216a564335dd9e980e93ee29bd29a5958392c759d6e86c8a88f35d843eb8b9292c904ec3102c079e023757d0555a7faf8c9bb028151815bb68ad0024a2
diff --git a/dev-ruby/mysql2/mysql2-0.4.1.ebuild b/dev-ruby/mysql2/mysql2-0.4.1.ebuild
new file mode 100644
index 00000000000..0ab4e020785
--- /dev/null
+++ b/dev-ruby/mysql2/mysql2-0.4.1.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
+}