summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/percona-server/percona-server-5.7.26.29-r1.ebuild')
-rw-r--r--dev-db/percona-server/percona-server-5.7.26.29-r1.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-db/percona-server/percona-server-5.7.26.29-r1.ebuild b/dev-db/percona-server/percona-server-5.7.26.29-r1.ebuild
index 1eccb63ed0ad..81b46f88e3aa 100644
--- a/dev-db/percona-server/percona-server-5.7.26.29-r1.ebuild
+++ b/dev-db/percona-server/percona-server-5.7.26.29-r1.ebuild
@@ -133,8 +133,11 @@ DEPEND="${COMMON_DEPEND}
static? ( sys-libs/ncurses[static-libs] )
test? (
acct-group/mysql acct-user/mysql
- $(python_gen_any_dep 'dev-python/mysql-python[${PYTHON_USEDEP}]')
dev-perl/JSON
+ || (
+ $(python_gen_any_dep 'dev-python/mysqlclient[${PYTHON_USEDEP}]')
+ $(python_gen_any_dep 'dev-python/mysql-python[${PYTHON_USEDEP}]')
+ )
)
"
RDEPEND="${COMMON_DEPEND}
@@ -153,7 +156,8 @@ RDEPEND="${COMMON_DEPEND}
PDEPEND="perl? ( >=dev-perl/DBD-mysql-2.9004 )"
python_check_deps() {
- has_version "dev-python/mysql-python[${PYTHON_USEDEP}]"
+ has_version "dev-python/mysqlclient[${PYTHON_USEDEP}]" \
+ || has_version "dev-python/mysql-python[${PYTHON_USEDEP}]"
}
mysql_init_vars() {