| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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
|
|
|
|
|
|
| |
unsupported pickle protocol.
svn path=/main/trunk/; revision=12648
|
|
|
|
| |
svn path=/main/trunk/; revision=12647
|
|
|
|
| |
svn path=/main/trunk/; revision=12646
|
|
|
|
|
|
| |
them to hashlib.
svn path=/main/trunk/; revision=12645
|
|
|
|
|
|
| |
SyntaxError: can not delete variable 'e' referenced in nested scope
svn path=/main/trunk/; revision=12644
|
|
|
|
| |
svn path=/main/trunk/; revision=12643
|
|
|
|
| |
svn path=/main/trunk/; revision=12642
|
|
|
|
|
|
| |
mode.
svn path=/main/trunk/; revision=12641
|
|
|
|
|
|
| |
inheriting directly from file.
svn path=/main/trunk/; revision=12640
|
|
|
|
| |
svn path=/main/trunk/; revision=12639
|
|
|
|
|
|
| |
map() usage that 2to3 warns about.
svn path=/main/trunk/; revision=12638
|