diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2019-08-28 13:02:06 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-08-28 13:17:23 +0200 |
commit | 1023b00a2f872c4a56459e384d1e34a2cbec2ef7 (patch) | |
tree | 35b0b9e90456fbc381c2011544b4d061dfb84024 /dev-ruby | |
parent | gnustep-libs/sope: rev bump to ease migration to dev-db/mysql-connector-c (diff) | |
download | gentoo-1023b00a2f872c4a56459e384d1e34a2cbec2ef7.tar.gz gentoo-1023b00a2f872c4a56459e384d1e34a2cbec2ef7.tar.bz2 gentoo-1023b00a2f872c4a56459e384d1e34a2cbec2ef7.zip |
dev-ruby/mysql2: rev bump to ease migration to dev-db/mysql-connector-c
Commit 66bf25c026c2c6136cc99b2c2657f46d0c790f10 replaced
virtual/libmysqlclient dependency with dev-db/mysql-connector-c atom
without a rev bump.
To avoid unecessary user interaction for users not using emerge's
--changed-deps=y because we are already pushing towards removal of
virtual/libmysqlclient (see commit 08b83d736f77fd5dffa9cd5f6b1b44771726ce94),
this commit will now force the re-installation through rev bump
to ease migration.
Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/mysql2/mysql2-0.4.10-r1.ebuild | 20 | ||||
-rw-r--r-- | dev-ruby/mysql2/mysql2-0.4.10-r3.ebuild (renamed from dev-ruby/mysql2/mysql2-0.4.10.ebuild) | 20 | ||||
-rw-r--r-- | dev-ruby/mysql2/mysql2-0.5.1-r1.ebuild (renamed from dev-ruby/mysql2/mysql2-0.5.1.ebuild) | 0 | ||||
-rw-r--r-- | dev-ruby/mysql2/mysql2-0.5.2-r2.ebuild (renamed from dev-ruby/mysql2/mysql2-0.5.2.ebuild) | 0 | ||||
-rw-r--r-- | dev-ruby/mysql2/mysql2-0.5.2-r3.ebuild (renamed from dev-ruby/mysql2/mysql2-0.5.2-r1.ebuild) | 0 |
5 files changed, 20 insertions, 20 deletions
diff --git a/dev-ruby/mysql2/mysql2-0.4.10-r1.ebuild b/dev-ruby/mysql2/mysql2-0.4.10-r1.ebuild index a22fbdcd7a29..db127e8a3933 100644 --- a/dev-ruby/mysql2/mysql2-0.4.10-r1.ebuild +++ b/dev-ruby/mysql2/mysql2-0.4.10-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -USE_RUBY="ruby23 ruby24 ruby25 ruby26" +USE_RUBY="ruby22 ruby23 ruby24 ruby25" # Tests require a live MySQL database but should all pass. RUBY_FAKEGEM_TASK_TEST="" @@ -19,23 +19,13 @@ HOMEPAGE="https://github.com/brianmario/mysql2" LICENSE="MIT" SLOT="0.4" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" -IUSE="mysql mariadb" -REQUIRED_USE="^^ ( mariadb mysql )" +IUSE="" -MDEPEND="mysql? ( dev-db/mysql-connector-c:= ) mariadb? ( dev-db/mariadb-connector-c:= )" -DEPEND="${DEPEND} ${MDEPEND}" -RDEPEND="${RDEPEND} ${MDEPEND}" +DEPEND="${DEPEND} dev-db/mysql-connector-c" +RDEPEND="${RDEPEND} dev-db/mysql-connector-c:=" 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 + ${RUBY} -Cext/mysql2 extconf.rb --with-mysql-config "${EPREFIX}/usr/bin/mysqlconfig" || die } each_ruby_compile() { diff --git a/dev-ruby/mysql2/mysql2-0.4.10.ebuild b/dev-ruby/mysql2/mysql2-0.4.10-r3.ebuild index db127e8a3933..a22fbdcd7a29 100644 --- a/dev-ruby/mysql2/mysql2-0.4.10.ebuild +++ b/dev-ruby/mysql2/mysql2-0.4.10-r3.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -USE_RUBY="ruby22 ruby23 ruby24 ruby25" +USE_RUBY="ruby23 ruby24 ruby25 ruby26" # Tests require a live MySQL database but should all pass. RUBY_FAKEGEM_TASK_TEST="" @@ -19,13 +19,23 @@ HOMEPAGE="https://github.com/brianmario/mysql2" LICENSE="MIT" SLOT="0.4" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" -IUSE="" +IUSE="mysql mariadb" +REQUIRED_USE="^^ ( mariadb mysql )" -DEPEND="${DEPEND} dev-db/mysql-connector-c" -RDEPEND="${RDEPEND} dev-db/mysql-connector-c:=" +MDEPEND="mysql? ( dev-db/mysql-connector-c:= ) mariadb? ( dev-db/mariadb-connector-c:= )" +DEPEND="${DEPEND} ${MDEPEND}" +RDEPEND="${RDEPEND} ${MDEPEND}" each_ruby_configure() { - ${RUBY} -Cext/mysql2 extconf.rb --with-mysql-config "${EPREFIX}/usr/bin/mysqlconfig" || die + 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() { diff --git a/dev-ruby/mysql2/mysql2-0.5.1.ebuild b/dev-ruby/mysql2/mysql2-0.5.1-r1.ebuild index c9ce68fd9891..c9ce68fd9891 100644 --- a/dev-ruby/mysql2/mysql2-0.5.1.ebuild +++ b/dev-ruby/mysql2/mysql2-0.5.1-r1.ebuild diff --git a/dev-ruby/mysql2/mysql2-0.5.2.ebuild b/dev-ruby/mysql2/mysql2-0.5.2-r2.ebuild index 93e6a4196626..93e6a4196626 100644 --- a/dev-ruby/mysql2/mysql2-0.5.2.ebuild +++ b/dev-ruby/mysql2/mysql2-0.5.2-r2.ebuild diff --git a/dev-ruby/mysql2/mysql2-0.5.2-r1.ebuild b/dev-ruby/mysql2/mysql2-0.5.2-r3.ebuild index c54019a08f5b..c54019a08f5b 100644 --- a/dev-ruby/mysql2/mysql2-0.5.2-r1.ebuild +++ b/dev-ruby/mysql2/mysql2-0.5.2-r3.ebuild |