summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-03-21 07:06:21 +0100
committerHans de Graaff <graaff@gentoo.org>2018-03-21 07:06:21 +0100
commit9d13f73bd7af05618b8f292169f53521b32f0384 (patch)
tree9667aca6603ef8465047230cf3325d2b8b10cf3b /dev-ruby/mysql2
parentdev-python/pastedeploy: arm stable, bug #639114 (diff)
downloadgentoo-9d13f73bd7af05618b8f292169f53521b32f0384.tar.gz
gentoo-9d13f73bd7af05618b8f292169f53521b32f0384.tar.bz2
gentoo-9d13f73bd7af05618b8f292169f53521b32f0384.zip
dev-ruby/mysql2: add 0.5.0
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/mysql2')
-rw-r--r--dev-ruby/mysql2/Manifest1
-rw-r--r--dev-ruby/mysql2/mysql2-0.5.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/mysql2/Manifest b/dev-ruby/mysql2/Manifest
index 80fb93c8b23..584df72c5b9 100644
--- a/dev-ruby/mysql2/Manifest
+++ b/dev-ruby/mysql2/Manifest
@@ -1,2 +1,3 @@
DIST mysql2-0.3.21.gem 52736 BLAKE2B e0fe0d16c0816b7f849581d6ce0c657f64f2881ab28bced780be82e8017a5ded24cffc3641f2f386f5664cbc5e9ac4c6be4fab9cff818dc5910970968d7458a4 SHA512 782b7c13b4956ff9cb66b14701546b8da69ba5dbae8a7fbab6b8a083c7f3c2a15e590fe075f41d4ab85a68bf68963204fc2ab0f4a4f768ce41c822af1063317c
DIST mysql2-0.4.10.gem 97792 BLAKE2B 4978a3fbc8e516e47907d73276b244e614248c031db7c0b7d76d20f1f845be11f7187795d3a989629ff849e2e1bd0454fd56bc7be6b692d9840838861bafdb4c SHA512 1f9c8eb1b120cfc940b3aa26b2dff54735ccdf54fd6e6745e347179d29803b4a4d1f3b80a86f92dd534089f625ffcd6055458f27aaefebe58f8332890a842b43
+DIST mysql2-0.5.0.gem 98816 BLAKE2B df99ea39a1a6e080ccbae3f79a17234507f0396438519564f758a3ab75b50729d70ee5586c1945876818321aa4d529c3802264b56deff0a47382b7d8b23b798b SHA512 d7026fd4e69558bb8150bb9f4053143cecf2af39c94db2d8b708b8ab936b20b3051844eb79e893c2c5880774b24c62d77444f258195887f4eb95ea558dd7e410
diff --git a/dev-ruby/mysql2/mysql2-0.5.0.ebuild b/dev-ruby/mysql2/mysql2-0.5.0.ebuild
new file mode 100644
index 00000000000..d9e782f1015
--- /dev/null
+++ b/dev-ruby/mysql2/mysql2-0.5.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24 ruby25"
+
+# 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.5"
+KEYWORDS="~amd64 ~arm ~arm64 ~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
+}