From: Zac Medico Date: Tue, 28 Aug 2012 03:19:58 +0000 (-0700) Subject: Package: skip REQUIRED_USE validation if built X-Git-Tag: v2.2.0_alpha124~37 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1db6048f29dad8da5c74da3143901edd006fc10a;p=portage.git Package: skip REQUIRED_USE validation if built --- diff --git a/pym/_emerge/Package.py b/pym/_emerge/Package.py index 2087cbfe0..0da374af4 100644 --- a/pym/_emerge/Package.py +++ b/pym/_emerge/Package.py @@ -221,7 +221,7 @@ class Package(Task): k = 'REQUIRED_USE' v = self.metadata.get(k) - if v: + if v and not self.built: if not _get_eapi_attrs(eapi).required_use: self._invalid_metadata('EAPI.incompatible', "REQUIRED_USE set, but EAPI='%s' doesn't allow it" % eapi)