dev-python/storm: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Sat, 8 Feb 2020 06:31:07 +0000 (07:31 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:46:20 +0000 (17:46 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/storm/storm-0.20-r2.ebuild [moved from dev-python/storm/storm-0.20-r1.ebuild with 83% similarity]

similarity index 83%
rename from dev-python/storm/storm-0.20-r1.ebuild
rename to dev-python/storm/storm-0.20-r2.ebuild
index a08b6d56c609dd5cb43a150b212145f3b6e346e8..5bfc5d4409063759fe212e4310b26b4be910cc3f 100644 (file)
@@ -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"