Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH] python-single-r1.eclass: don't crash Portage with invalid USEDEP syntax
Date: Wed, 12 Feb 2020 18:25:30
Message-Id: 20200212182522.2327371-1-floppym@gentoo.org
1 This should still serve the purpose of alerting overlay maintainers
2 without making emerge completely unusable in the interim.
3
4 Signed-off-by: Mike Gilbert <floppym@g.o>
5 ---
6 eclass/python-single-r1.eclass | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9 diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass
10 index 739a394ddd18..971adba42c5f 100644
11 --- a/eclass/python-single-r1.eclass
12 +++ b/eclass/python-single-r1.eclass
13 @@ -249,7 +249,7 @@ _python_single_set_globals() {
14 else
15 PYTHON_DEPS=${deps}
16 PYTHON_REQUIRED_USE=${requse}
17 - PYTHON_USEDEP='%PYTHON_USEDEP-HAS-BEEN-REMOVED%'
18 + PYTHON_USEDEP='PYTHON_USEDEP-HAS-BEEN-REMOVED'
19 PYTHON_SINGLE_USEDEP=${single_usedep}
20 readonly PYTHON_DEPS PYTHON_REQUIRED_USE PYTHON_SINGLE_USEDEP \
21 PYTHON_USEDEP
22 --
23 2.25.0

Replies