summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use absolute imports instead of relative. (trunk r13062)Zac Medico2009-03-122-2/+2
| | | | svn path=/main/branches/2.1.6/; revision=13076
* Bug #262211 - Avoid triggering an InvalidAtom exception inside the PackageZac Medico2009-03-121-1/+6
| | | | | | constructor when SLOT is empty. (trunk r13061) svn path=/main/branches/2.1.6/; revision=13075
* Bug #262211 - Make vardbapi.aux_get() translate empty SLOT to 0 since otherZac Medico2009-03-121-0/+4
| | | | | | code expects non-empty SLOT (for generation package slot atoms). (trunk r13060) svn path=/main/branches/2.1.6/; revision=13074
* Bug #262012 - Only trigger the slot conflict message about --newuse whenZac Medico2009-03-121-1/+5
| | | | | | | the installed version is the same as the new one. If they are different versions then there's some other problem. (trunk r13059) svn path=/main/branches/2.1.6/; revision=13073
* Update header: 2.2 -> 2.1.6Zac Medico2009-03-111-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=13058
* Add new xpak.5 man page by Lars Hartmann <lars<at>chaotika<dot>org>.Zac Medico2009-03-111-0/+190
| | | | | | (trunk r13056) svn path=/main/branches/2.1.6/; revision=13057
* Don't default env=os.environ directly in the config constructor becauseZac Medico2009-03-111-1/+3
| | | | | | | that makes it show environment variables in api docs generated by epydoc. (trunk r12824) svn path=/main/branches/2.1.6/; revision=13055
* Use slices instead of startswith inside manifest2AuxfileFilter(). (trunk r12823)Zac Medico2009-03-111-2/+2
| | | | svn path=/main/branches/2.1.6/; revision=13054
* Use protocol=2 for pickle.dump() calls, so that pickles written by py3k willZac Medico2009-03-114-6/+6
| | | | | | be backward compatible. (trunk r12821) svn path=/main/branches/2.1.6/; revision=13053
* Make _src_uri_validate() identify the || operator as invalid and add aZac Medico2009-03-112-0/+6
| | | | | | corresponding test case. (trunk r12820) svn path=/main/branches/2.1.6/; revision=13052
* Remove redundant conditional inside _src_uri_validate(). (trunk r12819)Zac Medico2009-03-111-9/+13
| | | | svn path=/main/branches/2.1.6/; revision=13051
* Fix incorrect slice inside _src_uri_validate() and add new test case.Zac Medico2009-03-112-2/+3
| | | | | | (trunk r12818) svn path=/main/branches/2.1.6/; revision=13050
* Simplify cmp_sort_key._cmp_key.__lt__(). (trunk r12817)Zac Medico2009-03-111-4/+2
| | | | svn path=/main/branches/2.1.6/; revision=13049
* Initialize UserDict.data in the constructor. (trunk r12816)Zac Medico2009-03-111-0/+2
| | | | svn path=/main/branches/2.1.6/; revision=13048
* Optimize dbapi._cpv_sort_ascending() by calling vercmp directly instead ofZac Medico2009-03-111-9/+7
| | | | | | calling pkgcmp. (trunk r12815) svn path=/main/branches/2.1.6/; revision=13047
* Bug #261852 - If an unexpected exception is raise from emerge_main() thenZac Medico2009-03-111-0/+16
| | | | | | | show the traceback after the mod_echo output to that the traceback isn't obscured by mod_echo flooding. (trunk r12814) svn path=/main/branches/2.1.6/; revision=13046
* When the config_incrementals parameter is unspecified in the configZac Medico2009-03-111-5/+4
| | | | | | | constructor, don't warn because it's ridiculous to require this parameter when it's always the same anyway. (trunk r12813) svn path=/main/branches/2.1.6/; revision=13045
* Simplify environment cleansing that's done for the ROOT=/ config instanceZac Medico2009-03-111-21/+9
| | | | | | | | when ROOT!=/. A new "env" config constructor parameter is used to allow the caller to avoid having the config instance polluted by os.environ. (trunk r12812) svn path=/main/branches/2.1.6/; revision=13044
* Inside create_trees(), when cleansing the environment for the ROOT=/ configZac Medico2009-03-111-1/+1
| | | | | | | | instance, call config.reset() so that configdict['env'] is cleared as was originally intended here. This prevents thinks like CHOST overrides from the calling environment from inappropriately being applied to ROOT=/. (trunk r12811) svn path=/main/branches/2.1.6/; revision=13043
* Bug #261670 - Generate a QA Notice if CHOST (from dyn_install) has a valueZac Medico2009-03-111-17/+24
| | | | | | which differs from the initial setting. (trunk r12810) svn path=/main/branches/2.1.6/; revision=13042
* Only execute src_test pre/post hooks when src_test is actually executed.Zac Medico2009-03-111-4/+4
| | | | | | (trunk r12809) svn path=/main/branches/2.1.6/; revision=13041
* Add more QA warnings for econf calls during unexpected phases. Thanks toZac Medico2009-03-111-3/+12
| | | | | | Diego Elio Pettenò <flameeyes@g.o> for the suggestion. (trunk r12808) svn path=/main/branches/2.1.6/; revision=13040
* Use the ebuild_phase helper function to calls phase hooks and fix brokenZac Medico2009-03-111-24/+18
| | | | | | | trap calls that try to unset multiple signal handlers at once without passing - as the first argument. (trunk r12805) svn path=/main/branches/2.1.6/; revision=13039
* Inside dyn_unpack(), only call pre/post phase hooks when src_unpack isZac Medico2009-03-111-2/+1
| | | | | | called (when .unpacked does not already exist). (trunk r12804) svn path=/main/branches/2.1.6/; revision=13038
* Fix _setitem() to account for the change to serialize_eclasses = False.Zac Medico2009-03-111-2/+1
| | | | | | (trunk r12803) svn path=/main/branches/2.1.6/; revision=13037
* Make manifest mode with --force option cause existing digests to be replacedZac Medico2009-03-112-1/+49
| | | | | | | | | | | | for any files that exist in ${DISTDIR}. This provides an alternative to ebuild --force manifest for updating existing distfiles digests. Digests are assumed to be corect for files that do not exist in ${DISTDIR} since the user could simply remove the whole Manifest if they wanted to regenerate digests for all files (and it's safer to regenerate as few as possible because it's less probably that a valid digest will get replaced by an invalid one). (trunk r12802) svn path=/main/branches/2.1.6/; revision=13036
* Reorganize code for --digests and FEATURES=digest. (trunk r12801)Zac Medico2009-03-111-21/+49
| | | | svn path=/main/branches/2.1.6/; revision=13035
* Never call digestgen() inside doebuild() which only 'fetch' has beenZac Medico2009-03-111-1/+4
| | | | | | requested since it's not needed in this case. (trunk r12800) svn path=/main/branches/2.1.6/; revision=13034
* Bug #261675 - Generate manifests in advance when FEATURES=digest is enabled.Zac Medico2009-03-111-1/+8
| | | | | | (trunk r12799) svn path=/main/branches/2.1.6/; revision=13033
* Bug #261675 - Also don't call digestgen() from parallel-fetch processes.Zac Medico2009-03-111-1/+2
| | | | | | (trunk r12798) svn path=/main/branches/2.1.6/; revision=13032
* Bug #261675 - When doebuild() is called by emerge, don't call digestgen()Zac Medico2009-03-111-1/+2
| | | | | | | for FEATURES=digest because it's redundant and it can cause interference with parallel-fetch and parallel builds. (trunk r12797) svn path=/main/branches/2.1.6/; revision=13031
* Make the --digest warning message show for FEATURES=digest. (trunk r12796)Zac Medico2009-03-111-2/+7
| | | | svn path=/main/branches/2.1.6/; revision=13030
* Replace things like [[ $PORTAGE_BUILDDIR/.prepared -nt $WORKDIR ]] withZac Medico2009-03-111-6/+5
| | | | | | | | | simply [[ -e $PORTAGE_BUILDDIR/.prepared ]] since the timestamp of $WORKDIR is practically always newer due to the other hidden files that are created there as each phase is executed. Thanks to Alfredo Tupone <tupone@g.o> for reporting. (trunk r12795) svn path=/main/branches/2.1.6/; revision=13029
* Generate a QA Notice when EXPORT_FUNCTIONS is called before inherit, sinceZac Medico2009-03-111-0/+7
| | | | | | it's incompatible with <=portage-2.1.6.7. (trunk r12794) svn path=/main/branches/2.1.6/; revision=13028
* for pointers cast to 32bit ints, we always want to abort on 64bit systems, ↵Zac Medico2009-03-111-7/+11
| | | | | | | | not just when FEATURES=stricter (trunk r12793) svn path=/main/branches/2.1.6/; revision=13027
* Make EXPORT_FUNCTIONS store it's arguments in an environment variable andZac Medico2009-03-111-12/+25
| | | | | | | | | | perform the function generation after the current inherit call has returned. This allows an eclass to call EXPORT_FUNCTIONS either before or after it inherits other eclasses, and the result is still the same. Thanks to Donnie Berkholz <dberkholz@g.o> for reporting. (trunk r12784:12792 and r12806) svn path=/main/branches/2.1.6/; revision=13026
* Implement _getitem instead of __getitem__ so that the base class __getitem__Zac Medico2009-03-112-23/+6
| | | | | | implementation is used for _mtime_ and _eclasses_ handling. (trunk r12781) svn path=/main/branches/2.1.6/; revision=13025
* In LazyItemsDict.__deepcopy__(), enable deepcopy of lazy items as it wasZac Medico2009-03-111-2/+25
| | | | | | | | before. This requires _LazyItem.__deepcopy__() to be overridden since the default implementation can fail silently, leaving some attributes unset. (trunk r12780) svn path=/main/branches/2.1.6/; revision=13024
* Use slice instead of startwith in stack_* incremental processing. (trunk r12779)Zac Medico2009-03-111-2/+2
| | | | svn path=/main/branches/2.1.6/; revision=13023
* Remove unnecessary list() from previous commit. (trunk r12778)Zac Medico2009-03-111-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=13022
* Fix an issue with incomplete deepcopy of _LazyItem instances insideZac Medico2009-03-111-8/+3
| | | | | | LazyItemsDict.__deepcopy__(). Thanks to Arfrever for reporting. (trunk r12777) svn path=/main/branches/2.1.6/; revision=13021
* Fix __getitem__ to convert mtime to long, and remove unreachable codeZac Medico2009-03-111-8/+10
| | | | | | from _parse_data(). (trunk r12776) svn path=/main/branches/2.1.6/; revision=13020
* Always use basestring instead of str with isinstance(). (trunk r12775)Zac Medico2009-03-114-4/+4
| | | | svn path=/main/branches/2.1.6/; revision=13019
* Allow unicode type values in config.__setitem__(). Thanks to Arfrever FrehtesZac Medico2009-03-111-1/+1
| | | | | | Taifersar Arahesis for this patch. (trunk r12774) svn path=/main/branches/2.1.6/; revision=13018
* Simplify LazyItemsDict internals. (trunk r12773)Zac Medico2009-03-111-27/+30
| | | | svn path=/main/branches/2.1.6/; revision=13017
* Fix LazyItemsDict.update() to create new _SingletonWrapper instances thatZac Medico2009-03-111-9/+12
| | | | | | reference self. (trunk r12772) svn path=/main/branches/2.1.6/; revision=13016
* Add keyword argument support to LazyItemsDict.update(). (trunk r12771)Zac Medico2009-03-111-2/+16
| | | | svn path=/main/branches/2.1.6/; revision=13015
* Remove unused import. (trunk r12770)Zac Medico2009-03-111-1/+0
| | | | svn path=/main/branches/2.1.6/; revision=13014
* Define __slots__ for classes derived from ObjectProxy. (trunk r12769)Zac Medico2009-03-111-0/+7
| | | | svn path=/main/branches/2.1.6/; revision=13013
* Send message about unset RESUMECOMMAND to stderr instead of stdout.Zac Medico2009-03-111-1/+1
| | | | | | (trunk r12768) svn path=/main/branches/2.1.6/; revision=13012