summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Simplify DepPriority.__int__() and make it consistent with __str__().Zac Medico2009-05-031-25/+13
| | | | svn path=/main/trunk/; revision=13599
* Fix inverted logic in superuser logic for bug #267104.Zac Medico2009-05-021-2/+2
| | | | svn path=/main/trunk/; revision=13596
* Fix DepPriority.__int__() to return distinguishable values, for use whenZac Medico2009-05-021-0/+37
| | | | | | | | measuring hardness for the circular dependency display. This fixes a problem visible in bug #268038, comment #0, where buildtime dependencies are incorrectly displayed as runtime dependencies. svn path=/main/trunk/; revision=13589
* Only generate KV when setting up the environment for a real ebuild phase. ThisZac Medico2009-05-011-1/+4
| | | | | | | should preven "Permission Denied: /usr/src/linux/.config" errors reported by repoman users (repoman may trigger the error when it calls the fetch phase). svn path=/main/trunk/; revision=13580
* Fix logic error which prevents repos.conf [DEFAULT] section from applyingZac Medico2009-05-011-1/+1
| | | | | | | to repos that don't have their own section. Thanks to Markos Chandras <hwoarang@g.o> for reporting. svn path=/main/trunk/; revision=13578
* Remove unnecessary doebuild_environment() call from EbuildFetchonly.execute()Zac Medico2009-04-301-3/+0
| | | | | | since PORTAGE_RESTRICT is calculated by config.setcpv() now. svn path=/main/trunk/; revision=13575
* In config.setcpv() reuse split USE from built packages instead of splittingZac Medico2009-04-301-3/+2
| | | | | | them again. svn path=/main/trunk/; revision=13573
* Move PORTAGE_RESTRICT calculation to config.setcpv() (lazy evaluation) andZac Medico2009-04-301-19/+38
| | | | | | fix it to work correctly for pre-built packages. svn path=/main/trunk/; revision=13569
* Bug #267104 - When appropriate, advise the user that they may set FEATURES=Zac Medico2009-04-301-4/+17
| | | | | | -userfetch in order to use remaining space. svn path=/main/trunk/; revision=13567
* Fix _lazy_accept_license to discard || from the set of licenses.Zac Medico2009-04-301-0/+1
| | | | svn path=/main/trunk/; revision=13565
* Fix ACCEPT_LICENSE handling for binary packages, so that the build-time USEZac Medico2009-04-301-5/+12
| | | | | | settings are used calculate an appropriate ACCEPT_LICENSE value. svn path=/main/trunk/; revision=13560
* Fix error in calculations from bug #267104.Zac Medico2009-04-301-2/+2
| | | | svn path=/main/trunk/; revision=13419
* In config.setcpv(), move the code that makes sure "pkg" values override "env"Zac Medico2009-04-301-4/+8
| | | | | | values _after_ the reset() call. svn path=/main/trunk/; revision=13418
* Generate a pruned version of ACCEPT_LICENSE, by intersection withZac Medico2009-04-301-0/+28
| | | | | | | | LICENSE. This is required since otherwise ACCEPT_LICENSE might be too big (bigger than ARG_MAX), causing execve() calls to fail with E2BIG errors as in bug #262647. svn path=/main/trunk/; revision=13417
* In config.regenerate(), explicitly include self.backupenv when processingZac Medico2009-04-301-0/+1
| | | | | | incrementals, since it's no longer included in self.configlist. svn path=/main/trunk/; revision=13416
* Exclude 'backupenv' from config.configlist and lookuplist since it doesn'tZac Medico2009-04-301-13/+12
| | | | | | | | | make size to have it in there when configdict['env'] already serves that purpose. This allows values to be temporarily removed from configdict['env'] and have them not appear in the environment until reset() is called to restore those values from the backupenv. svn path=/main/trunk/; revision=13415
* Warn about sed and epatch calls which should be moved from src_unpack toZac Medico2009-04-291-1/+33
| | | | | | src_prepare. Thanks to Markus Meier <maekke@g.o> for the initial patch. svn path=/main/trunk/; revision=13413
* Move the here-document code from the EbuildWhitespace check to theZac Medico2009-04-291-26/+26
| | | | | | | run_checks() function, so that all checks ignore the content of here-documents. svn path=/main/trunk/; revision=13412
* Make EbuildWhitespace ignore here-documents. Thanks to Diego PettenòZac Medico2009-04-291-4/+19
| | | | | | <flameeyes@g.o> for reporting. svn path=/main/trunk/; revision=13411
* Make xtermTitle() use a global variable to cache the result of the TERM check.Zac Medico2009-04-291-13/+17
| | | | svn path=/main/trunk/; revision=13410
* Bug #267860 - Make JobStatusDisplay respect FEATURES=notitles.Zac Medico2009-04-291-3/+6
| | | | svn path=/main/trunk/; revision=13409
* Fix the code from bug #267104 to account non-root users.Zac Medico2009-04-291-1/+3
| | | | svn path=/main/trunk/; revision=13408
* Bug #267810 - Don't sort C/CXX/LDFLAGS in emerge --info output since theseZac Medico2009-04-291-23/+3
| | | | | | variables aren't really sortable in that way. svn path=/main/trunk/; revision=13407
* Bug #267104 - If the statvfs f_bavail field shows insufficient free space andZac Medico2009-04-291-2/+9
| | | | | | userfetch is not enabled, recalculate using the f_bfree field. svn path=/main/trunk/; revision=13406
* Bug #71646 - Don't allow the HISTFILE variable into the ebuild environmentZac Medico2009-04-281-1/+1
| | | | | | since it triggers sandbox violations. svn path=/main/trunk/; revision=13403
* Add a new EAPI.definition check for cases in which EAPI is defined after anZac Medico2009-04-262-1/+19
| | | | | | inherit call. Thanks to Markus Meier <maekke@g.o> for the initial patch. svn path=/main/trunk/; revision=13401
* Automatically define errno.ESTALE if it doesn't exist (like on interix).Zac Medico2009-04-231-0/+3
| | | | | | Thanks to Markus Duft <mduft@g.o> for reporting. svn path=/main/trunk/; revision=13387
* When in --nodeps mode, make depgraph._serialize_tasks() preserve the packageZac Medico2009-04-201-0/+7
| | | | | | | order given on the command line. Thanks to Markus Duft <mduft@g.o> for reporting. svn path=/main/trunk/; revision=13377
* Add note about 'use' in the Atom.intersects() docstring.v2.2_rc31Zac Medico2009-04-191-2/+3
| | | | svn path=/main/trunk/; revision=13375
* Drop from --ask to --pretend for uninstall all actions.Zac Medico2009-04-191-1/+2
| | | | svn path=/main/trunk/; revision=13374
* Add missing del when cleansing cache in action_metadata().Zac Medico2009-04-191-1/+1
| | | | svn path=/main/trunk/; revision=13373
* Tweak _eclasses_ logic inside action_metadata().Zac Medico2009-04-191-5/+7
| | | | svn path=/main/trunk/; revision=13372
* In action_deselect(), use the installed packages to expand atoms into slotZac Medico2009-04-191-3/+14
| | | | | | atoms. svn path=/main/trunk/; revision=13366
* Add --ask support to action_deselect().Zac Medico2009-04-191-0/+7
| | | | svn path=/main/trunk/; revision=13365
* Fix bugs in action_deselect() and add --pretend support.Zac Medico2009-04-191-5/+8
| | | | svn path=/main/trunk/; revision=13364
* Add a new --deselect action which removes atoms from the world file. ThisZac Medico2009-04-193-9/+111
| | | | | | | | action is implied by uninstall actions, including --depclean, --prune and --unmerge. Use --deselect=n in order to prevent uninstall actions from removing atoms from the world file. This solves bug #259994 and bug #265206. svn path=/main/trunk/; revision=13363
* Fix default master code so that it doesn't trigger when PORTDIR is empty.Zac Medico2009-04-191-1/+1
| | | | svn path=/main/trunk/; revision=13362
* If a repo doesn't have metadata/layout.conf then use either missing eclassZac Medico2009-04-191-3/+5
| | | | | | | directory or missing profiles/profiles.desc to trigger assignment of a default master. svn path=/main/trunk/; revision=13361
* Add support to emerge --metadata for transfering cache from overlays thatZac Medico2009-04-181-56/+235
| | | | | | have a metadata/cache directory. svn path=/main/trunk/; revision=13356
* Fix lockfile() docstring to correctly document the wantnewlockfile behavior.Zac Medico2009-04-181-2/+4
| | | | | | Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=13355
* Simplify pkgcmp(). Thanks to Douglas Anderson <dja@gendja.com> for this patchZac Medico2009-04-181-9/+1
| | | | | | from bug #266493. svn path=/main/trunk/; revision=13354
* Bug #266493 - Never return a long from vercmp() since that can trigger anZac Medico2009-04-171-9/+19
| | | | | | | | | OverflowError if it's returned by a __cmp__ implementation. Thanks to Douglas Anderson <dja@gendja.com> for the initial patch. I've modified it to use the (a > b) - (a < b) construct as suggested in the py3k docs, since cmp() is no longer supported in py3k. svn path=/main/trunk/; revision=13353
* Add support for repos.conf 'aliases' attribute which allows aliasZac Medico2009-04-162-1/+22
| | | | | | substitution in metadata/layout.conf repository references. svn path=/main/trunk/; revision=13352
* Add support in repos.conf to override the "masters" setting from layout.conf.Zac Medico2009-04-162-11/+30
| | | | svn path=/main/trunk/; revision=13350
* Bug #265909 - Make emerge display a warning message if any overlays areZac Medico2009-04-153-2/+40
| | | | | | | ignored due to duplicate profiles/repo_name entries. The warning can be disabled by setting PORTAGE_REPO_DUPLICATE_WARN=0 in /etc/make.conf. svn path=/main/trunk/; revision=13348
* Bug #266211 - Handle ESTALE like ENOENT in fetch and locking code. Thanks toZac Medico2009-04-152-10/+11
| | | | | | Krzysztof Olędzki <ole+gentoo@ans.pl> for the initial patch. svn path=/main/trunk/; revision=13347
* Add support in action_uninstall() for file -> package lookup.Zac Medico2009-04-151-19/+67
| | | | svn path=/main/trunk/; revision=13345
* Split out an action_uninstall() function to handle argument validation forZac Medico2009-04-151-53/+61
| | | | | | clean, depclean, prune, and unmerge actions. svn path=/main/trunk/; revision=13344
* Convert portage.bsd_chflags into a class with chflags() and lchflags() classZac Medico2009-04-131-40/+42
| | | | | | methods. svn path=/main/trunk/; revision=13343
* Make portage.bsd_chflags correspond to FEATURES=chflags so that it can beZac Medico2009-04-131-0/+3
| | | | | | used for related conditionals in shell code. svn path=/main/trunk/; revision=13342