Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:python-cleanup-r2 commit in: eclass/
Date: Sun, 06 Dec 2015 17:29:52
Message-Id: 1449422866.d91824b43c1e1a63a01fec13e0c0c87c856d29ed.mgorny@gentoo
1 commit: d91824b43c1e1a63a01fec13e0c0c87c856d29ed
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 6 15:50:05 2015 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 6 17:27:46 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d91824b4
7
8 python-any-r1.eclass: Mark eclass-generated variables read-only
9
10 eclass/python-any-r1.eclass | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass
14 index 7d86b9a..82ead76 100644
15 --- a/eclass/python-any-r1.eclass
16 +++ b/eclass/python-any-r1.eclass
17 @@ -133,7 +133,7 @@ _python_any_set_globals() {
18
19 PYTHON_DEPS="${PYTHON_PKG_DEP} ${PYTHON_DEPS}"
20 done
21 - PYTHON_DEPS="|| ( ${PYTHON_DEPS})"
22 + declare -g -r PYTHON_DEPS="|| ( ${PYTHON_DEPS})"
23 }
24 _python_any_set_globals
25 unset -f _python_any_set_globals