summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Use portage._merge_encoding to encode/decode all filenames duringZac Medico2009-08-144-20/+87
| | | | | | merge/unmerge operations. svn path=/main/trunk/; revision=14027
* Don't 'del sys.modules["selinux"]' when selinux support isn't enabled inZac Medico2009-08-141-5/+1
| | | | | | the portage config, because that just assumes too much. svn path=/main/trunk/; revision=14026
* Make sure portage.selinux and _selinux exist, even when import fails, soZac Medico2009-08-141-2/+3
| | | | | | that 'from portage import selinux' never fails inside vartree.py. svn path=/main/trunk/; revision=14025
* Add an 'encoding' parameter to movefile(), so that we can make it obeyZac Medico2009-08-141-3/+13
| | | | | | sys.getfilesystemencoding() when called for merge/unmerge. svn path=/main/trunk/; revision=14024
* Don't use the unicode-wrapped os and shutil modules here sinceZac Medico2009-08-141-2/+5
| | | | | | the whole _selinux module itself will be wrapped. svn path=/main/trunk/; revision=14023
* Replace the selinux.spawn() function with a spawn_wrapper() function andZac Medico2009-08-142-24/+22
| | | | | | use it inside portage._spawn_fetch() and portage.spawn(). svn path=/main/trunk/; revision=14022
* Make _ensure_default_encoding() provide a fallback for the codec returnedZac Medico2009-08-141-2/+15
| | | | | | by sys.getfilesystemencoding(). svn path=/main/trunk/; revision=14021
* Use portage's selinux wrapper module for mkdir calls.Zac Medico2009-08-141-6/+3
| | | | svn path=/main/trunk/; revision=14020
* Create portage._merge_encoding and a corresponding _os_merge wrapper thatZac Medico2009-08-131-9/+15
| | | | | | will later be used for all the merge code. svn path=/main/trunk/; revision=14019
* Add support for an 'encoding' parameter to _unicode_module_wrapper(). ThisZac Medico2009-08-131-15/+22
| | | | | | | will allow creation of specialize wrappers for merge/unmerge, in case the value of sys.getfilesystemencoding() is something other than utf_8. svn path=/main/trunk/; revision=14018
* Add support for unwrapped/overridden attributes in _unicode_module_wrapper().Zac Medico2009-08-131-5/+12
| | | | svn path=/main/trunk/; revision=14017
* Add py3k support to _unicode_decode().Zac Medico2009-08-131-2/+7
| | | | svn path=/main/trunk/; revision=14016
* Bug #281355 - Handle IndexError inside reconstruct_eclasses().Zac Medico2009-08-131-0/+3
| | | | svn path=/main/trunk/; revision=14015
* Set a limit of 30 backtracking attempts, since it's possible for it toZac Medico2009-08-121-3/+4
| | | | | | go out of control and take an unreasonable amount of time. svn path=/main/trunk/; revision=14014
* Use r'' for regex.Zac Medico2009-08-121-1/+1
| | | | svn path=/main/trunk/; revision=14013
* Bug #281133 - Fix the here-document code inside run_checks() to properlyZac Medico2009-08-121-1/+1
| | | | | | detect the end of a here-document when it is indented by whitespace. svn path=/main/trunk/; revision=14012
* Use _unicode_encode() and _unicode_decode() where appropriate.Zac Medico2009-08-121-17/+21
| | | | svn path=/main/trunk/; revision=14011
* Call _ensure_default_encoding() ASAP since writemsg() might not work withoutZac Medico2009-08-121-131/+132
| | | | | | it. svn path=/main/trunk/; revision=14010
* Use _unicode_encode() where appropriate.Zac Medico2009-08-122-7/+9
| | | | svn path=/main/trunk/; revision=14009
* Use a single sys.hexversion conditional for both _unicode_func_wrapper()Zac Medico2009-08-122-2/+3
| | | | | | and _unicode_module_wrapper(). svn path=/main/trunk/; revision=14008
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-122-17/+20
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=14007
* Implement ObjectProxy.__int__().Zac Medico2009-08-121-0/+3
| | | | svn path=/main/trunk/; revision=14006
* Show a traceback when spawn() fails.Zac Medico2009-08-121-0/+2
| | | | svn path=/main/trunk/; revision=14005
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-112-7/+7
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=14004
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-114-51/+51
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=14003
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-117-36/+46
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=14002
* Wrap portage.data.lchown() for unicode support in python-2.x.Zac Medico2009-08-112-2/+6
| | | | svn path=/main/trunk/; revision=14001
* Filter ACCEPT_PROPERTIES from the ebuild environment, since unlikeZac Medico2009-08-111-2/+2
| | | | | | | ACCEPT_LICENSE (used by check_license in eutils.eclass), ACCEPT_PROPERTIES should never be needed in the ebuild environment. svn path=/main/trunk/; revision=14000
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-112-19/+16
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13999
* Temporarily delete the os and shutil imports, to ensure that only theZac Medico2009-08-111-2/+10
| | | | | | wrapped versions are imported by portage internals. svn path=/main/trunk/; revision=13998
* Add ACCEPT_PROPERTIES variable which has default value * and can be set inMounir Lamouri2009-08-114-4/+166
| | | | | | | make.conf or /etc/portage/package.properties. If ACCEPT_PROPERTIES doesn't match ebuild PROPERTIES, the ebuild is masked. svn path=/main/trunk/; revision=13997
* Update imports to import portage.os and portage.shutil (with unicodeZac Medico2009-08-112-35/+27
| | | | | | wrappers), and use _unicode_encode() where appropriate. svn path=/main/trunk/; revision=13996
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-1113-110/+29
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13995
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-1111-71/+27
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13994
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-1135-170/+82
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13993
* Avoid using the wrapped os.read(), in order to avoid differing behaviorZac Medico2009-08-111-9/+4
| | | | | | | | between python-2.x (with wrapper) and py3k (without wrapper). This sort of mismatch only applies to os functions that return raw bytes under py3k, rather than unicode. svn path=/main/trunk/; revision=13992
* Fix breakage from previous commit.Zac Medico2009-08-111-1/+1
| | | | svn path=/main/trunk/; revision=13991
* Fix unicode support for compatibility with the new wrapped os module, andZac Medico2009-08-112-63/+31
| | | | | | use _unicode_decode() and _unicode_encode() where appropriate. svn path=/main/trunk/; revision=13990
* Bug #280460 - Wrap portage.os with unicode encode/decode wrappers.Zac Medico2009-08-102-2/+4
| | | | svn path=/main/trunk/; revision=13989
* This is an unused commandline interface to xpak.xpak().Zac Medico2009-08-101-18/+0
| | | | svn path=/main/trunk/; revision=13988
* Add portage ImportError sys.path insertion.Zac Medico2009-08-101-0/+7
| | | | svn path=/main/trunk/; revision=13987
* This is an uneeded script for parsing ldd output.Zac Medico2009-08-101-44/+0
| | | | svn path=/main/trunk/; revision=13986
* This definitely obsolete.Zac Medico2009-08-101-31/+0
| | | | svn path=/main/trunk/; revision=13985
* This is an obsolete shell script for applying package moves vardb entry.Zac Medico2009-08-101-20/+0
| | | | svn path=/main/trunk/; revision=13984
* This script is obsolete since manifest 2.Zac Medico2009-08-101-100/+0
| | | | svn path=/main/trunk/; revision=13983
* This old script does checksums on installed files. People use equery for thisZac Medico2009-08-101-66/+0
| | | | | | now. svn path=/main/trunk/; revision=13982
* This is a commandline interface to pkgsplit() that probably isn't used byZac Medico2009-08-101-20/+0
| | | | | | anyone. We can add a function like this to portageq. svn path=/main/trunk/; revision=13981
* This is an old emerge profiling script that probably doesn't work.Zac Medico2009-08-101-44/+0
| | | | svn path=/main/trunk/; revision=13980
* Add portage ImportError sys.path insertion.Zac Medico2009-08-101-1/+8
| | | | svn path=/main/trunk/; revision=13979
* Bug #280460 - Wrap os and os.path modules with unicode encode/decodeZac Medico2009-08-102-1/+69
| | | | | | wrappers for python-2.x. svn path=/main/trunk/; revision=13978