Zac Medico [Tue, 17 Mar 2009 19:30:58 +0000 (19:30 -0000)]
Validate argument atoms earlier for build actions. (trunk r13126)
svn path=/main/branches/2.1.6/; revision=13127
Zac Medico [Tue, 17 Mar 2009 19:15:21 +0000 (19:15 -0000)]
Bug #262365 - Punt the prepalldocs check until there is an alternative
available in EAPI 3. (trunk r13117:13119)
svn path=/main/branches/2.1.6/; revision=13125
Zac Medico [Tue, 17 Mar 2009 19:13:52 +0000 (19:13 -0000)]
Punt fix-db.py since it's not really needed. It's been broken since 2.1.6
and nobody noticed until bug #262132 was filed. (trunk r13117)
svn path=/main/branches/2.1.6/; revision=13124
Zac Medico [Tue, 17 Mar 2009 19:13:33 +0000 (19:13 -0000)]
Bug #262485 - Handle InvalidAtom from dep_expand(). (trunk r13116)
svn path=/main/branches/2.1.6/; revision=13123
Zac Medico [Tue, 17 Mar 2009 19:13:22 +0000 (19:13 -0000)]
Do not create hardlinks when merging CONFIG_PROTECTed files since config
files shouldn't be hardlinked to eachother (for example, shadow installs
several identical config files inside /etc/pam.d/). Thanks to Caleb Cushing
<xenoterracide@gmail.com> for reporting. (trunk r13115)
svn path=/main/branches/2.1.6/; revision=13122
Zac Medico [Tue, 17 Mar 2009 19:13:12 +0000 (19:13 -0000)]
add m68k diff from kolla (trunk r13114)
svn path=/main/branches/2.1.6/; revision=13121
Zac Medico [Tue, 17 Mar 2009 19:13:01 +0000 (19:13 -0000)]
Add make.conf for amd64-fbsd submitted by Timothy Redaelli <drizzt@g.o>.
(trunk r13113)
svn path=/main/branches/2.1.6/; revision=13120
Zac Medico [Fri, 13 Mar 2009 19:49:06 +0000 (19:49 -0000)]
Bug #262365 - Make the "portage.internal" category (prepalldocs check) a
warning instead of fatal. (trunk r13109)
svn path=/main/branches/2.1.6/; revision=13110
Zac Medico [Fri, 13 Mar 2009 00:24:29 +0000 (00:24 -0000)]
Add missing brackets to [:upper:] and [:lower:] in _sb_append_var() tr
arguments. (trunk r13104)
svn path=/main/branches/2.1.6/; revision=13107
Zac Medico [Fri, 13 Mar 2009 00:24:11 +0000 (00:24 -0000)]
Filter _sb_append_var in save_ebuild_env(). (trunk r13091)
svn path=/main/branches/2.1.6/; revision=13106
Zac Medico [Fri, 13 Mar 2009 00:24:00 +0000 (00:24 -0000)]
cleanup sandbox env var handling -- make sure we dont insert empty : sections and avoid unnecessary eval usage
(trunk r13090)
svn path=/main/branches/2.1.6/; revision=13105
Zac Medico [Thu, 12 Mar 2009 18:45:35 +0000 (18:45 -0000)]
Bug #261670 - Automatically revert the CHOST metadata to the initial value
after src_install, in case the ebuild has changed it. (trunk r13088)
svn path=/main/branches/2.1.6/; revision=13092
Zac Medico [Thu, 12 Mar 2009 05:59:53 +0000 (05:59 -0000)]
Disable EAPI 3_pre1.
svn path=/main/branches/2.1.6/; revision=13087
Zac Medico [Thu, 12 Mar 2009 05:57:55 +0000 (05:57 -0000)]
Update docstring for EbuildBuildDir.clean_log(). (trunk r13072)
svn path=/main/branches/2.1.6/; revision=13086
Zac Medico [Thu, 12 Mar 2009 05:57:42 +0000 (05:57 -0000)]
Bug #261992 - Replace the EbuildBuildDir.clean() method with a clean_log()
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.
(trunk r13071)
svn path=/main/branches/2.1.6/; revision=13085
Zac Medico [Thu, 12 Mar 2009 05:57:24 +0000 (05:57 -0000)]
Bug #261992 - Inside Binpkg._prefetch_exit(), avoid potention issues with
shutil.rmtree() by just doing a minimal cleanup. (trunk r13070)
svn path=/main/branches/2.1.6/; revision=13084
Zac Medico [Thu, 12 Mar 2009 05:57:07 +0000 (05:57 -0000)]
Make dyn_clean ignore FEATURES=keepwork when [[ $EMERGE_FROM = binary ]]
and remove shutil.rmtree() call from Binpkg._clean_exit() since dyn_clean
is guaranteed to do a full clean now. (trunk r13069)
svn path=/main/branches/2.1.6/; revision=13083
Zac Medico [Thu, 12 Mar 2009 05:56:54 +0000 (05:56 -0000)]
When translating portage uid/gid to root uid/gid after src_install on
FreeBSD, temporarily remove all file flags inside $D in order to avoid
EPERM errors. Thanks to Timothy Redaelli <drizzt@g.o> for reporting.
(trunk r13068)
svn path=/main/branches/2.1.6/; revision=13082
Zac Medico [Thu, 12 Mar 2009 05:56:37 +0000 (05:56 -0000)]
Use posix compatible find -perm arguments. Thanks to Timothy Redaelli
<drizzt@g.o> for reporting. (trunk r13067)
svn path=/main/branches/2.1.6/; revision=13081
Zac Medico [Thu, 12 Mar 2009 05:56:26 +0000 (05:56 -0000)]
Also add an einfo binary. (trunk r13066)
svn path=/main/branches/2.1.6/; revision=13080
Zac Medico [Thu, 12 Mar 2009 05:56:15 +0000 (05:56 -0000)]
Bug #262096 - Add separate eerror, elog, eqawarn, and ewarn binaries for
use by non-bash programs running inside the ebuild environment, such as
sandbox. (trunk r13065)
svn path=/main/branches/2.1.6/; revision=13079
Zac Medico [Thu, 12 Mar 2009 05:56:01 +0000 (05:56 -0000)]
Use ${x##*/} instead of calling basename. (trunk r13064)
svn path=/main/branches/2.1.6/; revision=13078
Zac Medico [Thu, 12 Mar 2009 05:55:37 +0000 (05:55 -0000)]
Move ebuild helpers into an ebuild-helpers subdirectory. (trunk r13063)
svn path=/main/branches/2.1.6/; revision=13077
Zac Medico [Thu, 12 Mar 2009 05:55:08 +0000 (05:55 -0000)]
Use absolute imports instead of relative. (trunk r13062)
svn path=/main/branches/2.1.6/; revision=13076
Zac Medico [Thu, 12 Mar 2009 05:54:56 +0000 (05:54 -0000)]
Bug #262211 - Avoid triggering an InvalidAtom exception inside the Package
constructor when SLOT is empty. (trunk r13061)
svn path=/main/branches/2.1.6/; revision=13075
Zac Medico [Thu, 12 Mar 2009 05:54:45 +0000 (05:54 -0000)]
Bug #262211 - Make vardbapi.aux_get() translate empty SLOT to 0 since other
code expects non-empty SLOT (for generation package slot atoms). (trunk r13060)
svn path=/main/branches/2.1.6/; revision=13074
Zac Medico [Thu, 12 Mar 2009 05:54:20 +0000 (05:54 -0000)]
Bug #262012 - Only trigger the slot conflict message about --newuse when
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
Zac Medico [Wed, 11 Mar 2009 09:11:27 +0000 (09:11 -0000)]
Update header: 2.2 -> 2.1.6
svn path=/main/branches/2.1.6/; revision=13058
Zac Medico [Wed, 11 Mar 2009 08:10:22 +0000 (08:10 -0000)]
Add new xpak.5 man page by Lars Hartmann <lars<at>chaotika<dot>org>.
(trunk r13056)
svn path=/main/branches/2.1.6/; revision=13057
Zac Medico [Wed, 11 Mar 2009 07:48:13 +0000 (07:48 -0000)]
Don't default env=os.environ directly in the config constructor because
that makes it show environment variables in api docs generated by epydoc.
(trunk r12824)
svn path=/main/branches/2.1.6/; revision=13055
Zac Medico [Wed, 11 Mar 2009 07:48:02 +0000 (07:48 -0000)]
Use slices instead of startswith inside manifest2AuxfileFilter(). (trunk r12823)
svn path=/main/branches/2.1.6/; revision=13054
Zac Medico [Wed, 11 Mar 2009 07:47:29 +0000 (07:47 -0000)]
Use protocol=2 for pickle.dump() calls, so that pickles written by py3k will
be backward compatible. (trunk r12821)
svn path=/main/branches/2.1.6/; revision=13053
Zac Medico [Wed, 11 Mar 2009 07:45:33 +0000 (07:45 -0000)]
Make _src_uri_validate() identify the || operator as invalid and add a
corresponding test case. (trunk r12820)
svn path=/main/branches/2.1.6/; revision=13052
Zac Medico [Wed, 11 Mar 2009 07:45:21 +0000 (07:45 -0000)]
Remove redundant conditional inside _src_uri_validate(). (trunk r12819)
svn path=/main/branches/2.1.6/; revision=13051
Zac Medico [Wed, 11 Mar 2009 07:45:11 +0000 (07:45 -0000)]
Fix incorrect slice inside _src_uri_validate() and add new test case.
(trunk r12818)
svn path=/main/branches/2.1.6/; revision=13050
Zac Medico [Wed, 11 Mar 2009 07:44:52 +0000 (07:44 -0000)]
Simplify cmp_sort_key._cmp_key.__lt__(). (trunk r12817)
svn path=/main/branches/2.1.6/; revision=13049
Zac Medico [Wed, 11 Mar 2009 07:44:41 +0000 (07:44 -0000)]
Initialize UserDict.data in the constructor. (trunk r12816)
svn path=/main/branches/2.1.6/; revision=13048
Zac Medico [Wed, 11 Mar 2009 07:44:27 +0000 (07:44 -0000)]
Optimize dbapi._cpv_sort_ascending() by calling vercmp directly instead of
calling pkgcmp. (trunk r12815)
svn path=/main/branches/2.1.6/; revision=13047
Zac Medico [Wed, 11 Mar 2009 07:44:10 +0000 (07:44 -0000)]
Bug #261852 - If an unexpected exception is raise from emerge_main() then
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
Zac Medico [Wed, 11 Mar 2009 07:43:47 +0000 (07:43 -0000)]
When the config_incrementals parameter is unspecified in the config
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
Zac Medico [Wed, 11 Mar 2009 07:41:27 +0000 (07:41 -0000)]
Simplify environment cleansing that's done for the ROOT=/ config instance
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
Zac Medico [Wed, 11 Mar 2009 07:41:09 +0000 (07:41 -0000)]
Inside create_trees(), when cleansing the environment for the ROOT=/ config
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
Zac Medico [Wed, 11 Mar 2009 07:40:25 +0000 (07:40 -0000)]
Bug #261670 - Generate a QA Notice if CHOST (from dyn_install) has a value
which differs from the initial setting. (trunk r12810)
svn path=/main/branches/2.1.6/; revision=13042
Zac Medico [Wed, 11 Mar 2009 07:40:10 +0000 (07:40 -0000)]
Only execute src_test pre/post hooks when src_test is actually executed.
(trunk r12809)
svn path=/main/branches/2.1.6/; revision=13041
Zac Medico [Wed, 11 Mar 2009 07:39:58 +0000 (07:39 -0000)]
Add more QA warnings for econf calls during unexpected phases. Thanks to
Diego Elio Pettenò <flameeyes@g.o> for the suggestion. (trunk r12808)
svn path=/main/branches/2.1.6/; revision=13040
Zac Medico [Wed, 11 Mar 2009 07:39:06 +0000 (07:39 -0000)]
Use the ebuild_phase helper function to calls phase hooks and fix broken
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
Zac Medico [Wed, 11 Mar 2009 07:38:51 +0000 (07:38 -0000)]
Inside dyn_unpack(), only call pre/post phase hooks when src_unpack is
called (when .unpacked does not already exist). (trunk r12804)
svn path=/main/branches/2.1.6/; revision=13038
Zac Medico [Wed, 11 Mar 2009 07:37:00 +0000 (07:37 -0000)]
Fix _setitem() to account for the change to serialize_eclasses = False.
(trunk r12803)
svn path=/main/branches/2.1.6/; revision=13037
Zac Medico [Wed, 11 Mar 2009 07:36:49 +0000 (07:36 -0000)]
Make manifest mode with --force option cause existing digests to be replaced
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
Zac Medico [Wed, 11 Mar 2009 07:35:55 +0000 (07:35 -0000)]
Reorganize code for --digests and FEATURES=digest. (trunk r12801)
svn path=/main/branches/2.1.6/; revision=13035
Zac Medico [Wed, 11 Mar 2009 07:34:56 +0000 (07:34 -0000)]
Never call digestgen() inside doebuild() which only 'fetch' has been
requested since it's not needed in this case. (trunk r12800)
svn path=/main/branches/2.1.6/; revision=13034
Zac Medico [Wed, 11 Mar 2009 06:57:32 +0000 (06:57 -0000)]
Bug #261675 - Generate manifests in advance when FEATURES=digest is enabled.
(trunk r12799)
svn path=/main/branches/2.1.6/; revision=13033
Zac Medico [Wed, 11 Mar 2009 06:57:07 +0000 (06:57 -0000)]
Bug #261675 - Also don't call digestgen() from parallel-fetch processes.
(trunk r12798)
svn path=/main/branches/2.1.6/; revision=13032
Zac Medico [Wed, 11 Mar 2009 06:56:44 +0000 (06:56 -0000)]
Bug #261675 - When doebuild() is called by emerge, don't call digestgen()
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
Zac Medico [Wed, 11 Mar 2009 06:56:24 +0000 (06:56 -0000)]
Make the --digest warning message show for FEATURES=digest. (trunk r12796)
svn path=/main/branches/2.1.6/; revision=13030
Zac Medico [Wed, 11 Mar 2009 06:56:01 +0000 (06:56 -0000)]
Replace things like [[ $PORTAGE_BUILDDIR/.prepared -nt $WORKDIR ]] with
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
Zac Medico [Wed, 11 Mar 2009 06:55:38 +0000 (06:55 -0000)]
Generate a QA Notice when EXPORT_FUNCTIONS is called before inherit, since
it's incompatible with <=portage-2.1.6.7. (trunk r12794)
svn path=/main/branches/2.1.6/; revision=13028
Zac Medico [Wed, 11 Mar 2009 06:54:59 +0000 (06:54 -0000)]
for pointers cast to 32bit ints, we always want to abort on 64bit systems, not just when FEATURES=stricter
(trunk r12793)
svn path=/main/branches/2.1.6/; revision=13027
Zac Medico [Wed, 11 Mar 2009 06:52:32 +0000 (06:52 -0000)]
Make EXPORT_FUNCTIONS store it's arguments in an environment variable and
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
Zac Medico [Wed, 11 Mar 2009 06:48:54 +0000 (06:48 -0000)]
Implement _getitem instead of __getitem__ so that the base class __getitem__
implementation is used for _mtime_ and _eclasses_ handling. (trunk r12781)
svn path=/main/branches/2.1.6/; revision=13025
Zac Medico [Wed, 11 Mar 2009 06:48:36 +0000 (06:48 -0000)]
In LazyItemsDict.__deepcopy__(), enable deepcopy of lazy items as it was
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
Zac Medico [Wed, 11 Mar 2009 06:48:05 +0000 (06:48 -0000)]
Use slice instead of startwith in stack_* incremental processing. (trunk r12779)
svn path=/main/branches/2.1.6/; revision=13023
Zac Medico [Wed, 11 Mar 2009 06:47:40 +0000 (06:47 -0000)]
Remove unnecessary list() from previous commit. (trunk r12778)
svn path=/main/branches/2.1.6/; revision=13022
Zac Medico [Wed, 11 Mar 2009 06:47:20 +0000 (06:47 -0000)]
Fix an issue with incomplete deepcopy of _LazyItem instances inside
LazyItemsDict.__deepcopy__(). Thanks to Arfrever for reporting. (trunk r12777)
svn path=/main/branches/2.1.6/; revision=13021
Zac Medico [Wed, 11 Mar 2009 06:47:03 +0000 (06:47 -0000)]
Fix __getitem__ to convert mtime to long, and remove unreachable code
from _parse_data(). (trunk r12776)
svn path=/main/branches/2.1.6/; revision=13020
Zac Medico [Wed, 11 Mar 2009 06:46:43 +0000 (06:46 -0000)]
Always use basestring instead of str with isinstance(). (trunk r12775)
svn path=/main/branches/2.1.6/; revision=13019
Zac Medico [Wed, 11 Mar 2009 06:46:26 +0000 (06:46 -0000)]
Allow unicode type values in config.__setitem__(). Thanks to Arfrever Frehtes
Taifersar Arahesis for this patch. (trunk r12774)
svn path=/main/branches/2.1.6/; revision=13018
Zac Medico [Wed, 11 Mar 2009 06:46:14 +0000 (06:46 -0000)]
Simplify LazyItemsDict internals. (trunk r12773)
svn path=/main/branches/2.1.6/; revision=13017
Zac Medico [Wed, 11 Mar 2009 06:46:05 +0000 (06:46 -0000)]
Fix LazyItemsDict.update() to create new _SingletonWrapper instances that
reference self. (trunk r12772)
svn path=/main/branches/2.1.6/; revision=13016
Zac Medico [Wed, 11 Mar 2009 06:45:33 +0000 (06:45 -0000)]
Add keyword argument support to LazyItemsDict.update(). (trunk r12771)
svn path=/main/branches/2.1.6/; revision=13015
Zac Medico [Wed, 11 Mar 2009 06:45:22 +0000 (06:45 -0000)]
Remove unused import. (trunk r12770)
svn path=/main/branches/2.1.6/; revision=13014
Zac Medico [Wed, 11 Mar 2009 06:45:10 +0000 (06:45 -0000)]
Define __slots__ for classes derived from ObjectProxy. (trunk r12769)
svn path=/main/branches/2.1.6/; revision=13013
Zac Medico [Wed, 11 Mar 2009 06:44:50 +0000 (06:44 -0000)]
Send message about unset RESUMECOMMAND to stderr instead of stdout.
(trunk r12768)
svn path=/main/branches/2.1.6/; revision=13012
Zac Medico [Wed, 11 Mar 2009 06:44:38 +0000 (06:44 -0000)]
Make digraph store a single priority list for each edge instead of two
identical lists. (trunk r12767)
svn path=/main/branches/2.1.6/; revision=13011
Zac Medico [Wed, 11 Mar 2009 06:44:19 +0000 (06:44 -0000)]
whitespace cleanup (trunk r12766)
svn path=/main/branches/2.1.6/; revision=13010
Zac Medico [Wed, 11 Mar 2009 06:44:05 +0000 (06:44 -0000)]
Fix failure exit status. Thanks to Brian Harring. (trunk r12765)
svn path=/main/branches/2.1.6/; revision=13009
Zac Medico [Wed, 11 Mar 2009 06:43:30 +0000 (06:43 -0000)]
Make config.categories a sorted tuple so that portdbapi can reuse it.
(trunk r12760)
svn path=/main/branches/2.1.6/; revision=13008
Zac Medico [Wed, 11 Mar 2009 06:43:13 +0000 (06:43 -0000)]
Add tests for use_reduce() and paren_reduce(). (trunk r12759)
svn path=/main/branches/2.1.6/; revision=13007
Zac Medico [Wed, 11 Mar 2009 06:43:02 +0000 (06:43 -0000)]
Use enumerate() inside use_reduce() validation code. (trunk r12758)
svn path=/main/branches/2.1.6/; revision=13006
Zac Medico [Wed, 11 Mar 2009 06:42:43 +0000 (06:42 -0000)]
Use basestring instead of str for isinstance check inside use_reduce() so
that it works with unicode and remove related unicode to str workaround
code from the sqlite cache module. (trunk r12757)
svn path=/main/branches/2.1.6/; revision=13005
Zac Medico [Wed, 11 Mar 2009 06:42:19 +0000 (06:42 -0000)]
Remove unnecessary setting of default values to empty strings inside
database._getitem(). (trunk r12756)
svn path=/main/branches/2.1.6/; revision=13004
Zac Medico [Wed, 11 Mar 2009 06:42:01 +0000 (06:42 -0000)]
Make the first argument of update() methods be an optional positional argument
instead of a keyword argument. (trunk r12755)
svn path=/main/branches/2.1.6/; revision=13003
Zac Medico [Wed, 11 Mar 2009 06:39:10 +0000 (06:39 -0000)]
Make --searchdesc imply --search inside parse_opts(). (trunk r12754)
svn path=/main/branches/2.1.6/; revision=13002
Zac Medico [Wed, 11 Mar 2009 06:38:51 +0000 (06:38 -0000)]
Only generate PORTAGE_COUNTER_HASH for actions that can involve vdb
modification. (trunk r12753)
svn path=/main/branches/2.1.6/; revision=13001
Zac Medico [Wed, 11 Mar 2009 06:38:28 +0000 (06:38 -0000)]
Make --version and action. (trunk r12752)
svn path=/main/branches/2.1.6/; revision=13000
Zac Medico [Wed, 11 Mar 2009 06:38:13 +0000 (06:38 -0000)]
Set Unpickler.find_global = None when possible and handle AttributeError
for py3k. (trunk r12751)
svn path=/main/branches/2.1.6/; revision=12999
Zac Medico [Wed, 11 Mar 2009 06:37:58 +0000 (06:37 -0000)]
Remove unnecessary creation of lists when iterating over digraphs for
--buildpkgonly hasallzeros check. (trunk r12750)
svn path=/main/branches/2.1.6/; revision=12998
Zac Medico [Wed, 11 Mar 2009 06:37:31 +0000 (06:37 -0000)]
Bug #261082 - Prefer remote package instances whenever --getbinpkg is enabled
(previously local instances were preferred unless --getbinpkgonly was enabled).
(trunk r12749)
svn path=/main/branches/2.1.6/; revision=12997
Zac Medico [Wed, 11 Mar 2009 06:37:17 +0000 (06:37 -0000)]
Bug #261082 - Fix --getbinpkgonly code in binarytree._populate() to
update the aux_get cache when it's appropriate for a remote package
to override a local package. (trunk r12747)
svn path=/main/branches/2.1.6/; revision=12996
Zac Medico [Wed, 11 Mar 2009 06:36:07 +0000 (06:36 -0000)]
Bug #256289 - When displaying an unsatisfied USE dep and all packages with
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). (trunk r12746)
svn path=/main/branches/2.1.6/; revision=12995
Zac Medico [Wed, 11 Mar 2009 06:35:43 +0000 (06:35 -0000)]
Fix vdb entry writting code in dyn_install() to avoid generating empty entries
in some cases. Thanks to Ned Ludd <solar@g.o> for reporting. (trunk r12745)
svn path=/main/branches/2.1.6/; revision=12994
Zac Medico [Wed, 11 Mar 2009 06:35:18 +0000 (06:35 -0000)]
Make KeyValuePairFileLoader store the values as a strings instead of a lists.
(trunk r12744)
svn path=/main/branches/2.1.6/; revision=12993
Zac Medico [Wed, 11 Mar 2009 06:34:56 +0000 (06:34 -0000)]
ACCEPT_CHOSTS applies to unbuilt ebuild now (not just binary packages).
(trunk r12743)
svn path=/main/branches/2.1.6/; revision=12992
Zac Medico [Wed, 11 Mar 2009 06:34:37 +0000 (06:34 -0000)]
Fix KeyValuePairFileLoader to only split on '=' once and strip whitespace
for keys and values. (trunk r12742)
svn path=/main/branches/2.1.6/; revision=12991
Zac Medico [Wed, 11 Mar 2009 06:34:01 +0000 (06:34 -0000)]
When ACCEPT_CHOSTS is set, enable CHOST masking for unbuilt ebuilds. This
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. (trunk r12741)
svn path=/main/branches/2.1.6/; revision=12990
Zac Medico [Wed, 11 Mar 2009 06:33:40 +0000 (06:33 -0000)]
Use PORTAGE_USE when evaluating LICENSE inside portdbapi.gvisible().
(trunk r12740)
svn path=/main/branches/2.1.6/; revision=12989
Zac Medico [Wed, 11 Mar 2009 06:32:27 +0000 (06:32 -0000)]
When fetch() is called and there is an existing file with the wrong size that
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.
(trunk r12739)
svn path=/main/branches/2.1.6/; revision=12988
Zac Medico [Wed, 11 Mar 2009 06:32:12 +0000 (06:32 -0000)]
Don't give portage group write permissions on the mtimedb since it's not
really needed. (trunk r12738)
svn path=/main/branches/2.1.6/; revision=12987
Zac Medico [Wed, 11 Mar 2009 06:31:52 +0000 (06:31 -0000)]
Thanks to Petteri Räty <betelgeuse@gentoo.org> for this new cache module which
uses extended attributes (via pyxattr) to attach metadata cache directly to
the ebuild files themselves. (trunk r12737)
svn path=/main/branches/2.1.6/; revision=12986
Zac Medico [Wed, 11 Mar 2009 06:31:38 +0000 (06:31 -0000)]
Remove redundant long(_mtime_) conversion since template handles it now.
(trunk r12736)
svn path=/main/branches/2.1.6/; revision=12985