Gentoo Archives: gentoo-python

From: "Michał Górny" <mgorny@g.o>
To: gentoo-python@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-python] [PATCH python-distutils-ng 3/4] Move EXPORT_FUNCTIONS after the EAPI switch.
Date: Sat, 08 Sep 2012 21:59:59
Message-Id: 1347141637-1148-4-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-python] python-distutils-ng -- the future? by "Michał Górny"
1 ---
2 gx86/eclass/python-distutils-ng.eclass | 4 ++--
3 1 file changed, 2 insertions(+), 2 deletions(-)
4
5 diff --git a/gx86/eclass/python-distutils-ng.eclass b/gx86/eclass/python-distutils-ng.eclass
6 index 89d8007..4093600 100644
7 --- a/gx86/eclass/python-distutils-ng.eclass
8 +++ b/gx86/eclass/python-distutils-ng.eclass
9 @@ -67,8 +67,6 @@ fi
10 # Set to any value to disable automatic reinstallation of scripts in bin
11 # directories. See python-distutils-ng_src_install function.
12
13 -EXPORT_FUNCTIONS src_prepare src_configure src_compile src_test src_install
14 -
15 case "${EAPI}" in
16 0|1|2|3)
17 die "Unsupported EAPI=${EAPI} (too old) for python-distutils-ng.eclass" ;;
18 @@ -79,6 +77,8 @@ case "${EAPI}" in
19 die "Unsupported EAPI=${EAPI} (unknown) for python-distutils-ng.eclass" ;;
20 esac
21
22 +EXPORT_FUNCTIONS src_prepare src_configure src_compile src_test src_install
23 +
24 DEPEND="${DEPEND} !<sys-apps/portage-2.1.10.58"
25
26 # @FUNCTION: _python-distutils-ng_get_binary_for_implementation
27 --
28 1.7.12