commit:     a1fef608e4b4604b3c701016c2a9b483ffb7440c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 13:15:21 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:21:44 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1fef608

dev-util/redo: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-util/redo/{redo-0.42.ebuild => redo-0.42-r1.ebuild} | 8 +++++---
 dev-util/redo/redo-99999.ebuild                         | 8 +++++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/dev-util/redo/redo-0.42.ebuild b/dev-util/redo/redo-0.42-r1.ebuild
similarity index 84%
rename from dev-util/redo/redo-0.42.ebuild
rename to dev-util/redo/redo-0.42-r1.ebuild
index 17098dc0466..ea14d07a6f6 100644
--- a/dev-util/redo/redo-0.42.ebuild
+++ b/dev-util/redo/redo-0.42-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2018-2019 Gentoo Authors
+# Copyright 2018-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,8 +16,10 @@ KEYWORDS="~amd64 ~hppa ~x86"
 REQUIRED_USE=${PYTHON_REQUIRED_USE}
 
 BDEPEND="
-       dev-python/beautifulsoup[${PYTHON_USEDEP}]
-       dev-python/markdown[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/beautifulsoup[${PYTHON_MULTI_USEDEP}]
+               dev-python/markdown[${PYTHON_MULTI_USEDEP}]
+       ')
        ${PYTHON_DEPS}
 "
 RDEPEND="

diff --git a/dev-util/redo/redo-99999.ebuild b/dev-util/redo/redo-99999.ebuild
index 57197b9f75d..6e92129f9b4 100644
--- a/dev-util/redo/redo-99999.ebuild
+++ b/dev-util/redo/redo-99999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2018-2019 Gentoo Authors
+# Copyright 2018-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,8 +16,10 @@ KEYWORDS=""
 REQUIRED_USE=${PYTHON_REQUIRED_USE}
 
 BDEPEND="
-       dev-python/beautifulsoup[${PYTHON_USEDEP}]
-       dev-python/markdown[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/beautifulsoup[${PYTHON_MULTI_USEDEP}]
+               dev-python/markdown[${PYTHON_MULTI_USEDEP}]
+       ')
        ${PYTHON_DEPS}
 "
 RDEPEND="

Reply via email to