summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/BinpkgFetcher.py
Commit message (Collapse)AuthorAgeFilesLines
* Use sys.__std*.fileno() in case of overrides.Zac Medico2012-08-221-5/+5
| | | | | This fixes AttributeError exceptions for API consumers that override sys.std* streams pseudo-file objects.
* AsynchronousTask: skip cancelled check in _startZac Medico2012-02-141-3/+0
| | | | | These checks should be irrelevant, since the cancel() method is never called on anything that hasn't been started already.
* BinpkgFetcher: support selinux PORTAGE_FETCH_TZac Medico2011-07-211-0/+2
| | | | | Thanks to Sven Vermeulen <sven.vermeulen@siphos.be> for the initial patch posted on bug #375835.
* SubProcess: fix status for _set_returncode callerZac Medico2011-06-091-1/+1
| | | | | | These callers don't intend to make WIFSIGNALED return True, so they need to shift their codes 8 bits to the left. This ensures that commit 88f5bf84e2fd23125910b2ecaffc035971445696 behaves as intended.
* BinpkgFetcher: handle AsynchronousLock failureZac Medico2011-05-161-1/+6
|
* Update Portage to support multiple binhosts.David James2011-01-261-2/+2
| | | | | | | | | | | BUG=chromium-os:11295 TEST=Build x86-mario with multiple binhosts (board binhost, preflight binhost) and verify that binaries are picked up from both binhosts. Also verify that if one of the binhosts fails, the other binhost is used correctly. Review URL: http://codereview.chromium.org/6329022 Change-Id: I095f28c82e3effbc25105af6ac89e42c335e6381
* BinpkgFetcher: ust pty like EbuildFetcherZac Medico2011-01-191-1/+16
|
* AsynchronousLock: use subprocess if no threadsZac Medico2010-10-211-2/+2
|
* Make BinpkgFetcher use AsynchronousLock.Zac Medico2010-09-251-3/+7
|
* Fix SubProcess instances to call _set_returncode() when appropriate,Zac Medico2010-08-151-2/+2
| | | | instead of setting self.returncode directly.
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* When integer mtime is desired, use stat_obj[stat.ST_MTIME] instead of theZac Medico2009-12-211-1/+2
| | | | | | float st_mtime in order to avoid rounding *up* in some rare cases. svn path=/main/trunk/; revision=15125
* Define long as int when Python 3 is used.Arfrever Frehtes Taifersar Arahesis2009-09-211-0/+3
| | | | svn path=/main/trunk/; revision=14343
* Use dict.(keys|values|items)() instead of ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-1/+1
| | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327
* Update system imports for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-2/+5
| | | | svn path=/main/trunk/; revision=14294
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-111-8/+2
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13993
* Add a new portage.util.shlex_split() function to wrap all shlex.split() calls,Zac Medico2009-08-061-2/+2
| | | | | | since shlex.split() doesn't behave well with unicode strings. svn path=/main/trunk/; revision=13939
* Add/update copyright headers.Zac Medico2009-06-251-0/+4
| | | | svn path=/main/trunk/; revision=13690
* Bug #275047 - Split _emerge/__init__.py into smaller pieces. Thanks toZac Medico2009-06-221-0/+151
Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13663