From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A5AAF1384B4 for ; Sun, 6 Dec 2015 19:07:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E966521C1A8; Sun, 6 Dec 2015 19:03:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8DCD821C19F for ; Sun, 6 Dec 2015 19:03:49 +0000 (UTC) Received: from localhost.localdomain (d202-251.icpnet.pl [109.173.202.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 0CDB8340821; Sun, 6 Dec 2015 19:03:47 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH 08/13] python-single-r1.eclass: Mark eclass-generated variables read-only Date: Sun, 6 Dec 2015 20:03:27 +0100 Message-Id: <1449428612-20538-9-git-send-email-mgorny@gentoo.org> X-Mailer: git-send-email 2.6.3 In-Reply-To: <1449428612-20538-1-git-send-email-mgorny@gentoo.org> References: <1449428612-20538-1-git-send-email-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Archives-Salt: 7f128802-987d-46f8-adcb-ef30216c2a7a X-Archives-Hash: abfced7e88ba7b895cc2d6f68ed7da0f --- eclass/python-single-r1.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass index 8021501..1582295 100644 --- a/eclass/python-single-r1.eclass +++ b/eclass/python-single-r1.eclass @@ -238,7 +238,7 @@ _python_single_set_globals() { PYTHON_DEPS+="python_single_target_${i}? ( ${PYTHON_PKG_DEP} ) " done fi - PYTHON_USEDEP=${optflags// /,} + declare -g -r PYTHON_USEDEP=${optflags// /,} # 1) well, python-exec would suffice as an RDEP # but no point in making this overcomplex, BDEP doesn't hurt anyone @@ -253,6 +253,7 @@ _python_single_set_globals() { else PYTHON_DEPS+="dev-lang/python-exec:2[${PYTHON_USEDEP}]" fi + readonly PYTHON_DEPS PYTHON_REQUIRED_USE } _python_single_set_globals unset -f _python_single_set_globals -- 2.6.3