summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-05-05 07:01:19 +0200
committerHans de Graaff <graaff@gentoo.org>2017-05-05 07:10:49 +0200
commitc9e4a4f5a969843ab6f8e0bfb5912dd94b0a8e19 (patch)
treea04f881b837ad95f82cf7e68f75839a8008e878b /dev-ruby/mysql2
parentdev-ruby/mysql2: add 0.3.21 (diff)
downloadgentoo-c9e4a4f5a969843ab6f8e0bfb5912dd94b0a8e19.tar.gz
gentoo-c9e4a4f5a969843ab6f8e0bfb5912dd94b0a8e19.tar.bz2
gentoo-c9e4a4f5a969843ab6f8e0bfb5912dd94b0a8e19.zip
dev-ruby/mysql2: add 0.4.6
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/mysql2')
-rw-r--r--dev-ruby/mysql2/Manifest1
-rw-r--r--dev-ruby/mysql2/mysql2-0.4.6.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/mysql2/Manifest b/dev-ruby/mysql2/Manifest
index 76fec3669c8..017b841c1ed 100644
--- a/dev-ruby/mysql2/Manifest
+++ b/dev-ruby/mysql2/Manifest
@@ -2,3 +2,4 @@ DIST mysql2-0.3.20.gem 52224 SHA256 37166b21ca4b92a7af9bea566d78884b05391cfc14f7
DIST mysql2-0.3.21.gem 52736 SHA256 a57073880bd81e4962be109d56226a8f397f70fc91198b65f9d5826106aae36a SHA512 782b7c13b4956ff9cb66b14701546b8da69ba5dbae8a7fbab6b8a083c7f3c2a15e590fe075f41d4ab85a68bf68963204fc2ab0f4a4f768ce41c822af1063317c WHIRLPOOL b729cb476ac5e1e5a13d4e640b4648b3a420eda5176bbe474513be3111878ad14f853ab1fb78dfc181f23e7cc863a7294476ca1003a6055f9590fb1998b6b635
DIST mysql2-0.4.4.gem 73728 SHA256 2adf72de58581ddb17abe952f5c7843ee0caf3455ed20c82f9c41583ce3aa3ec SHA512 824f05266f65ebe5b9594a4955c439a931eab3eae2f948077e3fb53626d0402c6713a774b1939d44b8c06224c3f9f3d99299e512c734da0fdb2abe4ee654b7e4 WHIRLPOOL 3653f8d1aa9f1283792946f780bf05ab8b63cb8e157010fc7ef1af951f852b3d4e8426ea170f6da28adb13ea849e8b98c68df3333d93da388030bdd580504b93
DIST mysql2-0.4.5.gem 76288 SHA256 9469673d09122537569a8a696136f69b8dd825fe8296df9af25c9b346e3709ce SHA512 e0be5579c811f50be698eb1f6ab209ba05c1583b217ed7ae562b4c37a123afcae8727d898591950acaf750a9b8a4394589dd05eab3c43571d4402d3956b6bae9 WHIRLPOOL 51668e27e13240e6d7cb29d7371d658879a4d0874696d21f87fc16d3981d0e6ff7a89c74172f0e44bfcba82d63d674ba6b468aab581f115a7ddf5fffb53cbb8a
+DIST mysql2-0.4.6.gem 76288 SHA256 6fd9c4646b409388c6007fed258363d0d4d4e836d25e4cb11c5a6feaf6b4f1a2 SHA512 dbaa8f343dc27fcebae0c57f5fe1cd20bb4f0e8a07371d6006532dfafef6a1de3d0b2c4e2f872c0358c30223cd9da6fc27f365d57323cf7f1ba49da1a2a7b466 WHIRLPOOL 7da459af346033e6105557eddc886bb7f8d8b52211c1cbe1a82dba8b15036e3f36afc9f2e3938a4a6d877140af2941e621be7d536528c9653f8eb8eec2bd5bcd
diff --git a/dev-ruby/mysql2/mysql2-0.4.6.ebuild b/dev-ruby/mysql2/mysql2-0.4.6.ebuild
new file mode 100644
index 00000000000..68afbc1d1e6
--- /dev/null
+++ b/dev-ruby/mysql2/mysql2-0.4.6.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+# 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.4"
+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
+}