Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r13570 - main/trunk/bin
Date: Thu, 30 Apr 2009 21:14:29
Message-Id: E1LzdaO-00063W-0G@stork.gentoo.org
1 Author: zmedico
2 Date: 2009-04-30 21:14:27 +0000 (Thu, 30 Apr 2009)
3 New Revision: 13570
4
5 Modified:
6 main/trunk/bin/ebuild.sh
7 Log:
8 Enable use() qa checks via PORTAGE_IUSE for all ebuild phases and for binary
9 packages since it should work fine now.
10
11
12 Modified: main/trunk/bin/ebuild.sh
13 ===================================================================
14 --- main/trunk/bin/ebuild.sh 2009-04-30 21:02:40 UTC (rev 13569)
15 +++ main/trunk/bin/ebuild.sh 2009-04-30 21:14:27 UTC (rev 13570)
16 @@ -142,12 +142,7 @@
17 fi
18
19 # Make sure we have this USE flag in IUSE
20 - if [[ -n ${PORTAGE_IUSE} ]] && \
21 - [[ -n ${EBUILD_PHASE} ]] && \
22 - ! hasq ${EBUILD_PHASE} config depend info prerm postrm postinst && \
23 - [[ ${EMERGE_FROM} != binary ]] ; then
24 - # TODO: Implement PORTAGE_IUSE for binary packages. Currently,
25 - # it is only valid for build time phases.
26 + if [[ -n $PORTAGE_IUSE && -n $EBUILD_PHASE ]] ; then
27 [[ $u =~ $PORTAGE_IUSE ]] || \
28 eqawarn "QA Notice: USE Flag '${u}' not" \
29 "in IUSE for ${CATEGORY}/${PF}"