From: Zac Medico Date: Thu, 26 Aug 2010 03:56:45 +0000 (-0700) Subject: Make Package._validate_deps() check USE conditionals in SRC_URI. X-Git-Tag: v2.2_rc70~75 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d39f85305d60b36140a2664b732cece701aa3c71;p=portage.git Make Package._validate_deps() check USE conditionals in SRC_URI. --- diff --git a/pym/_emerge/Package.py b/pym/_emerge/Package.py index 557dda5c5..7abcfe5fd 100644 --- a/pym/_emerge/Package.py +++ b/pym/_emerge/Package.py @@ -119,7 +119,8 @@ class Package(Task): if v: try: use_reduce(v, matchall=True, flat=True, is_src_uri=True, - allow_src_uri_file_renames=eapi_has_src_uri_arrows(eapi)) + allow_src_uri_file_renames=eapi_has_src_uri_arrows(eapi), + is_valid_flag=self.iuse.is_valid_flag) except portage.exception.InvalidDependString as e: self._invalid_metadata(k + ".syntax", "%s: %s" % (k, e))