Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * Replace config._iuse_implicit_re with a callable _iuse_implicit_match | Zac Medico | 2010-08-18 | 6 | -31/+29 |
| | | | | | | | object that simply returns boolean, and update consumers. * Make check_required_use() take a callable for the iuse parameter, and pass in Package.use.is_valid_flag or iuse.__contains__ as appropriate. | ||||
* | use_reduce: code cleanup | Sebastian Luther | 2010-08-18 | 2 | -34/+33 |
| | |||||
* | Bug #312085 - Make config.setcpv() treat USE_EXPAND_HIDDEN flags as if | Zac Medico | 2010-08-18 | 1 | -8/+29 |
| | | | | | | they are in IUSE. This helps for the embedded profile which does not have typical use.force/use.mask settings. The flags are matched with a regular expression and match results are memoized in order to optimize performance. | ||||
* | Bug #308933 - Export os.path.realpath(PORTAGE_TMPDIR), to make sandbox | Zac Medico | 2010-08-18 | 1 | -1/+1 |
| | | | | happy. | ||||
* | Remove unused iuse_implicit attribute. | Zac Medico | 2010-08-18 | 1 | -1/+0 |
| | |||||
* | Add opconvert test for "|| ( ( A B ) C )". | Zac Medico | 2010-08-18 | 1 | -0/+4 |
| | |||||
* | Fix use_reduce() to correctly handle "|| ( ( A B ) C )", and also | Zac Medico | 2010-08-18 | 2 | -7/+33 |
| | | | | fix some test cases that had erroneous expected_result values. | ||||
* | Add commented test case for a known regression. | Zac Medico | 2010-08-18 | 1 | -0/+3 |
| | |||||
* | Temporarily disable portage.dep deprecation warnings for external api | Zac Medico | 2010-08-17 | 2 | -11/+22 |
| | | | | | consumers. Once the relevant api changes are in a portage release with stable keywords, make these warnings unconditional. | ||||
* | Use binarytree._ensure_dir() to create the binpkg parent dir. | Zac Medico | 2010-08-17 | 1 | -6/+11 |
| | |||||
* | Use binarytree._ensure_dir() to create the binpkg parent dir. | Zac Medico | 2010-08-17 | 1 | -7/+1 |
| | |||||
* | Fix breakage in REPLACING_VERSIONS support for emerge. | Zac Medico | 2010-08-17 | 2 | -1/+15 |
| | |||||
* | Add pretend to actionmap_deps. | Zac Medico | 2010-08-17 | 1 | -1/+2 |
| | |||||
* | Fix the REPLACING_VERSIONS code to work in cases when the pretend/setup | Zac Medico | 2010-08-17 | 1 | -16/+21 |
| | | | | phases are pulled in as dependencies of other phases. | ||||
* | Discard REPLACING_VERSIONS and REPLACED_BY_VERSION when they are no | Zac Medico | 2010-08-17 | 2 | -0/+4 |
| | | | | longer needed. | ||||
* | Use EbuildPhase instead of EbuildProcess, for things like die_hooks | Zac Medico | 2010-08-17 | 1 | -2/+2 |
| | | | | support. | ||||
* | Make EbuildBinpkg inherit from CompositeTask since the EbuildPhase | Zac Medico | 2010-08-17 | 1 | -12/+23 |
| | | | | class is capable of executing the 'package' phase. | ||||
* | Remove no longer needed code. | Arfrever Frehtes Taifersar Arahesis | 2010-08-17 | 1 | -8/+0 |
| | |||||
* | Tweak the EbuildSpawnProcess test and add comments. | Zac Medico | 2010-08-17 | 1 | -3/+9 |
| | |||||
* | Make EbuildBinpkg inherit from EbuildProcess since the 'package' | Zac Medico | 2010-08-17 | 1 | -18/+6 |
| | | | | phase is already a member of actionmap. | ||||
* | Pass actionmap keyword argument as keyword, rather than positional. | Zac Medico | 2010-08-17 | 1 | -1/+1 |
| | |||||
* | Write compiled bytecodes to /dev/null, rather than write and unlink | Zac Medico | 2010-08-17 | 1 | -10/+1 |
| | | | | them. | ||||
* | Fix _spawn_phase() to pass actionmap to EbuildPhase. | Zac Medico | 2010-08-17 | 1 | -1/+1 |
| | |||||
* | Unify ebuild spawing some more. All proper ebuild phases which execute | Zac Medico | 2010-08-17 | 3 | -75/+56 |
| | | | | ebuild.sh are spawned via _doebuild_spawn() now. No exceptions. | ||||
* | Fix _spawn_phase() to spawn phases without sandbox when necessary. | Zac Medico | 2010-08-17 | 2 | -8/+11 |
| | |||||
* | Make doebuild() use EbuildPhase to execute all phase (unless returnpid | Zac Medico | 2010-08-17 | 2 | -33/+41 |
| | | | | is True, which is only for the "depend" phase now). | ||||
* | Make sure doebuild() doesn't erroneously unlink a logfile when returnpid | Zac Medico | 2010-08-17 | 1 | -1/+1 |
| | | | | is True. | ||||
* | Make EbuildBuild check the manifest before beginning, since with | Zac Medico | 2010-08-16 | 1 | -0/+27 |
| | | | | | --keep-going mode it's currently possible to get this far with a broken manifest. | ||||
* | Use EbuildPhase to eliminate duplicate phase conditionals from doebuild(). | Zac Medico | 2010-08-16 | 1 | -28/+2 |
| | |||||
* | Use EbuildPhase to execute preinst/postinst and eliminate duplicate code. | Zac Medico | 2010-08-16 | 1 | -65/+9 |
| | |||||
* | Use MiscFunctionsProcess to eliminate the _spawn_misc_sh() function. | Zac Medico | 2010-08-16 | 2 | -31/+11 |
| | |||||
* | Make spawnebuild() use EbuildPhase to eliminate duplicate code. | Zac Medico | 2010-08-16 | 4 | -76/+38 |
| | |||||
* | Reuse a single TaskScheduler instance. | Zac Medico | 2010-08-16 | 1 | -2/+2 |
| | |||||
* | Add a MiscFunctionsProcess test. | Zac Medico | 2010-08-16 | 1 | -2/+10 |
| | |||||
* | Pass token_class parameter if possible to use_reduce | Sebastian Luther | 2010-08-16 | 1 | -23/+20 |
| | |||||
* | portage.dep.use_reduce: Add token_class parameter | Sebastian Luther | 2010-08-16 | 2 | -11/+37 |
| | | | | All non operator token will be converted to this class | ||||
* | Fix ebuild.sh argument for cleanrm phase. | Zac Medico | 2010-08-16 | 1 | -1/+6 |
| | |||||
* | Move the fakeroot_state attribute back to EbuildSpawnProcess from | Zac Medico | 2010-08-16 | 2 | -4/+4 |
| | | | | AbstractEbuildProcess (only EbuildSpawnProcess uses it). | ||||
* | Expand sys.executable earlier, so that change of sys.executable symlink | Arfrever Frehtes Taifersar Arahesis | 2010-08-16 | 4 | -4/+7 |
| | | | | | between starting main Portage process and starting ebuild.sh process doesn't affect ebuild.sh subprocesses. | ||||
* | Fix typos in comments. | Arfrever Frehtes Taifersar Arahesis | 2010-08-16 | 1 | -3/+3 |
| | |||||
* | Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portage | Zac Medico | 2010-08-16 | 3 | -3/+3 |
|\ | |||||
| * | Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portage | Arfrever Frehtes Taifersar Arahesis | 2010-08-16 | 1 | -0/+10 |
| |\ | |||||
| * | | Ensure that PORTAGE_PYTHON isn't a symlink. | Arfrever Frehtes Taifersar Arahesis | 2010-08-16 | 3 | -3/+3 |
| | | | |||||
* | | | Move fakeroot_state attribute from EbuildSpawnProcess to | Zac Medico | 2010-08-16 | 2 | -4/+4 |
| |/ |/| | | | | | AbstractEbuildProcess. | ||||
* | | Test the EbuildPhase class. | Zac Medico | 2010-08-16 | 1 | -0/+10 |
|/ | |||||
* | Remove unused attributes from classes. | Zac Medico | 2010-08-16 | 8 | -39/+32 |
| | |||||
* | Split out parts of doebuild() so that EbuildProcess can bypass it | Zac Medico | 2010-08-16 | 4 | -149/+185 |
| | | | | and call the spawn() function directly. | ||||
* | Revert back to using portdbapi.getFetchMap() since the Package class | Zac Medico | 2010-08-16 | 1 | -5/+6 |
| | | | | doesn't cache SRC_URI. | ||||
* | portage.dep.use_reduce: More comments and better error messages | Sebastian Luther | 2010-08-16 | 2 | -10/+43 |
| | |||||
* | Pass is_valid_flag to use_reduce if possible | Sebastian Luther | 2010-08-16 | 2 | -4/+5 |
| |