summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Tweak TERM usage in xtermTitleReset() to match that in xtermTitle().Zac Medico2010-01-291-1/+4
| | | | | | (trunk r15190) svn path=/main/branches/2.1.7/; revision=15245
* Skip global updates for help, version, and info actions. (trunk r15179)Zac Medico2010-01-291-1/+2
| | | | svn path=/main/branches/2.1.7/; revision=15241
* Add a TODO comment for improved handling of /lib/modules. (trunk r15173)Zac Medico2010-01-291-0/+4
| | | | svn path=/main/branches/2.1.7/; revision=15239
* In python-2.x, convert PortageException.value attribute from unicode to strZac Medico2010-01-291-0/+5
| | | | | | in order to avoid empty output with string format operator. (trunk r15169) svn path=/main/branches/2.1.7/; revision=15237
* Handle AttributeError inside atomic_ofstream.__del__. Thanks to Cardoe forZac Medico2010-01-291-3/+7
| | | | | | reporting. (trunk r15168) svn path=/main/branches/2.1.7/; revision=15236
* Rearrange _selinux ImportError handling so the workaround for bug #298310Zac Medico2010-01-291-10/+6
| | | | | | isn't necessary. (trunk r15167) svn path=/main/branches/2.1.7/; revision=15235
* Revert r15161 so 12.2.5 is greater than 12.2b once again. Depending on how youZac Medico2010-01-292-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. (trunk r15166) svn path=/main/branches/2.1.7/; revision=15234
* More cases. (trunk r15165)Zac Medico2010-01-291-0/+3
| | | | svn path=/main/branches/2.1.7/; revision=15233
* Add some more cases for versions with letter suffixes. (trunk r15164)Zac Medico2010-01-291-0/+3
| | | | svn path=/main/branches/2.1.7/; revision=15232
* Add test cases for cvs versions. (trunk r15163)Zac Medico2010-01-291-0/+3
| | | | svn path=/main/branches/2.1.7/; revision=15231
* Fix vercmp so 1b > 1 and add corresponding tests. (trunk r15162)Zac Medico2010-01-292-1/+10
| | | | svn path=/main/branches/2.1.7/; revision=15230
* Revert vercmp() behavior so 12.2b > 12.2.5 which was accidentally changed inZac Medico2010-01-292-8/+15
| | | | | | | r2309 (between portage-2.0.x and portage-2.1). Thanks to Brian Harring for reporting in bug #287848, comment #3. (trunk r15161) svn path=/main/branches/2.1.7/; revision=15229
* Add test cases for implicit .0 at end of version. (trunk r15160)Zac Medico2010-01-291-0/+3
| | | | svn path=/main/branches/2.1.7/; revision=15228
* Bug #298310 - Make sure the _selinux attribute is correctly reinitialized afterZac Medico2010-01-291-0/+3
| | | | | | reload(portage) is called. (trunk r15159) svn path=/main/branches/2.1.7/; revision=15227
* Use get_term_size() to adjust to current terminal width. Thanks to Dror LevinZac Medico2010-01-291-2/+6
| | | | | | <spatz@g.0> for the initial patch. (trunk r15156) svn path=/main/branches/2.1.7/; revision=15224
* Add some tests related to bug #287848. (trunk r15155)Zac Medico2010-01-291-3/+9
| | | | svn path=/main/branches/2.1.7/; revision=15223
* Remove obsolete backing up of ROOTPATH via PORTAGE_ROOTPATH. (trunk r15143)Zac Medico2009-12-241-6/+0
| | | | svn path=/main/branches/2.1.7/; revision=15144
* If the TERM environment variable is unset then just use internal defaultZac Medico2009-12-241-1/+3
| | | | | | | term codes since the vt100 codes typically produce strange output. This fixes strange output from catalyst stage1 builds. (trunk r15129) svn path=/main/branches/2.1.7/; revision=15141
* Bug #297541 - Make $(no-as-needed) trigger upstream.workaround warning. ThanksZac Medico2009-12-242-1/+8
| | | | | | to Samuli Suominen <ssuominen@g.o> for this patch. (trunk r15128) svn path=/main/branches/2.1.7/; revision=15140
* Add missing stat import. (trunk r15127)Zac Medico2009-12-241-0/+1
| | | | svn path=/main/branches/2.1.7/; revision=15139
* When integer mtime is desired, use stat_obj[stat.ST_MTIME] instead of theZac Medico2009-12-241-1/+1
| | | | | | | float st_mtime in order to avoid rounding *up* in some rare cases. (trunk r15126) svn path=/main/branches/2.1.7/; revision=15138
* When integer mtime is desired, use stat_obj[stat.ST_MTIME] instead of theZac Medico2009-12-2412-20/+26
| | | | | | | float st_mtime in order to avoid rounding *up* in some rare cases. (trunk r15125) svn path=/main/branches/2.1.7/; revision=15137
* Remove some old debug code that should not have been committed. (trunk r15124)Zac Medico2009-12-241-21/+0
| | | | svn path=/main/branches/2.1.7/; revision=15136
* Use portage.writemsg for lazy portage.util import. (trunk r15108)v2.1.7.15Zac Medico2009-12-171-2/+2
| | | | svn path=/main/branches/2.1.7/; revision=15109
* Convert bytes to unicode for exception messages. (trunk r15106)Zac Medico2009-12-171-0/+8
| | | | svn path=/main/branches/2.1.7/; revision=15107
* Bug #286497 - Make setexec() warn/nonfatal in permissive mode. Thanks toZac Medico2009-12-171-1/+10
| | | | | | Chris PeBenito <pebenito@gentoo.org> for this patch. (trunk r15100) svn path=/main/branches/2.1.7/; revision=15105
* Fix typo. (trunk r15099)Zac Medico2009-12-171-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=15104
* Warn if /proc is not mounted. (trunk r15097)Zac Medico2009-12-171-0/+11
| | | | svn path=/main/branches/2.1.7/; revision=15102
* 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. (trunk r15056) svn path=/main/branches/2.1.7/; revision=15089
* Bug #296641 - Avoid UnicodeEncodeError with python2 in eapi_is_supported()Zac Medico2009-12-131-1/+5
| | | | | | triggered by corrupt EAPI. (trunk r15055) svn path=/main/branches/2.1.7/; revision=15088
* In movefile mtime preservation code, simply round down to the nearest wholeZac Medico2009-12-131-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. (trunk r15054) svn path=/main/branches/2.1.7/; revision=15087
* Remove redundant EPREFIX, EROOT, and ROOT assingments insideZac Medico2009-12-131-5/+0
| | | | | | doebuild_environment(). (trunk r15052) svn path=/main/branches/2.1.7/; revision=15086
* Remove unused STARTDIR variable. (trunk r15051)Zac Medico2009-12-131-2/+1
| | | | svn path=/main/branches/2.1.7/; revision=15085
* Unset prefix vars for depend phase (even if EAPI is known). (trunk r15050)Zac Medico2009-12-131-2/+1
| | | | svn path=/main/branches/2.1.7/; revision=15084
* Unset prefix vars for depend phase when EAPI is unknown. (trunk r15049)Zac Medico2009-12-131-1/+2
| | | | svn path=/main/branches/2.1.7/; revision=15083
* Fix typo. (trunk r15047)Zac Medico2009-12-131-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=15081
* In movefile mtime rounding code, generate nanosecond resolution (9 decimalZac Medico2009-12-131-21/+15
| | | | | | | places) in order to ensure that the floating point representation is the highest value possible without rounding up. (trunk r15046) svn path=/main/branches/2.1.7/; revision=15080
* Remove redundant EPREFIX setting since it's already initialized earlier in theZac Medico2009-12-131-4/+0
| | | | | | config constructor. (trunk r15044) svn path=/main/branches/2.1.7/; revision=15078
* Just use integer mtime if no fractional seconds are found in the search.Zac Medico2009-12-131-1/+4
| | | | | | (trunk r15040) svn path=/main/branches/2.1.7/; revision=15074
* Tweak movefile() timestamp preservation code to maximize precision for oldZac Medico2009-12-131-21/+21
| | | | | | timestamps that are closer to the epoch. (trunk r15039) svn path=/main/branches/2.1.7/; revision=15073
* Add missing line from previous commit. (trunk r15038)Zac Medico2009-12-131-0/+1
| | | | svn path=/main/branches/2.1.7/; revision=15072
* In movefile() timestamp preservation code, use another loop to search forZac Medico2009-12-131-0/+9
| | | | | | another digit of precision. (trunk r15037) svn path=/main/branches/2.1.7/; revision=15071
* Add EAPI to the whitelist to ensure it's always available as early as possible.Zac Medico2009-12-131-1/+1
| | | | | | (trunk r15036) svn path=/main/branches/2.1.7/; revision=15070
* Add EAPI 3_pre2 to conditinals so the EAPI 4 stuff is disabled. (trunk r15035)Zac Medico2009-12-132-5/+5
| | | | svn path=/main/branches/2.1.7/; revision=15069
* Add support for EAPI 3_pre2. (trunk r15033)Zac Medico2009-12-131-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=15067
* In config.environ(), only export ED, EPREFIX, and EROOT to the ebuildZac Medico2009-12-131-0/+6
| | | | | | | environment starting with EAPI 3 (so people won't write ebuilds that are incompatible with older package managers). (trunk r15032) svn path=/main/branches/2.1.7/; revision=15066
* Filter prefix variables ED, EPREFIX, and EROOT insideZac Medico2009-12-131-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. (trunk r15030) svn path=/main/branches/2.1.7/; revision=15064
* Don't use lazy import for portage.cache.mappings because it's imported anyway.Zac Medico2009-12-131-8/+6
| | | | | | (trunk r15029) svn path=/main/branches/2.1.7/; revision=15063
* Use collections.OrderedDict when available (python-2.7) and fall back toZac Medico2009-12-132-2/+10
| | | | | | | | portage.cache.mappings.OrderedDict for older python. Also, use OrderedDict inside fetch() so that files are fetched in the order that they appear in SRC_URI. (trunk r15028) svn path=/main/branches/2.1.7/; revision=15062
* Implement forward compatible Prefix support. This makes EPREFIX, ED andZac Medico2009-12-131-2/+20
| | | | | | | | | | EROOT available to the ebuild environment, and updates the manpage accordingly. EPREFIX is hardwired to the empty string, and not configurable. For that, the prefix branch should be used for now. This should satisfy the requirements for EAPI=3. (trunk r15024) svn path=/main/branches/2.1.7/; revision=15060