diff options
author | Mike Gilbert <floppym@gentoo.org> | 2013-03-30 12:56:24 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2013-03-30 12:56:24 +0000 |
commit | 8934cb93c25265a848976e2eb2dfc3dcb4513685 (patch) | |
tree | 903d1169da6842a7ae31881e15274246598bd3f3 /eclass | |
parent | Stable for x86, wrt bug #463614 (diff) | |
download | historical-8934cb93c25265a848976e2eb2dfc3dcb4513685.tar.gz historical-8934cb93c25265a848976e2eb2dfc3dcb4513685.tar.bz2 historical-8934cb93c25265a848976e2eb2dfc3dcb4513685.zip |
Add note about quoting patterns for python_gen_usedep.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 5 | ||||
-rw-r--r-- | eclass/python-r1.eclass | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 8baefdcdf0b4..cd9c0fb0b1af 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.758 2013/03/29 12:27:04 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.759 2013/03/30 12:56:24 floppym Exp $ + + 30 Mar 2013; Mike Gilbert <floppym@gentoo.org> python-r1.eclass: + Add note about quoting patterns for python_gen_usedep. 29 Mar 2013; Pacho Ramos <pacho@gentoo.org> vala.eclass: Update VALA_MAX_API_VERSION diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index 4ba80a9de718..0b96775373fb 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-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-r1.eclass,v 1.51 2013/03/20 19:01:54 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/python-r1.eclass,v 1.52 2013/03/30 12:56:24 floppym Exp $ # @ECLASS: python-r1 # @MAINTAINER: @@ -230,6 +230,9 @@ _python_validate_useflags() { # are both in PYTHON_COMPAT and match any of the patterns passed # as parameters to the function. # +# Remember to escape or quote the patterns to premature evaluation as a file +# name glob. +# # When all implementations are requested, please use ${PYTHON_USEDEP} # instead. Please also remember to set an appropriate REQUIRED_USE # to avoid ineffective USE flags. @@ -237,7 +240,7 @@ _python_validate_useflags() { # Example: # @CODE # PYTHON_COMPAT=( python{2_7,3_2} ) -# DEPEND="doc? ( dev-python/epydoc[$(python_gen_usedep python2*)] )" +# DEPEND="doc? ( dev-python/epydoc[$(python_gen_usedep 'python2*')] )" # @CODE # # It will cause the dependency to look like: |