summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-10-25 16:47:30 +0000
committerMichał Górny <mgorny@gentoo.org>2012-10-25 16:47:30 +0000
commit5a7e3585343c38059514282c34ea9935fcf3b012 (patch)
treeac4333683d80181789973a9e38af8837a0cfc59b /eclass/python-r1.eclass
parentRemove old versions (diff)
downloadgentoo-2-5a7e3585343c38059514282c34ea9935fcf3b012.tar.gz
gentoo-2-5a7e3585343c38059514282c34ea9935fcf3b012.tar.bz2
gentoo-2-5a7e3585343c38059514282c34ea9935fcf3b012.zip
Add a note about array brace expansion.
Diffstat (limited to 'eclass/python-r1.eclass')
-rw-r--r--eclass/python-r1.eclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
index e14ad712f04b..d015cf2dd100 100644
--- a/eclass/python-r1.eclass
+++ b/eclass/python-r1.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/python-r1.eclass,v 1.4 2012/10/25 16:44:54 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python-r1.eclass,v 1.5 2012/10/25 16:47:30 mgorny Exp $
# @ECLASS: python-r1
# @MAINTAINER:
@@ -61,6 +61,11 @@ _PYTHON_ALL_IMPLS=(
# @CODE
# PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
# @CODE
+#
+# Please note that you can also use bash brace expansion if you like:
+# @CODE
+# PYTHON_COMPAT=( python{2_5,2_6,2_7} )
+# @CODE
if ! declare -p PYTHON_COMPAT &>/dev/null; then
PYTHON_COMPAT=( "${_PYTHON_ALL_IMPLS[@]}" )
fi