Merged from trunk 7908:7913
| 7909 | Bump EAPI from 0 to 1 and fix eapi_is_supported() so that it |
| zmedico | works properly with both 0 and 1. |
| 7910 | When the metadata cache contains a negative EAPI, it means |
| zmedico | that the cache entry was generated by a version of portage |
| | that did not support the eapi. When the user upgrades to a |
| | version that now supports the previously unsupported EAPI, |
| | those cache entries need to be regenerated. Therefore, when |
| | a cache entry has a negative EAPI, check if the EAPI would |
| | be supported and trigger a regen if appropriate. |
| 7911 | Non-integer EAPI isn't supported. In case it's supported in |
| zmedico | the future, assume that it's valid (rather than trigger a |
| | regen). |
| 7912 | Fix UnsupportedAPIException.__str__() to strip the leading |
| zmedico | negative sign (-) from the EAPI, to prevent confusion. |
| 7913 | Add EAPI masking support for binary packages. |
| zmedico | |
svn path=/main/branches/prefix/; revision=7954