summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a "consumer" keyword parameter to the MetadataRegen constructor whichZac Medico2009-03-311-8/+26
| | | | | | | can be used to pass in a callback that is called for each ebuild that is processed (allowing access to the ebuild metadata). svn path=/main/trunk/; revision=13256
* Add support in MetadataRegen for cleansing stale cache when only a subsetZac Medico2009-03-301-10/+26
| | | | | | of packages are processed. svn path=/main/trunk/; revision=13255
* Add a cp_iter keyword argument to the MetadataRegen constructor, which can beZac Medico2009-03-301-15/+32
| | | | | | | used to do a regen for a subset of packages. TODO: Add support to cleanse cache for the specific cp values that are processed. svn path=/main/trunk/; revision=13254
* Fix --newuse code to compare installed package USE to the USE that a binaryZac Medico2009-03-301-1/+1
| | | | | | package was built with (instead of config["PORTAGE_USE"]). svn path=/main/trunk/; revision=13253
* Bug #264291 - Fix inappropriate build dir creation for emerge --fetchonly.Zac Medico2009-03-301-2/+0
| | | | svn path=/main/trunk/; revision=13252
* Fix bug in old-style virtuals code from previous commit.Zac Medico2009-03-291-1/+1
| | | | svn path=/main/trunk/; revision=13249
* Inside depgraph.validate_blockers(), prevent false positives in PROVIDEZac Medico2009-03-291-5/+14
| | | | | | | | virtual blocker matches that can occur for packages for packages that don't actual have the appropriate value in PROVIDE (triggered by profile 'virtuals' settings). Thanks to Ned Ludd <solar@g.o> for reporting. svn path=/main/trunk/; revision=13248
* Add a --root option that sets $ROOT (complements the --config-root option).Zac Medico2009-03-291-1/+7
| | | | svn path=/main/trunk/; revision=13246
* Add support for --rdeps-only and --root-deps options which are useful inZac Medico2009-03-291-1/+10
| | | | | | | combination with $ROOT. Thanks to Ned Ludd <solar@g.o> for the initial patch. svn path=/main/trunk/; revision=13245
* Bug #243220 - Show messages in emerge.log when old versions are uninstalledZac Medico2009-03-281-1/+5
| | | | | | | | for AUTOCLEAN. This reverts behavior so that messages which used to be generated prior to portage-2.1.5.x (when AUTOCLEAN was moved from emerge to dblink.treewalk()) are generated once again. svn path=/main/trunk/; revision=13241
* Don't show the package counter for "Uninstalling" messages.Zac Medico2009-03-281-3/+6
| | | | svn path=/main/trunk/; revision=13240
* Add (x of y ) package counter in the "Installing" message, similar to theZac Medico2009-03-281-1/+5
| | | | | | | counter show in the "Emerging" message. Thanks to Ned Ludd <solar@g.o> for the suggestion. svn path=/main/trunk/; revision=13239
* Update code for removing noauto from FEATURES since config.features is aZac Medico2009-03-241-3/+2
| | | | | | set instead of a list now. svn path=/main/trunk/; revision=13178
* Add support for FEATURES=parse-eapi-glep-55. This feature is only intended forZac Medico2009-03-241-1/+8
| | | | | | experimental purposes and should not be enabled under normal circumstances. svn path=/main/trunk/; revision=13175
* If a package is masked by EAPI then don't show any other masking reasons.Zac Medico2009-03-231-3/+9
| | | | svn path=/main/trunk/; revision=13174
* Add support for FEATURES=parse-eapi-ebuild-head, which is similar to GLEP 55Zac Medico2009-03-231-0/+14
| | | | | | | | except that the EAPI is parsed from the head of the ebuild (first 30 lines). This feature is only intended for experimental purposes and should not be enabled under normal circumstances. svn path=/main/trunk/; revision=13173
* When calling doebuild() to spawn the 'depend' phase, just call config.setcpv()Zac Medico2009-03-231-1/+1
| | | | | | since that should be enough (no need for separate reset or reload calls). svn path=/main/trunk/; revision=13170
* Fix argument validation to allow file paths. Thanks to Arfrever for reporting.Zac Medico2009-03-221-0/+7
| | | | svn path=/main/trunk/; revision=13140
* Normalize try/except indentation for compatibility with 2to3.Zac Medico2009-03-201-2/+4
| | | | svn path=/main/trunk/; revision=13139
* Validate argument atoms earlier for build actions.v2.2_rc26Zac Medico2009-03-171-0/+12
| | | | svn path=/main/trunk/; revision=13126
* Bug #261670 - Automatically revert the CHOST metadata to the initial valuev2.2_rc25Zac Medico2009-03-121-0/+1
| | | | | | after src_install, in case the ebuild has changed it. svn path=/main/trunk/; revision=13088
* Update docstring for EbuildBuildDir.clean_log().Zac Medico2009-03-121-2/+1
| | | | svn path=/main/trunk/; revision=13072
* Bug #261992 - Replace the EbuildBuildDir.clean() method with a clean_log()Zac Medico2009-03-121-15/+9
| | | | | | | | method since log cleanup is all that's currently needed and shutil.rmtree() can fail with "OSError: [Errno 36] File name too long" due to strange file names, or on FreeBSD it can fail with EPERM due to file flags in $D. svn path=/main/trunk/; revision=13071
* Bug #261992 - Inside Binpkg._prefetch_exit(), avoid potention issues withZac Medico2009-03-121-6/+8
| | | | | | shutil.rmtree() by just doing a minimal cleanup. svn path=/main/trunk/; revision=13070
* Make dyn_clean ignore FEATURES=keepwork when [[ $EMERGE_FROM = binary ]]Zac Medico2009-03-121-7/+0
| | | | | | | and remove shutil.rmtree() call from Binpkg._clean_exit() since dyn_clean is guaranteed to do a full clean now. svn path=/main/trunk/; revision=13069
* Bug #262211 - Avoid triggering an InvalidAtom exception inside the PackageZac Medico2009-03-111-1/+6
| | | | | | constructor when SLOT is empty. svn path=/main/trunk/; revision=13061
* Bug #262012 - Only trigger the slot conflict message about --newuse whenZac Medico2009-03-111-1/+5
| | | | | | | the installed version is the same as the new one. If they are different versions then there's some other problem. svn path=/main/trunk/; revision=13059
* Use protocol=2 for pickle.dump() calls, so that pickles written by py3k willZac Medico2009-03-101-1/+1
| | | | | | be backward compatible. svn path=/main/trunk/; revision=12821
* Reorganize code for --digests and FEATURES=digest.Zac Medico2009-03-091-21/+49
| | | | svn path=/main/trunk/; revision=12801
* Bug #261675 - Generate manifests in advance when FEATURES=digest is enabled.Zac Medico2009-03-091-1/+8
| | | | svn path=/main/trunk/; revision=12799
* Make the --digest warning message show for FEATURES=digest.Zac Medico2009-03-091-2/+7
| | | | svn path=/main/trunk/; revision=12796
* Always use basestring instead of str with isinstance().Zac Medico2009-03-071-1/+1
| | | | svn path=/main/trunk/; revision=12775
* Make --searchdesc imply --search inside parse_opts().Zac Medico2009-03-051-8/+3
| | | | svn path=/main/trunk/; revision=12754
* Only generate PORTAGE_COUNTER_HASH for actions that can involve vdbZac Medico2009-03-051-1/+2
| | | | | | modification. svn path=/main/trunk/; revision=12753
* Make --version and action.Zac Medico2009-03-051-3/+3
| | | | svn path=/main/trunk/; revision=12752
* Set Unpickler.find_global = None when possible and handle AttributeErrorZac Medico2009-03-051-0/+5
| | | | | | for py3k. svn path=/main/trunk/; revision=12751
* Remove unnecessary creation of lists when iterating over digraphs forZac Medico2009-03-051-2/+2
| | | | | | --buildpkgonly hasallzeros check. svn path=/main/trunk/; revision=12750
* Bug #256289 - When displaying an unsatisfied USE dep and all packages withZac Medico2009-03-041-8/+24
| | | | | | | | the required IUSE are masked, show a normal "masked package" message for the package(s) that have the required IUSE (instead of showing the unmasked packages with missing IUSE). svn path=/main/trunk/; revision=12746
* When ACCEPT_CHOSTS is set, enable CHOST masking for unbuilt ebuilds. ThisZac Medico2009-03-021-4/+11
| | | | | | | | behaves as a sanity check to protect people who are cross-compiling from accidentally merging an ebuild with CHOST set incorrectly. Thanks to Ned Ludd <solar@g.o> for reporting the problem. svn path=/main/trunk/; revision=12741
* Skip the code from bug #259954 when $ROOT != / since it shouldn't matter ifZac Medico2009-03-011-0/+6
| | | | | | there are unsatisfied system runtime deps in this case. svn path=/main/trunk/; revision=12734
* Fix PipeReader and PipeReaderTestCase to work with binary strings in py3k.Zac Medico2009-02-271-0/+2
| | | | svn path=/main/trunk/; revision=12720
* Remove recursion code from Scheduler._system_merge_started() since indirectZac Medico2009-02-261-38/+13
| | | | | | deps are checked when the corresponding parent is merged. svn path=/main/trunk/; revision=12715
* In traversing deps to add to Scheduler._unsatisfied_system_deps, only traverseZac Medico2009-02-261-1/+8
| | | | | | | | completed 'merge' nodes since those are the only ones that need to be checked for unsatisfied runtime deps, and it's normal for nodes that aren't yet complete to have unsatisfied runtime deps. svn path=/main/trunk/; revision=12714
* Bug #259954 - Do not spawn parallel build when the system is in a fragileZac Medico2009-02-261-1/+65
| | | | | | | state due to a system package having an unsatisfied runtime dependency (such as sys-libs/pam having an unsatisfied PDEPEND on sys-auth/pambase). svn path=/main/trunk/; revision=12713
* Remove stray parenthesis.Zac Medico2009-02-261-1/+1
| | | | svn path=/main/trunk/; revision=12711
* Inside depgraph._merge_order_bias(), promote deep system runtime deps towardZac Medico2009-02-261-32/+60
| | | | | | | the front of the merge list. This should help optimize merge order to account for implicit system dependencies. svn path=/main/trunk/; revision=12710
* Implement BlockerDepPriority.__str__().Zac Medico2009-02-261-0/+3
| | | | svn path=/main/trunk/; revision=12709
* Fix typo in DepPriority.__str__().Zac Medico2009-02-251-1/+1
| | | | svn path=/main/trunk/; revision=12708
* When displaying reverse dependencies in verbose --depclean/--prune output,Zac Medico2009-02-231-2/+11
| | | | | | sort the parent packages by cpv. svn path=/main/trunk/; revision=12691
* When decoding term codes inside the JobStatusDisplay constructor, use theZac Medico2009-02-221-1/+2
| | | | | | | 'replace' error handling scheme in order to avoid triggering a potential UnicodeError. svn path=/main/trunk/; revision=12687