diff options
author | Michał Górny <mgorny@gentoo.org> | 2012-11-26 10:05:11 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2012-11-26 10:05:11 +0000 |
commit | 744107e5ce388cca1b22fe239b91a220f2b8e5bb (patch) | |
tree | b9f9596408ee830cbf6f5d74d9f9eca088265fa9 /eclass/python-single-r1.eclass | |
parent | Add pypi upstream metadata. (diff) | |
download | gentoo-2-744107e5ce388cca1b22fe239b91a220f2b8e5bb.tar.gz gentoo-2-744107e5ce388cca1b22fe239b91a220f2b8e5bb.tar.bz2 gentoo-2-744107e5ce388cca1b22fe239b91a220f2b8e5bb.zip |
Run EXPORT_FUNCTIONS even if re-inheriting, to preserve the expected phase overrides.
Diffstat (limited to 'eclass/python-single-r1.eclass')
-rw-r--r-- | eclass/python-single-r1.eclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass index 125dc16ae39f..1fdf803b91c1 100644 --- a/eclass/python-single-r1.eclass +++ b/eclass/python-single-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-single-r1.eclass,v 1.3 2012/11/26 08:31:26 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/python-single-r1.eclass,v 1.4 2012/11/26 10:05:11 mgorny Exp $ # @ECLASS: python-single-r1 # @MAINTAINER: @@ -46,8 +46,12 @@ if [[ ! ${_PYTHON_SINGLE_R1} ]]; then inherit python-r1 +fi + EXPORT_FUNCTIONS pkg_setup +if [[ ! ${_PYTHON_SINGLE_R1} ]]; then + _python_single_set_globals() { local flags=( "${PYTHON_COMPAT[@]/#/python_single_target_}" ) local optflags=${flags[@]/%/(+)?} |