summaryrefslogtreecommitdiff
path: root/dev-ruby/mysql2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
commit7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch)
tree4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /dev-ruby/mysql2
parentb284a3168fa91a038925d2ecf5e4791011ea5e7d (diff)
gentoo resync : 15.12.2019
Diffstat (limited to 'dev-ruby/mysql2')
-rw-r--r--dev-ruby/mysql2/Manifest2
-rw-r--r--dev-ruby/mysql2/mysql2-0.5.3.ebuild44
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/mysql2/Manifest b/dev-ruby/mysql2/Manifest
index 62cd0c439d3c..64687d4583bb 100644
--- a/dev-ruby/mysql2/Manifest
+++ b/dev-ruby/mysql2/Manifest
@@ -1,9 +1,11 @@
DIST mysql2-0.4.10.gem 97792 BLAKE2B 4978a3fbc8e516e47907d73276b244e614248c031db7c0b7d76d20f1f845be11f7187795d3a989629ff849e2e1bd0454fd56bc7be6b692d9840838861bafdb4c SHA512 1f9c8eb1b120cfc940b3aa26b2dff54735ccdf54fd6e6745e347179d29803b4a4d1f3b80a86f92dd534089f625ffcd6055458f27aaefebe58f8332890a842b43
DIST mysql2-0.5.1.gem 99328 BLAKE2B 1ed8d9688a78ee30f3f7b7a71317cbe92b39e2a1b6f9db710a328a4b9542ffcff4be9051c5fa440bbb93c1af56742755e4b70bbff895695102c126293b7d7ad7 SHA512 dd1934e4f8aa8a97b70dbe0f1436496892a155fa188930321e776d57ec72ec34f95f2665ad5db671fdba99304e279aa8a045dbc6126ab50d8cc2d84838bc145b
DIST mysql2-0.5.2.gem 99328 BLAKE2B 0f1a0d4657e5933e14d445ceefc6ff605a8b07bc01686dd0a67e018c45857a92d25914e4f0aae1116ed1479583636cdbca2aaeb127b856b38052264d579991bf SHA512 6013b0c862f24f0c20b22c50a17390a7a22390e661d0f1afb613177febfbf854f63aea9bc9aa8defc9521896144fbc035a8e16b135abb47384453a23dfd99566
+DIST mysql2-0.5.3.gem 74240 BLAKE2B 9de25a34173ab952f6842f01d9207405c8bc6ed5937fdf66de4062129fc20f425635956f6d12f78466c8c341c49916f7d00df845f84a4101d34a98b1585b9919 SHA512 59a0ee00261b09e8bbfc586a6f75af840a465a94fd8c9463a3d7767e5ea6b7e64507c9571fb90c6d0cdde3cfff560c97fbf3f3c32b3916aca852ef5c41e1bce9
EBUILD mysql2-0.4.10-r1.ebuild 872 BLAKE2B 877acdceab1715ae6e707f7799689be45502dceb80d3186f584bdbe9b1ea85ac5a24528a49ca28f8b67150204be161ab8368c26ae41e891fb24d27b1d237f00b SHA512 636c5e630ac7617aaed59231a66eac2c2b32e75a89c4ba8dbcea16b301b525610ebe183059c5712889336f401034a02961c6a0a084c4bef5bbaeef572931076d
EBUILD mysql2-0.4.10-r3.ebuild 1113 BLAKE2B bc82dc8582b4cb304f830716d0a4750327e6831bd511e3a146b2c7825256eeff2083d0c2fe024e1b9e3a38ee7af68f1bb420148b860446dba765194c157ade15 SHA512 1890f857e7b295e4570fdd0c72dc2d58f3788492931c2dc79d92222229fb71fa6ea81fe3e4e459796cdede6c5045198002b38343ceff91c08b90c3663f51c771
EBUILD mysql2-0.5.1-r1.ebuild 872 BLAKE2B 0f398a42ca285da955c2cd7a681068dda812d6f8aaf650f5ae879eecb7cff9c4e23eb16b8e9b99833a01bcf640a0aa125a4091292ea123e60ca035fabc910d76 SHA512 42c2bff388fdb5e05274419d6fca3e927336b43bddc68b2ff955c653317a99fdc9db3d74932c0cff61d71895d5ef394342656baadd70e51642dea9dcfdebe320
EBUILD mysql2-0.5.2-r2.ebuild 865 BLAKE2B e074f5cfead4221b0a50ffbd08bb849eb11e7ef2ceccb274e828138dfd394c9e28fb4aa252da3a58f17214c67ecef7ea84a2786a9cab633bcb6ad79dce05f26c SHA512 d79de5022e68a78c177b874b354c61b1381c935ce13ff369a2db2aa380db8ab92b3bd94c8ed7c7b374f39a81b36e088a3bfaf838ade8f91ce061a6c2d297298f
EBUILD mysql2-0.5.2-r3.ebuild 1115 BLAKE2B 5e9248dc33b676bbcdc21e7a4ffdddce20ced5636c09c82927952749af3db0de79b22296cbff49642f69ffcf5fcddc32c2fa23d7785baebcdc134973121a3e79 SHA512 215dff68c28704d72212b4d9b671850147c6b631c0c547b06a2ad29b5297e7d9df441026d6f75255228b4770862420950a7d78aa58c4721936297ca3f7198132
+EBUILD mysql2-0.5.3.ebuild 1108 BLAKE2B 5b58e4d9d13550ffedb7d114bd755c9892d027eef94de9596f50984f453f48cb3663651586d659eb1edc181b31c517b1271387eddbfdf80d25c888a8236025f3 SHA512 4fdbff00cf3e018ee703611b6bdd2000bbf0ecbba8b57ff48d58670cbce84c7c5b8af19e7a0183da23e0a3892b1cd54321bb7dc3e861a6ceedf04e7989993e96
MISC metadata.xml 413 BLAKE2B 1fdeec661490aaea22676fa4af618fd6458c8bf67c61ea0233f1c68629e89cfdb5f8c29572b9d75c4dc010b1a774b0c703fb6ef4cce1e3e1649452ac0e0aac75 SHA512 1e2e76b14e8c3b44693f0a1d9f83d8b1c95f4eb65490c914fc925fafcfda58fab2764c8b54a87a8e347d53ddb8ce9ce6ca2a08564c97bddae0d0cba0719dfb73
diff --git a/dev-ruby/mysql2/mysql2-0.5.3.ebuild b/dev-ruby/mysql2/mysql2-0.5.3.ebuild
new file mode 100644
index 000000000000..50f4a7791ee7
--- /dev/null
+++ b/dev-ruby/mysql2/mysql2-0.5.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26"
+
+# 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 ~hppa ~ppc ~ppc64 ~x86"
+IUSE="mysql mariadb"
+REQUIRED_USE="^^ ( mariadb mysql )"
+
+MDEPEND="mysql? ( dev-db/mysql-connector-c:= ) mariadb? ( dev-db/mariadb-connector-c:= )"
+DEPEND="${DEPEND} ${MDEPEND}"
+RDEPEND="${RDEPEND} ${MDEPEND}"
+
+each_ruby_configure() {
+ local config
+ if use mysql ; then
+ config="${EPREFIX}/usr/bin/mysql_config"
+ fi
+ if use mariadb ; then
+ config="${EPREFIX}/usr/bin/mariadb_config"
+ fi
+
+ ${RUBY} -Cext/mysql2 extconf.rb --with-mysql-config="${config}" || die
+}
+
+each_ruby_compile() {
+ emake V=1 -Cext/mysql2
+ cp ext/mysql2/mysql2$(get_modname) lib/mysql2/ || die
+}