| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
those variables are only needed when an ebuild shell is spawned. Thanks to
Marat Radchenko <slonopotamusorama@gmail.com> for testing this patch. He
reports a 14% reduction in the time consumed for `emerge -vpe world` on an
ARM device (from 3m12.008s to 2m45.055s).
svn path=/main/trunk/; revision=12707
|
|
|
|
| |
svn path=/main/trunk/; revision=12706
|
|
|
|
|
|
|
| |
emerge's confmem already provides similar functionality which is a little
safer.
svn path=/main/trunk/; revision=12705
|
|
|
|
|
|
|
| |
call to LazyItemsDict.addLazySingleton(), automatically evaluate the
the singleton and instead call deepcopy() on the result.
svn path=/main/trunk/; revision=12704
|
|
|
|
|
|
| |
duplicates.
svn path=/main/trunk/; revision=12703
|
|
|
|
| |
svn path=/main/trunk/; revision=12702
|
|
|
|
| |
svn path=/main/trunk/; revision=12701
|
|
|
|
|
|
| |
keyword arguments are given.
svn path=/main/trunk/; revision=12700
|
|
|
|
|
|
|
| |
calculating USE_EXPAND variables. Also use a generator expression instead
of a list comprehension in the USE_EXPAND generation code.
svn path=/main/trunk/; revision=12697
|
|
|
|
|
|
|
| |
'missing keyword' mask is some cases when the user has ** in package.keywords.
Thanks to Raúl Porcel <armin76@g.o> for reporting.
svn path=/main/trunk/; revision=12696
|
|
|
|
| |
svn path=/main/trunk/; revision=12695
|
|
|
|
| |
svn path=/main/trunk/; revision=12694
|
|
|
|
|
|
| |
some more work.
svn path=/main/trunk/; revision=12693
|
|
|
|
| |
svn path=/main/trunk/; revision=12692
|
|
|
|
|
|
| |
sort the parent packages by cpv.
svn path=/main/trunk/; revision=12691
|
|
|
|
|
|
| |
is now hardcoded as utf_8.
svn path=/main/trunk/; revision=12690
|
|
|
|
|
|
|
|
|
| |
vardbapi._owners_cache._hash_str(), use 'backslashreplace' in order to avoid
potential UnicodeError exceptions. Use constant ascii and utf_8 codecs,
respectively, since these codecs are guaranteed to be available by
_ensure_default_encoding().
svn path=/main/trunk/; revision=12689
|
|
|
|
|
|
|
| |
back to utf_8 if the encoding returned by sys.getdefaultencoding() is
unavailable.
svn path=/main/trunk/; revision=12688
|
|
|
|
|
|
|
| |
'replace' error handling scheme in order to avoid triggering a potential
UnicodeError.
svn path=/main/trunk/; revision=12687
|
|
|
|
|
|
|
| |
not set RESTRICT=fetch (since it's not possible for pkg_nofetch to be executed
in this case).
svn path=/main/trunk/; revision=12686
|
|
|
|
|
|
|
| |
a temporary PORTAGE_TMPDIR setting (for fetchonly). Thanks to
Marat Radchenko <slonopotamusorama@gmail.com> for reporting.
svn path=/main/trunk/; revision=12685
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
configuration which does not include the /usr/lib/pythonX.Y/encodings
directory. This results in error like the following:
LookupError: no codec search functions registered: can't find encoding
In order to solve this problem, detect it early and manually register
a search function for the ascii codec. Starting with python-3.0 this
problem is more noticeable because of stricter handling of encoding
and decoding between strings of characters and bytes.
svn path=/main/trunk/; revision=12684
|
|
|
|
|
|
| |
registration and unregistration.
svn path=/main/trunk/; revision=12683
|
|
|
|
|
|
| |
initially imported.
svn path=/main/trunk/; revision=12682
|
|
|
|
|
|
| |
modules when portage is initially imported.
svn path=/main/trunk/; revision=12681
|
|
|
|
|
|
| |
when portage is initially imported.
svn path=/main/trunk/; revision=12680
|
|
|
|
|
|
| |
unregistering.
svn path=/main/trunk/; revision=12679
|
|
|
|
|
|
|
| |
modules that have been imported. This way, destruction of a single proxy
can trigger destruction of all the rest.
svn path=/main/trunk/; revision=12678
|
|
|
|
| |
svn path=/main/trunk/; revision=12677
|
|
|
|
|
|
| |
new portage.proxy package.
svn path=/main/trunk/; revision=12676
|
|
|
|
|
|
| |
in sys.modules.
svn path=/main/trunk/; revision=12675
|
|
|
|
|
|
| |
argument instead of a keyword argument.
svn path=/main/trunk/; revision=12674
|
|
|
|
|
|
|
|
|
|
|
| |
PORTAGE_IUSE. The PORTAGE_IUSE value is lazily evaluated since re.escape()
is slow and the value is only used when an ebuild phase needs to be executed
(it's used only to generate QA notices). Thanks to Marat Radchenko
<slonopotamusorama@gmail.com> for identifying this performance issue and
submitting the initial patch which used a memoization approach instead of
lazy evaluation.
svn path=/main/trunk/; revision=12673
|
|
|
|
|
|
| |
the singleton since the wrapper is no longer needed at this point.
svn path=/main/trunk/; revision=12672
|
|
|
|
| |
svn path=/main/trunk/; revision=12669
|
|
|
|
|
|
| |
compatibility with python-3.0.
svn path=/main/trunk/; revision=12668
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unicode objects, which trigger and exception like this:
File "//usr/lib64/portage/pym/portage/dep.py", line 535, in __init__
obj_setattr(self, x, getattr(s, x))
AttributeError: 'unicode' object has no attribute '__eq__'
To solve this problem, convert unicode objects to plain str before passing
them to the portage api.
svn path=/main/trunk/; revision=12667
|
|
|
|
|
|
| |
SpawnProcess._start().
svn path=/main/trunk/; revision=12666
|
|
|
|
|
|
|
|
| |
order to avoid an extreme performance issue, disable buffering when opening
the file under python-3.0. Unfortunately, performance is still poor relative
to python-2.x, but buffering makes it much worse.
svn path=/main/trunk/; revision=12665
|
|
|
|
|
|
| |
in portage(5).
svn path=/main/trunk/; revision=12664
|
|
|
|
| |
svn path=/main/trunk/; revision=12663
|
|
|
|
|
|
| |
StringIO usage with shlex.split() where appropriate.
svn path=/main/trunk/; revision=12662
|
|
|
|
|
|
| |
snakeoil.demandload.demandload() function.
svn path=/main/trunk/; revision=12661
|
|
|
|
| |
svn path=/main/trunk/; revision=12659
|
|
|
|
| |
svn path=/main/trunk/; revision=12658
|
|
|
|
|
|
| |
to ABCD for reporting.
svn path=/main/trunk/; revision=12656
|
|
|
|
|
|
| |
Thanks to Jeremy Olexa <darkside@g.o> for the suggestion.
svn path=/main/trunk/; revision=12655
|
|
|
|
|
|
| |
add a corresponding test case.
svn path=/main/trunk/; revision=12654
|
|
|
|
|
|
|
|
| |
since it can be more efficient to call cp_list() on each category.
Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for the
suggestion.
svn path=/main/trunk/; revision=12653
|
|
|
|
|
|
| |
since sys.stdout is a text stream.
svn path=/main/trunk/; revision=12649
|