From: Michał Górny Date: Sat, 8 Feb 2020 06:31:07 +0000 (+0100) Subject: dev-python/storm: Switch to PYTHON_MULTI_USEDEP API X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=1b56e047743a95a2c6df8adb0f29999316e472ff;p=gentoo.git dev-python/storm: Switch to PYTHON_MULTI_USEDEP API Signed-off-by: Michał Górny --- diff --git a/dev-python/storm/storm-0.20-r1.ebuild b/dev-python/storm/storm-0.20-r2.ebuild similarity index 83% rename from dev-python/storm/storm-0.20-r1.ebuild rename to dev-python/storm/storm-0.20-r2.ebuild index a08b6d56c609..5bfc5d440906 100644 --- a/dev-python/storm/storm-0.20-r1.ebuild +++ b/dev-python/storm/storm-0.20-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -19,10 +19,16 @@ KEYWORDS="~amd64 ~x86" IUSE="mysql postgres sqlite test" RESTRICT="!test? ( test )" -RDEPEND="mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] ) - postgres? ( =dev-python/psycopg-2*[${PYTHON_USEDEP}] )" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/fixtures[${PYTHON_USEDEP}] )" +RDEPEND=" + $(python_gen_cond_dep ' + mysql? ( dev-python/mysql-python[${PYTHON_MULTI_USEDEP}] ) + postgres? ( =dev-python/psycopg-2*[${PYTHON_MULTI_USEDEP}] ) + ')" +DEPEND=" + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_MULTI_USEDEP}] + test? ( dev-python/fixtures[${PYTHON_MULTI_USEDEP}] ) + ')" DOCS="tests/tutorial.txt"