From 1b56e047743a95a2c6df8adb0f29999316e472ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 8 Feb 2020 07:31:07 +0100 Subject: [PATCH] dev-python/storm: Switch to PYTHON_MULTI_USEDEP API MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- ...storm-0.20-r1.ebuild => storm-0.20-r2.ebuild} | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) rename dev-python/storm/{storm-0.20-r1.ebuild => storm-0.20-r2.ebuild} (83%) 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" -- 2.26.2