1 |
commit: ac646ac9705d2fa8041779a6a643aeafecfab470 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 18 07:54:22 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 18 07:54:22 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac646ac9 |
7 |
|
8 |
dev-ruby/mysql2: cleanup |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/mysql2/mysql2-0.5.3.ebuild | 44 ------------------------------------- |
14 |
1 file changed, 44 deletions(-) |
15 |
|
16 |
diff --git a/dev-ruby/mysql2/mysql2-0.5.3.ebuild b/dev-ruby/mysql2/mysql2-0.5.3.ebuild |
17 |
deleted file mode 100644 |
18 |
index c6cf06ce5dc..00000000000 |
19 |
--- a/dev-ruby/mysql2/mysql2-0.5.3.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,44 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
-USE_RUBY="ruby24 ruby25 ruby26 ruby27" |
27 |
- |
28 |
-# Tests require a live MySQL database but should all pass. |
29 |
-RUBY_FAKEGEM_TASK_TEST="" |
30 |
- |
31 |
-RUBY_FAKEGEM_TASK_DOC="" |
32 |
- |
33 |
-RUBY_FAKEGEM_EXTRADOC="README.md" |
34 |
- |
35 |
-inherit multilib ruby-fakegem |
36 |
- |
37 |
-DESCRIPTION="A modern, simple and very fast Mysql library for Ruby - binding to libmysql" |
38 |
-HOMEPAGE="https://github.com/brianmario/mysql2" |
39 |
- |
40 |
-LICENSE="MIT" |
41 |
-SLOT="0.5" |
42 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
43 |
-IUSE="mysql mariadb" |
44 |
-REQUIRED_USE="^^ ( mariadb mysql )" |
45 |
- |
46 |
-MDEPEND="mysql? ( dev-db/mysql-connector-c:= ) mariadb? ( dev-db/mariadb-connector-c:= )" |
47 |
-DEPEND="${DEPEND} ${MDEPEND}" |
48 |
-RDEPEND="${RDEPEND} ${MDEPEND}" |
49 |
- |
50 |
-each_ruby_configure() { |
51 |
- local config |
52 |
- if use mysql ; then |
53 |
- config="${EPREFIX}/usr/bin/mysql_config" |
54 |
- fi |
55 |
- if use mariadb ; then |
56 |
- config="${EPREFIX}/usr/bin/mariadb_config" |
57 |
- fi |
58 |
- |
59 |
- ${RUBY} -Cext/mysql2 extconf.rb --with-mysql-config="${config}" || die |
60 |
-} |
61 |
- |
62 |
-each_ruby_compile() { |
63 |
- emake V=1 -Cext/mysql2 |
64 |
- cp ext/mysql2/mysql2$(get_modname) lib/mysql2/ || die |
65 |
-} |