summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix transposition of CodecInfo streamreader and streamwriter attributesZac Medico2009-08-061-2/+2
| | | | | | | | | inside _gen_missing_encodings(). This solves 'TypeError: an integer is required' exceptions from codecs.open().readlines([sizehint]), triggered when python is built with USE=build (stage 1). Thanks to Daniel Robbins for reporting. svn path=/main/trunk/; revision=13925
* Fix UnicodeEncodeError in vardbapi._owners_cache._hash_str(), reported byZac Medico2009-08-051-1/+1
| | | | | | jlec on irc. svn path=/main/trunk/; revision=13924
* Bug #280460 - Fix UnicodeDecodeError in env_update() due to non-unicodeZac Medico2009-08-051-0/+12
| | | | | | strings from getconfig(). TODO: Make getconfig() return unicode. svn path=/main/trunk/; revision=13921
* correct pointer, as pointed out by darkside in IRCFabian Groffen2009-08-051-1/+1
| | | | svn path=/main/trunk/; revision=13920
* Fix insert_optional_args() to properly handle thinks like -Dk which requireZac Medico2009-08-051-1/+3
| | | | | | multiple substitutions of default arguments. svn path=/main/trunk/; revision=13919
* s/utf8/utf_8/ for consistencyv2.2_rc36Zac Medico2009-08-051-1/+1
| | | | svn path=/main/trunk/; revision=13917
* Fix the FEATURES=parse-eapi-ebuild-head regex to handle comments on the sameZac Medico2009-08-051-1/+1
| | | | | | | | | | line, like this: EAPI=2 #foo Thanks to Markus Meier <maekke@gentoo.org> for reporting. svn path=/main/trunk/; revision=13916
* Open ld.so.conf as text (unicode).Zac Medico2009-08-051-1/+2
| | | | svn path=/main/trunk/; revision=13915
* In _check_build_log(), open the log in text mode (unicode).Zac Medico2009-08-051-1/+2
| | | | svn path=/main/trunk/; revision=13914
* Open file in text mode (unicode) where appropriate.Zac Medico2009-08-059-9/+34
| | | | svn path=/main/trunk/; revision=13913
* Open all files in binary mode for py3k compatibility.Zac Medico2009-08-041-15/+15
| | | | svn path=/main/trunk/; revision=13912
* Fix bindbapi.aux_get and aux_update to work with py3k/unicode.Zac Medico2009-08-041-7/+30
| | | | svn path=/main/trunk/; revision=13911
* Avoid UnicodeEncodeError with unicode package.mask comments. Thanks toZac Medico2009-08-041-0/+5
| | | | | | Thanks to Scott Moreau (soreau) for reporting. svn path=/main/trunk/; revision=13910
* Fix vardbapi._aux_get() to always return unicode.Zac Medico2009-08-041-2/+2
| | | | svn path=/main/trunk/; revision=13909
* Fix tar_contents() to open files in binary mode for py3k compatibility.Zac Medico2009-08-041-1/+1
| | | | svn path=/main/trunk/; revision=13908
* Always return unicode from vardbapi.aux_get().Zac Medico2009-08-041-2/+9
| | | | svn path=/main/trunk/; revision=13907
* Decode arguments to unicode if necessary (needed at least for unicode fileZac Medico2009-08-041-2/+7
| | | | | | names passed to the owners command). svn path=/main/trunk/; revision=13906
* Bug #280269 - Fix Atom.__str__ so that it doesn't try to encode a unicodeZac Medico2009-08-041-1/+3
| | | | | | | string (resulting in UnicodeEncodeError). If an Atom instance is passed into the constructor, just return the given instance. svn path=/main/trunk/; revision=13905
* Bug #280269 - Decode commandline arguments to unicode when necessary.Zac Medico2009-08-041-0/+4
| | | | svn path=/main/trunk/; revision=13904
* Bug #280269 - Fix StaticFileSet.multiBuilder() to handle unicode filenames.Zac Medico2009-08-041-0/+3
| | | | svn path=/main/trunk/; revision=13903
* Open CONTENTS in text mode (to avoid UnicodeEncodeError). Thanks to MarkosZac Medico2009-08-041-2/+5
| | | | | | Chandras <hwoarang@gentoo.org> for reporting. svn path=/main/trunk/; revision=13902
* Open log files in text mode (to avoid UnicodeEncodeError). Thanks to MarkosZac Medico2009-08-041-3/+7
| | | | | | Chandras <hwoarang@gentoo.org> for reporting. svn path=/main/trunk/; revision=13901
* Avoid UnicodeEncodeError in writemsg(). Thanks to Markos ChandrasZac Medico2009-08-041-0/+3
| | | | | | <hwoarang@gentoo.org> for reporting. svn path=/main/trunk/; revision=13900
* Bug #280275 - Fix exception: AttributeError: 'config' object has no attributeZac Medico2009-08-041-1/+2
| | | | | | '_license_groups'. svn path=/main/trunk/; revision=13898
* Bug #280320 - Fix broken _emerge.main ImportError handler..Zac Medico2009-08-041-1/+1
| | | | svn path=/main/trunk/; revision=13895
* Revert the code from bug #278729 for now since it need to be redone in orderZac Medico2009-08-041-28/+6
| | | | | | to account for the issue described in comment #3. svn path=/main/trunk/; revision=13894
* In the dep_zapdeps() code from bug #278729, set all_use_satisfied = FalseZac Medico2009-08-041-0/+1
| | | | | | if the choice includes an unavailable package. svn path=/main/trunk/; revision=13893
* Fix dep_zapdeps exception 'ValueError: need more than 3 values to unpack'Zac Medico2009-08-041-1/+1
| | | | | | from r13888. svn path=/main/trunk/; revision=13892
* Bug #280259 - Fix emaint to call binarytree._load_pkgindex() for unicodeZac Medico2009-08-041-13/+3
| | | | | | handling. svn path=/main/trunk/; revision=13891
* Bug #280259 - Fix binarytree to always open the Packages file as unicode.Zac Medico2009-08-041-25/+7
| | | | svn path=/main/trunk/; revision=13890
* Bug #280259 - Use codecs.open() when reading the Packages file insideZac Medico2009-08-041-1/+3
| | | | | | | binarytree.inject(), in order to avoid a UnicodeDecodeError when the file is later written as a unicode stream (via atomic_ofstream). svn path=/main/trunk/; revision=13889
* Fix a regression caused by the code from bug #278729, which causes incorrectZac Medico2009-08-041-4/+20
| | | | | | | | | | | | | | preference evaluation for cases like kde-base/nepomuk: || ( >=dev-libs/soprano-2.3.0[clucene,dbus,raptor,redland] >=dev-libs/soprano-2.3.0[clucene,dbus,raptor,java] ) In cases like this we need to prefer the choice which is already satisfied by current USE configuration. Thanks to Maciej Mrozowski <reavertm@poczta.fm> for reporting. svn path=/main/trunk/; revision=13888
* Set "emerge" xterm title at the beginning of running emerge.Arfrever Frehtes Taifersar Arahesis2009-08-041-2/+4
| | | | svn path=/main/trunk/; revision=13887
* Add a PDEPEND.suspect category.v2.2_rc35v2.2_rc34Zac Medico2009-08-042-3/+8
| | | | svn path=/main/trunk/; revision=13884
* Fix NameError from r13880. Thanks to Arfrever for reporting.Zac Medico2009-08-031-1/+1
| | | | svn path=/main/trunk/; revision=13883
* Make the USE=test RDEPEND check (bug #236786) also apply to PDEPEND.Zac Medico2009-08-031-4/+5
| | | | svn path=/main/trunk/; revision=13882
* Bug #278729 - Inside dep_zapdeps(), ignore USE dependencies since we don'tZac Medico2009-08-031-1/+6
| | | | | | | | want USE settings to adversely affect || preference evaluation. Drop invalid atoms inside _expand_new_virtuals() since we only want real Atom instances inside dep_zapdeps(). svn path=/main/trunk/; revision=13881
* Bug #278729 - Add an Atom.without_use attribute which is identical to theZac Medico2009-08-032-16/+11
| | | | | | atom itself, except without any USE dependencies. svn path=/main/trunk/; revision=13880
* Remove the code from bug #278895 since we're going to need a daemon processZac Medico2009-08-034-26/+1
| | | | | | | | | | | | in the ebuild's login session in order to pass signals from the controlling terminal to the detached session. A simple fifo-based approach in ebuild.sh does not seem to work since bash's read builtin occasionally loses the fifo data when it's 'Interrupted system call'. Maybe a python script will work better for the session leader/daemon. NOTE: The daemon will also be useful for implementing a fifo-based die helper (to replace the current signal- based approach). svn path=/main/trunk/; revision=13879
* Only treat non-negative integers as valid in insert_optional_args().Zac Medico2009-08-011-2/+1
| | | | svn path=/main/trunk/; revision=13874
* Add support for --usepkg=n so that it's possible to disable it onZac Medico2009-08-013-13/+77
| | | | | | | the command line after it's been enabled in EMERGE_DEFAULT_OPTS. Also do the same for --usepkgonly, --getbinpkg, and --getbinpkgonly. svn path=/main/trunk/; revision=13873
* Add support for --complete-graph=n so that it's possible to disable it onZac Medico2009-08-013-3/+14
| | | | | | the command line after it's been enabled in EMERGE_DEFAULT_OPTS. svn path=/main/trunk/; revision=13872
* In the _check_build_log(), exclude output from dev-libs/yaz-3.0.47 whichZac Medico2009-07-311-1/+6
| | | | | | | | | | | looks like this: Configuration: Automake: ${SHELL} /var/tmp/portage/dev-libs/yaz-3.0.47/work/yaz-3.0.47/config/missing --run automake-1.10 Thanks to Robin H. Johnson <robbat2@gentoo.org> for reporting. svn path=/main/trunk/; revision=13870
* In depgraph._show_slot_collision_notice(), display $ROOT (if not /) with eachZac Medico2009-07-301-0/+2
| | | | | | slot atom. svn path=/main/trunk/; revision=13865
* Bug #276264 - Advise manual removal of the metadata/cache/ direcory when usingZac Medico2009-07-301-2/+3
| | | | | | eclass-overrides. svn path=/main/trunk/; revision=13864
* Add a python-based setsid script for use with USERLAND=BSD.Zac Medico2009-07-302-2/+15
| | | | svn path=/main/trunk/; revision=13863
* Fix breakage in owners() handling of abs paths.Zac Medico2009-07-301-1/+1
| | | | svn path=/main/trunk/; revision=13862
* Move the setsid code (from bug #278895) as early as possible.Zac Medico2009-07-301-18/+17
| | | | svn path=/main/trunk/; revision=13861
* Updating find_updated_config_files function descriptionMounir Lamouri2009-07-301-4/+4
| | | | svn path=/main/trunk/; revision=13860
* Rename get_updated_config_files() to find_updated_config_files() and makeZac Medico2009-07-302-10/+7
| | | | | | it an iterator of tuples. svn path=/main/trunk/; revision=13859