Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 167471 Details for
Bug 239006
=dev-java/ant-antlr-1.7.1 and others: EAPI change without version change
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
only use live ebuild's *DEPEND if the EAPI is supported
eapi_supported.patch (text/plain), 865 bytes, created by
Zac Medico
on 2008-10-06 17:37:15 UTC
(
hide
)
Description:
only use live ebuild's *DEPEND if the EAPI is supported
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2008-10-06 17:37:15 UTC
Size:
865 bytes
patch
obsolete
>Index: bin/emerge >=================================================================== >--- bin/emerge (revision 11639) >+++ bin/emerge (revision 11640) >@@ -1083,7 +1083,7 @@ > self._aux_get = self.dbapi.aux_get > self.dbapi.aux_get = self._aux_get_wrapper > self._aux_get_history = set() >- self._portdb_keys = ["DEPEND", "RDEPEND", "PDEPEND"] >+ self._portdb_keys = ["EAPI", "DEPEND", "RDEPEND", "PDEPEND"] > self._portdb = portdb > self._global_updates = None > >@@ -1095,6 +1095,8 @@ > # Use the live ebuild metadata if possible. > live_metadata = dict(izip(self._portdb_keys, > self._portdb.aux_get(pkg, self._portdb_keys))) >+ if not portage.eapi_is_supported(live_metadata["EAPI"]): >+ raise KeyError(pkg) > self.dbapi.aux_update(pkg, live_metadata) > except (KeyError, portage_exception.PortageException): > if self._global_updates is None:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 239006
: 167471