summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* 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-113-3/+165
| | | | | | | 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-1122-156/+57
| | | | | | _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
* 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
* Bug #280998 - Misc selinux fixes. Thanks to Chris PeBenitoZac Medico2009-08-102-10/+15
| | | | | | <pebenito@gentoo.org> for this patch. svn path=/main/trunk/; revision=13977
* Open new items in text mode (unicode), and safely handle unicode in news itemv2.2_rc38Zac Medico2009-08-101-1/+5
| | | | | | names. svn path=/main/trunk/; revision=13975
* Bug #280962 - Fix broken path normalization insideZac Medico2009-08-101-9/+10
| | | | | | StaticFileSet.multiBuilder(). svn path=/main/trunk/; revision=13974
* Use writemsg_stdout() for safe unicode output of --list-sets.Zac Medico2009-08-101-3/+2
| | | | svn path=/main/trunk/; revision=13973
* Fix PreservedLibsRegistry.pruneNonExisting() to work with $ROOT.Zac Medico2009-08-101-4/+9
| | | | svn path=/main/trunk/; revision=13972
* Don't trigger the --root-deps code for removal actions such as --prune andZac Medico2009-08-101-7/+8
| | | | | | --depclean. svn path=/main/trunk/; revision=13971
* In calc_depclean(), sort packages that are displayed due to being pulledZac Medico2009-08-101-1/+2
| | | | | | in by link level dependencies. svn path=/main/trunk/; revision=13970
* Tweak $ROOT handling inside depgraph._add_pkg_deps() for removal actions,Zac Medico2009-08-101-0/+2
| | | | | | so --with-bdeps works correctly with --depclean and --prune. svn path=/main/trunk/; revision=13969
* Inside calc_depclean(), use LinkageMap.findConsumers() for checkingZac Medico2009-08-101-15/+11
| | | | | | | intersection of files being removed with providers in the LinkageMap (a KeyError is raised when there is no intersection). svn path=/main/trunk/; revision=13968
* Remove unused import.v2.2_rc37Zac Medico2009-08-091-1/+0
| | | | svn path=/main/trunk/; revision=13966
* Make everything safe for unicode (this should fix the elog modules thatZac Medico2009-08-091-1/+28
| | | | | | send mail). svn path=/main/trunk/; revision=13965
* Fix EOutput to safely write unicode to stderr/stdout. Thanks to Arfrever forZac Medico2009-08-091-14/+17
| | | | | | reporting. svn path=/main/trunk/; revision=13964
* Encode unicode messages as bytes in order to avoid TypeError fromZac Medico2009-08-091-6/+14
| | | | | | syslog.syslog() with python-2.x. svn path=/main/trunk/; revision=13962
* Write log files in text mode (unicode). Thanks to Arfrever for reporting.Zac Medico2009-08-092-2/+6
| | | | svn path=/main/trunk/; revision=13961
* Always use encoding='utf_8' for unicode() calls.Zac Medico2009-08-094-5/+7
| | | | svn path=/main/trunk/; revision=13960
* Inside collect_ebuild_messages(), open elog files in text mode (unicode).Zac Medico2009-08-091-1/+3
| | | | | | Thanks to jlec for reporting. svn path=/main/trunk/; revision=13958
* Convert scanelf output to unicode inside LinkageMap.rebuild().Zac Medico2009-08-081-0/+2
| | | | svn path=/main/trunk/; revision=13957
* Use writemsg_stdout() for safe display of unicode overlay paths.Zac Medico2009-08-081-1/+1
| | | | svn path=/main/trunk/; revision=13956
* Use writemsg_stdout() for safe unicode output.Zac Medico2009-08-081-8/+18
| | | | svn path=/main/trunk/; revision=13955
* Add missing noiselevel argument in writemsg_stdout() calls.Zac Medico2009-08-081-3/+5
| | | | svn path=/main/trunk/; revision=13954
* In Task.__str__(), emulate tuple.__str__, but don't show 'foo' as u'foo' forZac Medico2009-08-081-2/+5
| | | | | | unicode strings. svn path=/main/trunk/; revision=13950
* Account for hardlinks when computing SIZE metadata.Zac Medico2009-08-081-1/+4
| | | | svn path=/main/trunk/; revision=13949
* Use writemsg_stdout() for safe unicode output.Zac Medico2009-08-071-17/+3
| | | | svn path=/main/trunk/; revision=13948
* Open repo_name in text mode (unicode).Zac Medico2009-08-071-1/+2
| | | | svn path=/main/trunk/; revision=13947
* In config.__setitem__(), convert keys/values to unicode in order to avoidZac Medico2009-08-071-1/+8
| | | | | | potential UnicodeDecodeError exceptions later. svn path=/main/trunk/; revision=13946
* Convert environment variables to unicode inside the config constructor, inZac Medico2009-08-071-1/+11
| | | | | | order to avoid potential UnicodeDecodeError exceptions later. svn path=/main/trunk/; revision=13945
* Make spawn decode unicode in order to avoid a potential UnicodeEncodeErrorZac Medico2009-08-071-0/+11
| | | | | | from os.execve(). svn path=/main/trunk/; revision=13944
* In getconfig(), specify utf_8 encoding for py3k.Zac Medico2009-08-061-1/+5
| | | | svn path=/main/trunk/; revision=13943
* In shlex_split(), don't encode unicode for py3k. Thanks to Arfrever.Zac Medico2009-08-061-1/+1
| | | | svn path=/main/trunk/; revision=13942
* Make getconfig() return unicode type and remove corresponding env_update()Zac Medico2009-08-062-11/+4
| | | | | | workaround from bug #280460. svn path=/main/trunk/; revision=13941
* Fix filter_loglevels() and filter_phases() to work with unicode.Zac Medico2009-08-061-2/+2
| | | | svn path=/main/trunk/; revision=13940
* Add a new portage.util.shlex_split() function to wrap all shlex.split() calls,Zac Medico2009-08-0610-26/+36
| | | | | | since shlex.split() doesn't behave well with unicode strings. svn path=/main/trunk/; revision=13939
* Filter PORTAGE_NONFATAL from the environment where appropriate.Zac Medico2009-08-061-1/+2
| | | | svn path=/main/trunk/; revision=13938
* Bug #280521 - Update selinux support to use the libselinux swig wrapper apiZac Medico2009-08-062-17/+105
| | | | | | | | instead of python-selinux. Thanks to Chris PeBenito <pebenito@gentoo.org> for the initial patch which I've tweaked with whitespace changes and unicode support. svn path=/main/trunk/; revision=13937
* Inside _post_src_install_uid_fix() (since we're already walking the filesZac Medico2009-08-061-0/+7
| | | | | | | here), compute total size of installed files and save it as SIZE in the vardb. This will be useful for the packagekit backend. svn path=/main/trunk/; revision=13933
* Convert unicode if necessary before writing to stdout.Zac Medico2009-08-061-11/+12
| | | | svn path=/main/trunk/; revision=13932