From: Zac Medico Date: Thu, 26 Aug 2010 05:47:15 +0000 (-0700) Subject: Use EAPI.incompatible repoman category for REQUIRED_USE setting in X-Git-Tag: v2.2_rc70~70 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a193641d7da64726d1dfd70a3a241de8c88a1152;p=portage.git Use EAPI.incompatible repoman category for REQUIRED_USE setting in EAPI that does not support it. --- diff --git a/pym/_emerge/Package.py b/pym/_emerge/Package.py index 3be8009a6..d4da2aa54 100644 --- a/pym/_emerge/Package.py +++ b/pym/_emerge/Package.py @@ -114,7 +114,7 @@ class Package(Task): v = self.metadata.get(k) if v: if not eapi_has_required_use(eapi): - self._invalid_metadata(k + '.invalid', + self._invalid_metadata('EAPI.incompatible', "REQUIRED_USE set, but EAPI='%s' doesn't allow it" % eapi) else: try: