summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-07 21:24:19 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:37:09 +0100
commit45c0e50e660772e8c8aa3350da94e35477c93e0a (patch)
tree351773cfeb39b713873f7092664fc1812edbd38a /sys-power/nut
parentsys-fs/btrfs-progs: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-45c0e50e660772e8c8aa3350da94e35477c93e0a.tar.gz
gentoo-45c0e50e660772e8c8aa3350da94e35477c93e0a.tar.bz2
gentoo-45c0e50e660772e8c8aa3350da94e35477c93e0a.zip
sys-power/nut: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-power/nut')
-rw-r--r--sys-power/nut/nut-2.7.4-r4.ebuild (renamed from sys-power/nut/nut-2.7.4-r3.ebuild)5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-power/nut/nut-2.7.4-r3.ebuild b/sys-power/nut/nut-2.7.4-r4.ebuild
index 0e0b748bd5e8..38d45641885d 100644
--- a/sys-power/nut/nut-2.7.4-r3.ebuild
+++ b/sys-power/nut/nut-2.7.4-r4.ebuild
@@ -24,7 +24,10 @@ DEPEND="
virtual/udev
cgi? ( >=media-libs/gd-2[png] )
gui? ( ${PYTHON_DEPS}
- dev-python/pygtk[${PYTHON_USEDEP}] )
+ $(python_gen_cond_dep '
+ dev-python/pygtk[${PYTHON_MULTI_USEDEP}]
+ ')
+ )
ipmi? ( sys-libs/freeipmi )
snmp? ( net-analyzer/net-snmp )
ssl? ( >=dev-libs/openssl-1:= )