diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-01-30 10:42:25 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-01-30 10:42:25 +0000 |
commit | dd112bf8e547b524b9f474b5476a5181f44ce9a9 (patch) | |
tree | c5cfee974622513f42989c0ecd1711e866d08ff1 /eclass/python-single-r1.eclass | |
parent | old (diff) | |
download | historical-dd112bf8e547b524b9f474b5476a5181f44ce9a9.tar.gz historical-dd112bf8e547b524b9f474b5476a5181f44ce9a9.tar.bz2 historical-dd112bf8e547b524b9f474b5476a5181f44ce9a9.zip |
Use (-) USE-defaults to reduce issues from removing flags.
Diffstat (limited to 'eclass/python-single-r1.eclass')
-rw-r--r-- | eclass/python-single-r1.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass index 76dea7aa4d67..6235b66e2cff 100644 --- a/eclass/python-single-r1.eclass +++ b/eclass/python-single-r1.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/python-single-r1.eclass,v 1.14 2013/01/21 19:28:16 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/python-single-r1.eclass,v 1.15 2013/01/30 10:42:25 mgorny Exp $ # @ECLASS: python-single-r1 # @MAINTAINER: @@ -130,7 +130,7 @@ fi # # Example value: # @CODE -# python_targets_python2_7?,python_single_target_python2_7(+)? +# python_targets_python2_7(-)?,python_single_target_python2_7(+)? # @CODE _python_single_set_globals() { @@ -159,7 +159,7 @@ _python_single_set_globals() { local flags_mt=( "${impls[@]/#/python_targets_}" ) local flags=( "${impls[@]/#/python_single_target_}" ) - local optflags=${flags_mt[@]/%/?} + local optflags=${flags_mt[@]/%/(-)?} optflags+=,${flags[@]/%/(+)?} IUSE="${flags_mt[*]} ${flags[*]}" |