summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Replace things like [[ $PORTAGE_BUILDDIR/.prepared -nt $WORKDIR ]] withZac Medico2009-03-091-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. svn path=/main/trunk/; revision=12795
* Generate a QA Notice when EXPORT_FUNCTIONS is called before inherit, sinceZac Medico2009-03-081-0/+7
| | | | | | it's incompatible with <=portage-2.1.6.7. svn path=/main/trunk/; revision=12794
* for pointers cast to 32bit ints, we always want to abort on 64bit systems, ↵Mike Frysinger2009-03-081-7/+11
| | | | | | not just when FEATURES=stricter svn path=/main/trunk/; revision=12793
* Fix typo from previous commit.Zac Medico2009-03-081-1/+1
| | | | svn path=/main/trunk/; revision=12792
* Also support + character in eclass names.Zac Medico2009-03-081-1/+2
| | | | svn path=/main/trunk/; revision=12791
* Translate period characters in eclass names when generating variable namesZac Medico2009-03-081-3/+4
| | | | | | to store EXPORT_FUNCTIONS arguments. Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=12788
* Make EXPORT_FUNCTIONS store it's arguments in an environment variable andZac Medico2009-03-081-12/+28
| | | | | | | | | 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. svn path=/main/trunk/; revision=12785
* Revert previous 2 commits due to bugs.Zac Medico2009-03-081-20/+12
| | | | svn path=/main/trunk/; revision=12784
* Fix PECLASS logic inside inherit() so that ECLASS is always restored to theZac Medico2009-03-081-5/+7
| | | | | | | correct value after recursion (previously it would be restored to the wrong value if more than one eclass was passed into the inherit call). svn path=/main/trunk/; revision=12783
* Make EXPORT_FUNCTIONS store it's arguments in an environment variable andZac Medico2009-03-081-7/+13
| | | | | | | | | perform the function generation after the current inherit call has returned. This way an eclass can 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. svn path=/main/trunk/; revision=12782
* Implement _getitem instead of __getitem__ so that the base class __getitem__Zac Medico2009-03-082-23/+6
| | | | | | implementation is used for _mtime_ and _eclasses_ handling. svn path=/main/trunk/; revision=12781
* In LazyItemsDict.__deepcopy__(), enable deepcopy of lazy items as it wasZac Medico2009-03-071-2/+25
| | | | | | | before. This requires _LazyItem.__deepcopy__() to be overridden since the default implementation can fail silently, leaving some attributes unset. svn path=/main/trunk/; revision=12780
* Use slice instead of startwith in stack_* incremental processing.Zac Medico2009-03-071-2/+2
| | | | svn path=/main/trunk/; revision=12779
* Remove unnecessary list() from previous commit.Zac Medico2009-03-071-1/+1
| | | | svn path=/main/trunk/; revision=12778
* Fix an issue with incomplete deepcopy of _LazyItem instances insideZac Medico2009-03-071-8/+3
| | | | | | LazyItemsDict.__deepcopy__(). Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=12777
* Fix __getitem__ to convert mtime to long, and remove unreachable codeZac Medico2009-03-071-8/+10
| | | | | | from _parse_data(). svn path=/main/trunk/; revision=12776
* Always use basestring instead of str with isinstance().Zac Medico2009-03-074-4/+4
| | | | svn path=/main/trunk/; revision=12775
* Allow unicode type values in config.__setitem__(). Thanks to Arfrever FrehtesZac Medico2009-03-071-1/+1
| | | | | | Taifersar Arahesis for this patch. svn path=/main/trunk/; revision=12774
* Simplify LazyItemsDict internals.Zac Medico2009-03-071-27/+30
| | | | svn path=/main/trunk/; revision=12773
* Fix LazyItemsDict.update() to create new _SingletonWrapper instances thatZac Medico2009-03-071-9/+12
| | | | | | reference self. svn path=/main/trunk/; revision=12772
* Add keyword argument support to LazyItemsDict.update().Zac Medico2009-03-061-2/+16
| | | | svn path=/main/trunk/; revision=12771
* Remove unused import.Zac Medico2009-03-061-1/+0
| | | | svn path=/main/trunk/; revision=12770
* Define __slots__ for classes derived from ObjectProxy.Zac Medico2009-03-061-0/+7
| | | | svn path=/main/trunk/; revision=12769
* Send message about unset RESUMECOMMAND to stderr instead of stdout.Zac Medico2009-03-061-1/+1
| | | | svn path=/main/trunk/; revision=12768
* Make digraph store a single priority list for each edge instead of twoZac Medico2009-03-061-7/+16
| | | | | | identical lists. svn path=/main/trunk/; revision=12767
* whitespace cleanupZac Medico2009-03-061-7/+7
| | | | svn path=/main/trunk/; revision=12766
* Fix failure exit status. Thanks to Brian Harring.Zac Medico2009-03-061-1/+1
| | | | svn path=/main/trunk/; revision=12765
* Make config.categories a sorted tuple so that portdbapi can reuse it.Zac Medico2009-03-052-2/+3
| | | | svn path=/main/trunk/; revision=12760
* Add tests for use_reduce() and paren_reduce().Zac Medico2009-03-051-0/+29
| | | | svn path=/main/trunk/; revision=12759
* Use enumerate() inside use_reduce() validation code.Zac Medico2009-03-051-2/+2
| | | | svn path=/main/trunk/; revision=12758
* Use basestring instead of str for isinstance check inside use_reduce() soZac Medico2009-03-052-7/+3
| | | | | | | that it works with unicode and remove related unicode to str workaround code from the sqlite cache module. svn path=/main/trunk/; revision=12757
* Remove unnecessary setting of default values to empty strings insideZac Medico2009-03-052-5/+0
| | | | | | database._getitem(). svn path=/main/trunk/; revision=12756
* Make the first argument of update() methods be an optional positional argumentZac Medico2009-03-051-2/+16
| | | | | | instead of a keyword argument. svn path=/main/trunk/; revision=12755
* 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-054-1/+22
| | | | | | 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 #261082 - Prefer remote package instances whenever --getbinpkg is enabledZac Medico2009-03-041-1/+1
| | | | | | (previously local instances were preferred unless --getbinpkgonly was enabled). svn path=/main/trunk/; revision=12749
* Make glsa-check executable.Zac Medico2009-03-041-0/+0
| | | | svn path=/main/trunk/; revision=12748
* Bug #261082 - Fix --getbinpkgonly code in binarytree._populate() toZac Medico2009-03-041-0/+3
| | | | | | | update the aux_get cache when it's appropriate for a remote package to override a local package. svn path=/main/trunk/; revision=12747
* 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
* Fix vdb entry writting code in dyn_install() to avoid generating empty entriesZac Medico2009-03-041-3/+4
| | | | | | in some cases. Thanks to Ned Ludd <solar@g.o> for reporting. svn path=/main/trunk/; revision=12745
* Make KeyValuePairFileLoader store the values as a strings instead of a lists.Zac Medico2009-03-032-2/+2
| | | | svn path=/main/trunk/; revision=12744
* ACCEPT_CHOSTS applies to unbuilt ebuild now (not just binary packages).Zac Medico2009-03-032-2/+2
| | | | svn path=/main/trunk/; revision=12743
* Fix KeyValuePairFileLoader to only split on '=' once and strip whitespaceZac Medico2009-03-021-3/+3
| | | | | | for keys and values. svn path=/main/trunk/; revision=12742
* When ACCEPT_CHOSTS is set, enable CHOST masking for unbuilt ebuilds. ThisZac Medico2009-03-023-6/+18
| | | | | | | | 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
* Use PORTAGE_USE when evaluating LICENSE inside portdbapi.gvisible().Zac Medico2009-03-021-1/+1
| | | | svn path=/main/trunk/; revision=12740
* When fetch() is called and there is an existing file with the wrong size thatZac Medico2009-03-021-7/+15
| | | | | | | | | is smaller than PORTAGE_FETCH_RESUME_MIN_SIZE, rename the file instead of deleting it. This is more friendly for cases in which the user is attempting to regenerate the digest but has not used `ebuild --force foo.ebuild manifest` like they're supposed to. Thanks to Patrick Lauer <patrick@g.o> for reporting. svn path=/main/trunk/; revision=12739
* Don't give portage group write permissions on the mtimedb since it's notZac Medico2009-03-011-1/+2
| | | | | | really needed. svn path=/main/trunk/; revision=12738