summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Bug #300744 - Inside xpak(), exclude CONTENTS for quickpkg since contents isZac Medico2010-01-131-0/+3
| | | | | | generated by the merge process. svn path=/main/trunk/; revision=15198
* Bug #300388 - Fix terminal handling code to so term codes aren't sent whenZac Medico2010-01-114-6/+13
| | | | | | TERM=dumb. svn path=/main/trunk/; revision=15191
* Tweak TERM usage in xtermTitleReset() to match that in xtermTitle().Zac Medico2010-01-111-1/+4
| | | | svn path=/main/trunk/; revision=15190
* Skip global updates for help, version, and info actions.Zac Medico2010-01-081-1/+2
| | | | svn path=/main/trunk/; revision=15179
* Add a TODO comment for improved handling of /lib/modules.Zac Medico2010-01-071-0/+4
| | | | svn path=/main/trunk/; revision=15173
* In python-2.x, convert PortageException.value attribute from unicode to strZac Medico2010-01-051-0/+5
| | | | | | in order to avoid empty output with string format operator. svn path=/main/trunk/; revision=15169
* Handle AttributeError inside atomic_ofstream.__del__. Thanks to Cardoe forZac Medico2010-01-051-3/+7
| | | | | | reporting. svn path=/main/trunk/; revision=15168
* Rearrange _selinux ImportError handling so the workaround for bug #298310Zac Medico2010-01-051-10/+6
| | | | | | isn't necessary. svn path=/main/trunk/; revision=15167
* Revert r15161 so 12.2.5 is greater than 12.2b once again. Depending on how youZac Medico2010-01-042-20/+15
| | | | | | | | look at, it may seem counter-intuitive. However, if you really think about it, it seems like it's probably safe to assume that 12.2.5 > 12.2b is the behavior that is intended by anyone who would use versions such as these. svn path=/main/trunk/; revision=15166
* More cases.Zac Medico2010-01-041-0/+3
| | | | svn path=/main/trunk/; revision=15165
* Add some more cases for versions with letter suffixes.Zac Medico2010-01-041-0/+3
| | | | svn path=/main/trunk/; revision=15164
* Add test cases for cvs versions.Zac Medico2010-01-041-0/+3
| | | | svn path=/main/trunk/; revision=15163
* Fix vercmp so 1b > 1 and add corresponding tests.Zac Medico2010-01-042-1/+10
| | | | svn path=/main/trunk/; revision=15162
* Revert vercmp() behavior so 12.2b > 12.2.5 which was accidentally changed inZac Medico2010-01-042-8/+15
| | | | | | | r2309 (between portage-2.0.x and portage-2.1). Thanks to Brian Harring for reporting in bug #287848, comment #3. svn path=/main/trunk/; revision=15161
* Add test cases for implicit .0 at end of version.Zac Medico2010-01-041-0/+3
| | | | svn path=/main/trunk/; revision=15160
* Bug #298310 - Make sure the _selinux attribute is correctly reinitialized afterZac Medico2010-01-041-0/+3
| | | | | | reload(portage) is called. svn path=/main/trunk/; revision=15159
* Use get_term_size() to adjust to current terminal width. Thanks to Dror LevinZac Medico2010-01-021-2/+6
| | | | | | <spatz@g.0> for the initial patch. svn path=/main/trunk/; revision=15156
* Add some tests related to bug #287848.Zac Medico2009-12-301-3/+9
| | | | svn path=/main/trunk/; revision=15155
* Remove obsolete backing up of ROOTPATH via PORTAGE_ROOTPATH.Zac Medico2009-12-241-6/+0
| | | | svn path=/main/trunk/; revision=15143
* If the TERM environment variable is unset then just use internal defaultZac Medico2009-12-211-1/+3
| | | | | | | term codes since the vt100 codes typically produce strange output. This fixes strange output from catalyst stage1 builds. svn path=/main/trunk/; revision=15129
* Bug #297541 - Make $(no-as-needed) trigger upstream.workaround warning. ThanksZac Medico2009-12-212-1/+8
| | | | | | to Samuli Suominen <ssuominen@g.o> for this patch. svn path=/main/trunk/; revision=15128
* Add missing stat import.Zac Medico2009-12-211-0/+1
| | | | svn path=/main/trunk/; revision=15127
* When integer mtime is desired, use stat_obj[stat.ST_MTIME] instead of theZac Medico2009-12-211-1/+1
| | | | | | float st_mtime in order to avoid rounding *up* in some rare cases. svn path=/main/trunk/; revision=15126
* When integer mtime is desired, use stat_obj[stat.ST_MTIME] instead of theZac Medico2009-12-2112-20/+26
| | | | | | float st_mtime in order to avoid rounding *up* in some rare cases. svn path=/main/trunk/; revision=15125
* Remove some old debug code that should not have been committed.Zac Medico2009-12-211-21/+0
| | | | svn path=/main/trunk/; revision=15124
* Use portage.writemsg for lazy portage.util import.v2.2_rc60Zac Medico2009-12-171-2/+2
| | | | svn path=/main/trunk/; revision=15108
* Convert bytes to unicode for exception messages.Zac Medico2009-12-171-0/+8
| | | | svn path=/main/trunk/; revision=15106
* Bug #286497 - Make setexec() warn/nonfatal in permissive mode. Thanks toZac Medico2009-12-171-1/+10
| | | | | | Chris PeBenito <pebenito@gentoo.org> for this patch. svn path=/main/trunk/; revision=15100
* Fix typo.Arfrever Frehtes Taifersar Arahesis2009-12-161-1/+1
| | | | svn path=/main/trunk/; revision=15099
* Warn if /proc is not mounted.Zac Medico2009-12-161-0/+11
| | | | svn path=/main/trunk/; revision=15097
* Inside depgraph._validate_blockers(), do not consider blockers in DEPEND ofZac Medico2009-12-132-4/+14
| | | | | | | installed packages, since DEPEND is supposed to be irrelevant for packages after they are built. svn path=/main/trunk/; revision=15056
* Bug #296641 - Avoid UnicodeEncodeError with python2 in eapi_is_supported()Zac Medico2009-12-121-1/+5
| | | | | | triggered by corrupt EAPI. svn path=/main/trunk/; revision=15055
* In movefile mtime preservation code, simply round down to the nearest wholeZac Medico2009-12-121-29/+9
| | | | | | | | second since python's float cannot preserve the st_mtim.tv_nsec field with complete precision. Note that we have to use stat_obj[stat.ST_MTIME] here because the float stat_obj.st_mtime rounds *up* sometimes. svn path=/main/trunk/; revision=15054
* Remove redundant EPREFIX, EROOT, and ROOT assingments insideZac Medico2009-12-121-5/+0
| | | | | | doebuild_environment(). svn path=/main/trunk/; revision=15052
* Remove unused STARTDIR variable.Zac Medico2009-12-121-2/+1
| | | | svn path=/main/trunk/; revision=15051
* Unset prefix vars for depend phase (even if EAPI is known).Zac Medico2009-12-121-2/+1
| | | | svn path=/main/trunk/; revision=15050
* Unset prefix vars for depend phase when EAPI is unknown.Zac Medico2009-12-121-1/+2
| | | | svn path=/main/trunk/; revision=15049
* Fix typo.Zac Medico2009-12-121-1/+1
| | | | svn path=/main/trunk/; revision=15047
* In movefile mtime rounding code, generate nanosecond resolution (9 decimalZac Medico2009-12-121-21/+15
| | | | | | | places) in order to ensure that the floating point representation is the highest value possible without rounding up. svn path=/main/trunk/; revision=15046
* Remove redundant EPREFIX setting since it's already initialized earlier in theZac Medico2009-12-121-4/+0
| | | | | | config constructor. svn path=/main/trunk/; revision=15044
* Just use integer mtime if no fractional seconds are found in the search.Zac Medico2009-12-111-1/+4
| | | | svn path=/main/trunk/; revision=15040
* Tweak movefile() timestamp preservation code to maximize precision for oldZac Medico2009-12-111-21/+21
| | | | | | timestamps that are closer to the epoch. svn path=/main/trunk/; revision=15039
* Add missing line from previous commit.Zac Medico2009-12-111-0/+1
| | | | svn path=/main/trunk/; revision=15038
* In movefile() timestamp preservation code, use another loop to search forZac Medico2009-12-111-0/+9
| | | | | | another digit of precision. svn path=/main/trunk/; revision=15037
* Add EAPI to the whitelist to ensure it's always available as early as possible.Zac Medico2009-12-111-1/+1
| | | | svn path=/main/trunk/; revision=15036
* Add EAPI 3_pre2 to conditinals so the EAPI 4 stuff is disabled.Zac Medico2009-12-112-5/+5
| | | | svn path=/main/trunk/; revision=15035
* Add support for EAPI 3_pre2.Zac Medico2009-12-111-1/+1
| | | | svn path=/main/trunk/; revision=15033
* In config.environ(), only export ED, EPREFIX, and EROOT to the ebuildZac Medico2009-12-111-0/+6
| | | | | | | environment starting with EAPI 3 (so people won't write ebuilds that are incompatible with older package managers). svn path=/main/trunk/; revision=15032
* Filter prefix variables ED, EPREFIX, and EROOT insideZac Medico2009-12-111-1/+1
| | | | | | | | | | | | | | | | filter_readonly_variables() but don't mark them readonly for now since some ebuilds/eclasses try to assign EROOT (such as kde4-base_pkg_setup) which causes the whole bash shell to exit like this: >>> Extracting info * CPV: kde-base/oxygen-icons-4.3.4 * REPO: gentoo * USE: elibc_glibc kernel_linux test userland_GNU x86 /var/tmp/portage/kde-base/oxygen-icons-4.3.4/temp/environment: line 2781: EROOT: readonly variable Also, add ED to the environment blacklist. svn path=/main/trunk/; revision=15030
* Don't use lazy import for portage.cache.mappings because it's imported anyway.Zac Medico2009-12-111-8/+6
| | | | svn path=/main/trunk/; revision=15029