Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 2/6] Move EXPORT_FUNCTIONS after the EAPI switch.
Date: Wed, 19 Sep 2012 10:04:51
Message-Id: 1348048827-1290-2-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/6] Drop pointless default S assignment. 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 a2d5fa5..f4c957c 100644
7 --- a/gx86/eclass/python-distutils-ng.eclass
8 +++ b/gx86/eclass/python-distutils-ng.eclass
9 @@ -59,8 +59,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 @@ -71,6 +69,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