1 |
commit: 1023b00a2f872c4a56459e384d1e34a2cbec2ef7 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 28 11:02:06 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 28 11:17:23 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1023b00a |
7 |
|
8 |
dev-ruby/mysql2: rev bump to ease migration to dev-db/mysql-connector-c |
9 |
|
10 |
Commit 66bf25c026c2c6136cc99b2c2657f46d0c790f10 replaced |
11 |
virtual/libmysqlclient dependency with dev-db/mysql-connector-c atom |
12 |
without a rev bump. |
13 |
|
14 |
To avoid unecessary user interaction for users not using emerge's |
15 |
--changed-deps=y because we are already pushing towards removal of |
16 |
virtual/libmysqlclient (see commit 08b83d736f77fd5dffa9cd5f6b1b44771726ce94), |
17 |
this commit will now force the re-installation through rev bump |
18 |
to ease migration. |
19 |
|
20 |
Package-Manager: Portage-2.3.72, Repoman-2.3.17 |
21 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
22 |
|
23 |
dev-ruby/mysql2/mysql2-0.4.10-r1.ebuild | 20 ++++--------- |
24 |
...l2-0.4.10-r1.ebuild => mysql2-0.4.10-r3.ebuild} | 0 |
25 |
dev-ruby/mysql2/mysql2-0.4.10.ebuild | 34 ---------------------- |
26 |
...{mysql2-0.5.1.ebuild => mysql2-0.5.1-r1.ebuild} | 0 |
27 |
...{mysql2-0.5.2.ebuild => mysql2-0.5.2-r2.ebuild} | 0 |
28 |
...sql2-0.5.2-r1.ebuild => mysql2-0.5.2-r3.ebuild} | 0 |
29 |
6 files changed, 5 insertions(+), 49 deletions(-) |
30 |
|
31 |
diff --git a/dev-ruby/mysql2/mysql2-0.4.10-r1.ebuild b/dev-ruby/mysql2/mysql2-0.4.10-r1.ebuild |
32 |
index a22fbdcd7a2..db127e8a393 100644 |
33 |
--- a/dev-ruby/mysql2/mysql2-0.4.10-r1.ebuild |
34 |
+++ b/dev-ruby/mysql2/mysql2-0.4.10-r1.ebuild |
35 |
@@ -2,7 +2,7 @@ |
36 |
# Distributed under the terms of the GNU General Public License v2 |
37 |
|
38 |
EAPI=6 |
39 |
-USE_RUBY="ruby23 ruby24 ruby25 ruby26" |
40 |
+USE_RUBY="ruby22 ruby23 ruby24 ruby25" |
41 |
|
42 |
# Tests require a live MySQL database but should all pass. |
43 |
RUBY_FAKEGEM_TASK_TEST="" |
44 |
@@ -19,23 +19,13 @@ HOMEPAGE="https://github.com/brianmario/mysql2" |
45 |
LICENSE="MIT" |
46 |
SLOT="0.4" |
47 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" |
48 |
-IUSE="mysql mariadb" |
49 |
-REQUIRED_USE="^^ ( mariadb mysql )" |
50 |
+IUSE="" |
51 |
|
52 |
-MDEPEND="mysql? ( dev-db/mysql-connector-c:= ) mariadb? ( dev-db/mariadb-connector-c:= )" |
53 |
-DEPEND="${DEPEND} ${MDEPEND}" |
54 |
-RDEPEND="${RDEPEND} ${MDEPEND}" |
55 |
+DEPEND="${DEPEND} dev-db/mysql-connector-c" |
56 |
+RDEPEND="${RDEPEND} dev-db/mysql-connector-c:=" |
57 |
|
58 |
each_ruby_configure() { |
59 |
- local config |
60 |
- if use mysql ; then |
61 |
- config="${EPREFIX}/usr/bin/mysql_config" |
62 |
- fi |
63 |
- if use mariadb ; then |
64 |
- config="${EPREFIX}/usr/bin/mariadb_config" |
65 |
- fi |
66 |
- |
67 |
- ${RUBY} -Cext/mysql2 extconf.rb --with-mysql-config=${config} || die |
68 |
+ ${RUBY} -Cext/mysql2 extconf.rb --with-mysql-config "${EPREFIX}/usr/bin/mysqlconfig" || die |
69 |
} |
70 |
|
71 |
each_ruby_compile() { |
72 |
|
73 |
diff --git a/dev-ruby/mysql2/mysql2-0.4.10-r1.ebuild b/dev-ruby/mysql2/mysql2-0.4.10-r3.ebuild |
74 |
similarity index 100% |
75 |
copy from dev-ruby/mysql2/mysql2-0.4.10-r1.ebuild |
76 |
copy to dev-ruby/mysql2/mysql2-0.4.10-r3.ebuild |
77 |
|
78 |
diff --git a/dev-ruby/mysql2/mysql2-0.4.10.ebuild b/dev-ruby/mysql2/mysql2-0.4.10.ebuild |
79 |
deleted file mode 100644 |
80 |
index db127e8a393..00000000000 |
81 |
--- a/dev-ruby/mysql2/mysql2-0.4.10.ebuild |
82 |
+++ /dev/null |
83 |
@@ -1,34 +0,0 @@ |
84 |
-# Copyright 1999-2019 Gentoo Authors |
85 |
-# Distributed under the terms of the GNU General Public License v2 |
86 |
- |
87 |
-EAPI=6 |
88 |
-USE_RUBY="ruby22 ruby23 ruby24 ruby25" |
89 |
- |
90 |
-# Tests require a live MySQL database but should all pass. |
91 |
-RUBY_FAKEGEM_TASK_TEST="" |
92 |
- |
93 |
-RUBY_FAKEGEM_TASK_DOC="" |
94 |
- |
95 |
-RUBY_FAKEGEM_EXTRADOC="README.md" |
96 |
- |
97 |
-inherit multilib ruby-fakegem |
98 |
- |
99 |
-DESCRIPTION="A modern, simple and very fast Mysql library for Ruby - binding to libmysql" |
100 |
-HOMEPAGE="https://github.com/brianmario/mysql2" |
101 |
- |
102 |
-LICENSE="MIT" |
103 |
-SLOT="0.4" |
104 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" |
105 |
-IUSE="" |
106 |
- |
107 |
-DEPEND="${DEPEND} dev-db/mysql-connector-c" |
108 |
-RDEPEND="${RDEPEND} dev-db/mysql-connector-c:=" |
109 |
- |
110 |
-each_ruby_configure() { |
111 |
- ${RUBY} -Cext/mysql2 extconf.rb --with-mysql-config "${EPREFIX}/usr/bin/mysqlconfig" || die |
112 |
-} |
113 |
- |
114 |
-each_ruby_compile() { |
115 |
- emake V=1 -Cext/mysql2 |
116 |
- cp ext/mysql2/mysql2$(get_modname) lib/mysql2/ || die |
117 |
-} |
118 |
|
119 |
diff --git a/dev-ruby/mysql2/mysql2-0.5.1.ebuild b/dev-ruby/mysql2/mysql2-0.5.1-r1.ebuild |
120 |
similarity index 100% |
121 |
rename from dev-ruby/mysql2/mysql2-0.5.1.ebuild |
122 |
rename to dev-ruby/mysql2/mysql2-0.5.1-r1.ebuild |
123 |
|
124 |
diff --git a/dev-ruby/mysql2/mysql2-0.5.2.ebuild b/dev-ruby/mysql2/mysql2-0.5.2-r2.ebuild |
125 |
similarity index 100% |
126 |
rename from dev-ruby/mysql2/mysql2-0.5.2.ebuild |
127 |
rename to dev-ruby/mysql2/mysql2-0.5.2-r2.ebuild |
128 |
|
129 |
diff --git a/dev-ruby/mysql2/mysql2-0.5.2-r1.ebuild b/dev-ruby/mysql2/mysql2-0.5.2-r3.ebuild |
130 |
similarity index 100% |
131 |
rename from dev-ruby/mysql2/mysql2-0.5.2-r1.ebuild |
132 |
rename to dev-ruby/mysql2/mysql2-0.5.2-r3.ebuild |