diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-02-08 07:57:57 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-02-09 17:46:48 +0100 |
commit | 0ea7a5c45836d683b379300a81260b32fee76a98 (patch) | |
tree | 688bf1d49a84a765eee7eb1671b69ffc3a76e2f4 /sci-electronics | |
parent | sci-chemistry/nmrdepaker: Switch to PYTHON_MULTI_USEDEP API (diff) | |
download | gentoo-0ea7a5c45836d683b379300a81260b32fee76a98.tar.gz gentoo-0ea7a5c45836d683b379300a81260b32fee76a98.tar.bz2 gentoo-0ea7a5c45836d683b379300a81260b32fee76a98.zip |
sci-electronics/gresistor: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/gresistor/gresistor-0.0.2-r1.ebuild (renamed from sci-electronics/gresistor/gresistor-0.0.2.ebuild) | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sci-electronics/gresistor/gresistor-0.0.2.ebuild b/sci-electronics/gresistor/gresistor-0.0.2-r1.ebuild index fa0b5112d491..1a626f02b108 100644 --- a/sci-electronics/gresistor/gresistor-0.0.2.ebuild +++ b/sci-electronics/gresistor/gresistor-0.0.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -18,9 +18,11 @@ KEYWORDS="amd64 x86" IUSE="" DEPEND=" - dev-python/pygtk:2[${PYTHON_USEDEP}] - x11-libs/gtk+:2 - gnome-base/libglade:2.0[${PYTHON_USEDEP}]" + $(python_gen_cond_dep ' + dev-python/pygtk:2[${PYTHON_MULTI_USEDEP}] + ') + gnome-base/libglade:2.0[${PYTHON_SINGLE_USEDEP}] + x11-libs/gtk+:2" RDEPEND="${DEPEND}" src_prepare() { |