diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-08-25 20:56:45 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-25 20:56:45 -0700 |
commit | d39f85305d60b36140a2664b732cece701aa3c71 (patch) | |
tree | ea6c590c5b14ee1ba733185fc756ab655c3dc0ce | |
parent | d54fbed5b538cca5986e783c271cfd9cf679198d (diff) | |
download | portage-d39f85305d60b36140a2664b732cece701aa3c71.tar.gz portage-d39f85305d60b36140a2664b732cece701aa3c71.tar.bz2 portage-d39f85305d60b36140a2664b732cece701aa3c71.zip |
Make Package._validate_deps() check USE conditionals in SRC_URI.
-rw-r--r-- | pym/_emerge/Package.py | 3 |
1 files changed, 2 insertions, 1 deletions
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)) |