net-misc/charm: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Sat, 8 Feb 2020 06:50:57 +0000 (07:50 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:46:40 +0000 (17:46 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
net-misc/charm/charm-1.9.2-r2.ebuild [moved from net-misc/charm/charm-1.9.2-r1.ebuild with 85% similarity]

similarity index 85%
rename from net-misc/charm/charm-1.9.2-r1.ebuild
rename to net-misc/charm/charm-1.9.2-r2.ebuild
index 3b5fe2799c913f37841a932ef4b6f0e5783cb71c..52c66fb0448f808f978b466176b5f3cd839e73be 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -17,7 +17,10 @@ SLOT="0"
 KEYWORDS="amd64 sparc x86"
 IUSE=""
 
-DEPEND="dev-python/feedparser[$PYTHON_USEDEP]"
+DEPEND="
+       $(python_gen_cond_dep '
+               dev-python/feedparser[${PYTHON_MULTI_USEDEP}]
+       ')"
 
 DOCS=( CHANGES.charm sample.charmrc README.charm )
 HTML_DOCS=( charm.html )