summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* Make EbuildBinpkg inherit from CompositeTask since the EbuildPhaseZac Medico2010-08-171-12/+23
| | | | class is capable of executing the 'package' phase.
* Remove no longer needed code.Arfrever Frehtes Taifersar Arahesis2010-08-171-8/+0
|
* Tweak the EbuildSpawnProcess test and add comments.Zac Medico2010-08-171-3/+9
|
* Make EbuildBinpkg inherit from EbuildProcess since the 'package'Zac Medico2010-08-171-18/+6
| | | | phase is already a member of actionmap.
* Pass actionmap keyword argument as keyword, rather than positional.Zac Medico2010-08-171-1/+1
|
* Write compiled bytecodes to /dev/null, rather than write and unlinkZac Medico2010-08-171-10/+1
| | | | them.
* Fix _spawn_phase() to pass actionmap to EbuildPhase.Zac Medico2010-08-171-1/+1
|
* Unify ebuild spawing some more. All proper ebuild phases which executeZac Medico2010-08-173-75/+56
| | | | ebuild.sh are spawned via _doebuild_spawn() now. No exceptions.
* Fix _spawn_phase() to spawn phases without sandbox when necessary.Zac Medico2010-08-172-8/+11
|
* Make doebuild() use EbuildPhase to execute all phase (unless returnpidZac Medico2010-08-172-33/+41
| | | | is True, which is only for the "depend" phase now).
* Make sure doebuild() doesn't erroneously unlink a logfile when returnpidZac Medico2010-08-171-1/+1
| | | | is True.
* Make EbuildBuild check the manifest before beginning, since withZac Medico2010-08-161-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 Medico2010-08-161-28/+2
|
* Use EbuildPhase to execute preinst/postinst and eliminate duplicate code.Zac Medico2010-08-161-65/+9
|
* Use MiscFunctionsProcess to eliminate the _spawn_misc_sh() function.Zac Medico2010-08-162-31/+11
|
* Make spawnebuild() use EbuildPhase to eliminate duplicate code.Zac Medico2010-08-164-76/+38
|
* Reuse a single TaskScheduler instance.Zac Medico2010-08-161-2/+2
|
* Add a MiscFunctionsProcess test.Zac Medico2010-08-161-2/+10
|
* Pass token_class parameter if possible to use_reduceSebastian Luther2010-08-161-23/+20
|
* portage.dep.use_reduce: Add token_class parameterSebastian Luther2010-08-162-11/+37
| | | | All non operator token will be converted to this class
* Fix ebuild.sh argument for cleanrm phase.Zac Medico2010-08-161-1/+6
|
* Move the fakeroot_state attribute back to EbuildSpawnProcess fromZac Medico2010-08-162-4/+4
| | | | AbstractEbuildProcess (only EbuildSpawnProcess uses it).
* Expand sys.executable earlier, so that change of sys.executable symlinkArfrever Frehtes Taifersar Arahesis2010-08-164-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 Arahesis2010-08-161-3/+3
|
* Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portageZac Medico2010-08-163-3/+3
|\
| * Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portageArfrever Frehtes Taifersar Arahesis2010-08-161-0/+10
| |\
| * | Ensure that PORTAGE_PYTHON isn't a symlink.Arfrever Frehtes Taifersar Arahesis2010-08-163-3/+3
| | |
* | | Move fakeroot_state attribute from EbuildSpawnProcess toZac Medico2010-08-162-4/+4
| |/ |/| | | | | AbstractEbuildProcess.
* | Test the EbuildPhase class.Zac Medico2010-08-161-0/+10
|/
* Remove unused attributes from classes.Zac Medico2010-08-168-39/+32
|
* Split out parts of doebuild() so that EbuildProcess can bypass itZac Medico2010-08-164-149/+185
| | | | and call the spawn() function directly.
* Revert back to using portdbapi.getFetchMap() since the Package classZac Medico2010-08-161-5/+6
| | | | doesn't cache SRC_URI.
* portage.dep.use_reduce: More comments and better error messagesSebastian Luther2010-08-162-10/+43
|
* Pass is_valid_flag to use_reduce if possibleSebastian Luther2010-08-162-4/+5
|
* portage.dep.use_reduce: Better error messagesSebastian Luther2010-08-162-21/+50
|
* portage.dep.use_reduce: Better validation of use flags in use conditionalsSebastian Luther2010-08-163-13/+49
| | | | | use_reduce now uses either a regex or, if provided, a is_valid_flag function to validate use flags
* Convert EbuildBinpkg to inherit from MiscFunctionsProcess insteadZac Medico2010-08-162-29/+33
| | | | | of EbuildProcess. This bypasses the complex doebuild() function, and uses the _spawn_actionmap() function that's been split out.
* Split the actionmap code out of doebuild() into a _spawn_actionmap()Zac Medico2010-08-161-46/+50
| | | | that EbuildPhase will be able to use.
* Handle OSError from os.path.samefile() (breakage from previous commit).Zac Medico2010-08-161-1/+5
|
* Bug #332967 - In bintree.inject(), add a sanity check to make sure weZac Medico2010-08-161-2/+3
| | | | | don't try to call movefile on a package that's already in the correct location.
* Use _parse_uri_map() so that we can use cached metadata instead ofZac Medico2010-08-161-6/+5
| | | | invoking portdbapi.getFetchMap().
* Split a _parse_uri_map() function out of portdbapi.getFetchMap(), forZac Medico2010-08-161-27/+35
| | | | | cases in which we already have the metadata and thus don't need to invoke portdbapi.aux_get().
* Enable EbuildIpcDaemon support by default.Zac Medico2010-08-152-14/+10
|
* Add support for /etc/portage/package.accept_keywords. If bothZac Medico2010-08-151-1/+7
| | | | | | | | | | | package.accept_keywords and package.keywords are present, both of them will be used, and values from package.accept_keywords will override values from package.keywords. The package.accept_keywords file is intended to replace the package.keywords file, since profiles support a different form of package.keywords which modifies effective KEYWORDS (rather than ACCEPT_KEYWORDS). Note that bug #292083 requests support for package.accept_keywords in profiles.
* Implement ExtendedAtomDict.iteritems(), so that it doesn't invokeZac Medico2010-08-151-0/+7
| | | | the special __getitem__ behavior.
* Fix make.conf code to handle None return value from getconfig().Zac Medico2010-08-151-4/+6
|
* Add support for /etc/portage/make.profile as an alternative toZac Medico2010-08-151-1/+6
| | | | | | /etc/make.profile. If both /etc/make.profile/ and /etc/portage/make.profile/ exist, then /etc/make.profile/ will be preferred.
* Add support for /etc/portage/make.conf. If present, this file willZac Medico2010-08-151-5/+10
| | | | override settings from /etc/make.conf.
* Remove PollScheduler._schedule_waitpid() since this case isn't triggeredZac Medico2010-08-154-33/+3
| | | | | | anymore, now that PollScheduler._unregister() has be fixed to discard unhandled events (so that reallocation of file descriptors no longer triggers erroneous delivery of stale events).
* Don't handle KeyError when looking up event handlers, sinceZac Medico2010-08-151-31/+12
| | | | _unregister() automatically discards stale events now.