Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r13572 - main/branches/2.1.6/bin
Date: Thu, 30 Apr 2009 21:15:39
Message-Id: E1LzdbV-0006Bn-Oy@stork.gentoo.org
1 Author: zmedico
2 Date: 2009-04-30 21:15:37 +0000 (Thu, 30 Apr 2009)
3 New Revision: 13572
4
5 Modified:
6 main/branches/2.1.6/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. (trunk r13570)
10
11 Modified: main/branches/2.1.6/bin/ebuild.sh
12 ===================================================================
13 --- main/branches/2.1.6/bin/ebuild.sh 2009-04-30 21:15:25 UTC (rev 13571)
14 +++ main/branches/2.1.6/bin/ebuild.sh 2009-04-30 21:15:37 UTC (rev 13572)
15 @@ -142,12 +142,7 @@
16 fi
17
18 # Make sure we have this USE flag in IUSE
19 - if [[ -n ${PORTAGE_IUSE} ]] && \
20 - [[ -n ${EBUILD_PHASE} ]] && \
21 - ! hasq ${EBUILD_PHASE} config depend info prerm postrm postinst && \
22 - [[ ${EMERGE_FROM} != binary ]] ; then
23 - # TODO: Implement PORTAGE_IUSE for binary packages. Currently,
24 - # it is only valid for build time phases.
25 + if [[ -n $PORTAGE_IUSE && -n $EBUILD_PHASE ]] ; then
26 [[ $u =~ $PORTAGE_IUSE ]] || \
27 eqawarn "QA Notice: USE Flag '${u}' not" \
28 "in IUSE for ${CATEGORY}/${PF}"