| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This uses a python-based chpathtool implementation which is intended to
be compatible with the C-based implemenation that the prefix branch
uses.
|
| |
|
|
|
|
|
| |
portage.dbapi.porttree.portdbapi objects. Migrate consumers to repositories
attribute of portage.dbapi.porttree.portdbapi objects.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This adjusts the logic from commit
ff52f9dc31004becb8022e6437088d01917f413c to use FEATURES=force-prefix
instead of USE=prefix. This has the advantage that we don't have to
make any assumptions about the USE=prefix.
|
| |
|
|
|
|
|
|
| |
The prefix branch already does this since it makes it easy to use
chpathtool to adjust the content of a binary package so that it will
work in a different EPREFIX from the one is was built for.
|
|
|
|
|
|
|
|
| |
This is safe because the prefix flag should be masked in all non-prefix
profiles, and older EAPIs would otherwise be useless with prefix
configurations. This brings compatibility with the prefix branch of
portage, which also supports EPREFIX for all EAPIs (for obvious
reasons).
|
| |
|
|
|
|
| |
This suppresses output if there are no relevant items.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The EPREFIX variable is not readonly in EAPI 0, 1, and 2, so we can
declare EPREFIX as a local variable. We must be careful not to let this
variable leak into the environment of ebuild/eclass functions that we
call, since bash propagates local variables to nested function calls.
|
|
|
|
|
|
|
| |
The ED variable is not readonly in EAPI 0, 1, and 2, so we can declare
ED as a local variable. We must be careful not to let this variable
leak into the environment of ebuild/eclass functions that we call,
since bash propagates local variables to nested function calls.
|
| |
|
|
|
|
|
| |
This relocates the PATH generation code from ebuild.sh to
doebuild_environment, which helps to eliminate duplicate code.
|
| |
|
|
|
|
| |
Hopefully this helps us avoid errors in loop logic like bug #389047.
|
| |
|
|
|
|
|
| |
In the context of ebuilds, ROOT=/ override is the only common case, so
it makes sense to only support ROOT overrides.
|
|
|
|
|
|
| |
This has been broken since commit
ab484dc9a2612aa6709fad3ff926c8589a706637. In order to support prefix,
callers will have to override EROOT instead.
|
| |
|
|
|
|
|
|
|
| |
It should be safe to assume that REQUIRED_USE is satisfied if the
package is built, so it's a waste to save it. Also, fix code which
assumes that built Package instances have a REQUIRED_USE key in their
metadata.
|
| |
|
|
|
|
|
|
|
| |
dyn_pretend
helpers_die
nonfatal
register_success_hook
|
|
|
|
|
|
| |
This fixes a case where empty PORTAGE_COMPRESS made ecompressdir forget
to call restore_skip_dirs, such that docompress -x resulted in files
not being installed due to hide_skip_dirs hiding them permanently.
|
| |
|
| |
|
|
|
|
| |
This allows our prefix tests to use helpers like insinto, doins, and dosym.
|
| |
|
| |
|
|
|
|
|
| |
We can use the raise_stat_collision attribute to determine when it is
necessary to check for redundant writes.
|
| |
|
|
|
|
|
| |
The pms cache already does this automatically, since __setitem__ calls
are used to detect stat collisions in order to solve bug #139134.
|
|
|
|
|
|
|
| |
The GenCache class assumes that portdb.porttrees[0] is the desired
tree, so assert that it is true. The behavior should have already been
correct, since PORTDIR_OVERLAY was already set to an empty string when
necessary.
|
|
|
|
|
| |
This has been broken since the _eclasses_ structure changed in commit
2ed1cb53cc4158af08c22d466b15b9a9a7767212.
|
| |
|
|
|
|
|
| |
If layout.conf contains "cache-formats = md5-dict pms", egencache will
now write both formats.
|
|
|
|
|
|
| |
Since commit a715b65f7bd36409c1283e6911265d1f4405ab7a, portageq takes
EROOT as the first argument of commands that require a root argument.
So, update the docs to refer to <eroot> instead of <root>.
|
| |
|
|
|
|
|
| |
This is preferred since the bytes type is available in all supported
python versions, while the unicode type is only available in python2.
|