Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Restrict upstream.workaround to src_compile and src_install as much as possible. | Mounir Lamouri | 2009-10-04 | 1 | -31/+36 |
| | | | | | | Prevent warnings when using emake -j1 in src_test which is recommanded. svn path=/main/trunk/; revision=14489 | ||||
* | fix mis-alignment | Fabian Groffen | 2009-10-04 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14488 | ||||
* | Generate an eerror message in dblink.mergeme when a file has to be renamed inv2.2_rc43 | Zac Medico | 2009-10-03 | 1 | -2/+31 |
| | | | | | | order to merge a directory to the same path. svn path=/main/trunk/; revision=14485 | ||||
* | Fix race condition when using a fork inside _test_pty_eof(). | Zac Medico | 2009-10-03 | 1 | -4/+6 |
| | | | | svn path=/main/trunk/; revision=14478 | ||||
* | Don't use a fork inside _test_pty_eof() because it gives inconsistent results. | Zac Medico | 2009-10-03 | 1 | -12/+21 |
| | | | | svn path=/main/trunk/; revision=14477 | ||||
* | Bug #285832 - When updates are missed due to dependencies that have been | Zac Medico | 2009-10-03 | 1 | -1/+44 |
| | | | | | | | masked by backtracking, abbreviate output in order to avoid terminal flooding. svn path=/main/trunk/; revision=14476 | ||||
* | Bug #287333 - If posible, use ebuild from tree when checking for keyword mask | Zac Medico | 2009-10-02 | 1 | -7/+6 |
| | | | | | | on installed packages. svn path=/main/trunk/; revision=14474 | ||||
* | Bug #287333 - Fix the code from bug #252167 so it behaves consistently | Zac Medico | 2009-10-02 | 1 | -4/+3 |
| | | | | | | regardless of the package (ebuild or binpkg) being masked. svn path=/main/trunk/; revision=14472 | ||||
* | Bug #285191 - Remove the RDEPEND.implicit check because it is invalid. | Zac Medico | 2009-10-01 | 1 | -32/+1 |
| | | | | svn path=/main/trunk/; revision=14471 | ||||
* | Bug #286895 - Generate an eerror message when a directory blocks merge | Zac Medico | 2009-09-30 | 1 | -6/+16 |
| | | | | | | | of a regular file and the file is merged using a 'config protect' filename even though the path may not be among those covered by CONFIG_PROTECT. svn path=/main/trunk/; revision=14468 | ||||
* | Use a regular expression for SLOT validation inside vardbapi.aux_get(). | Zac Medico | 2009-09-30 | 2 | -6/+9 |
| | | | | svn path=/main/trunk/; revision=14467 | ||||
* | Take regular expressions from portage.dep and use them to reimplement | Zac Medico | 2009-09-30 | 3 | -54/+35 |
| | | | | | | | portage.versions.pkgsplit(). This simplifies the code and helps guarantee consistency package name/version validation. svn path=/main/trunk/; revision=14466 | ||||
* | Fix SyntaxError with Python 3 added in r14462. | Arfrever Frehtes Taifersar Arahesis | 2009-09-29 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14465 | ||||
* | Revert the rest of r14280 since it seems that dict bypasses __getitem__ | Zac Medico | 2009-09-29 | 1 | -26/+7 |
| | | | | | | and/or __setitem__ too often. svn path=/main/trunk/; revision=14463 | ||||
* | Add back _PackageMetadataWrapper__setitem__, removed in r14280, since removing | Zac Medico | 2009-09-29 | 1 | -30/+64 |
| | | | | | | | | it seems to cause problems. Thanks to Jeremy Olexa <darkside@gentoo.org> for reporting, and Marat Radchenko <marat@slonopotamus.org> for bisecting to find the revision. svn path=/main/trunk/; revision=14462 | ||||
* | Handle encoding/decoding of unicode when using the xpak api. | Zac Medico | 2009-09-29 | 3 | -10/+28 |
| | | | | | | | Use tbz2.get_data() instead of tbz2.getfile() when reading multiple values, in order to avoid multiple tbz2.scan() and searchindex() calls. svn path=/main/trunk/; revision=14461 | ||||
* | Make tbz2.get_data() return an empty dict on failure. | Zac Medico | 2009-09-29 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14460 | ||||
* | Don't call self.scan() in tbz2.__init__ since all methods call it anyway. | Zac Medico | 2009-09-29 | 1 | -1/+0 |
| | | | | svn path=/main/trunk/; revision=14459 | ||||
* | Bug #286780 - Fix email.MIME* imports to use email.mime.* (works with python | Zac Medico | 2009-09-28 | 1 | -3/+3 |
| | | | | | | 2.6 and python 3). Thanks to Hanno Meyer-Thurow <h.mth@web.de> for this patch. svn path=/main/trunk/; revision=14458 | ||||
* | Fix breakage in file path -> package lookup code. | Zac Medico | 2009-09-28 | 2 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=14455 | ||||
* | Make _test_pty_eof() call process.spawn() instead of os.fork(). | Zac Medico | 2009-09-27 | 1 | -8/+9 |
| | | | | svn path=/main/trunk/; revision=14454 | ||||
* | Try to avoid blocking on Darwin in _test_pty_eof() by using slave_fd directly | Zac Medico | 2009-09-27 | 1 | -7/+5 |
| | | | | | | instead of fdopen. svn path=/main/trunk/; revision=14453 | ||||
* | In _test_pty_eof(), call waitpid on the child process only after reading all | Zac Medico | 2009-09-27 | 1 | -1/+1 |
| | | | | | | the data from the pty. svn path=/main/trunk/; revision=14452 | ||||
* | Make _test_pty_eof() fork when writing to the slave_fd, since otherwise | Zac Medico | 2009-09-27 | 1 | -4/+12 |
| | | | | | | it would block on some platforms such as Darwin. svn path=/main/trunk/; revision=14451 | ||||
* | Make _test_pty_eof() use non-blocking IO, required for Darwin kernel. | Zac Medico | 2009-09-27 | 1 | -1/+13 |
| | | | | svn path=/main/trunk/; revision=14449 | ||||
* | Use catsplit() instead of a regex to generate dbapi._categories. Thanks to | Zac Medico | 2009-09-27 | 1 | -6/+3 |
| | | | | | | Marat Radchenko <marat@slonopotamus.org> for this patch. svn path=/main/trunk/; revision=14448 | ||||
* | Fix binTestsInit() to use correct values for PORTAGE_BIN_PATH and | Zac Medico | 2009-09-27 | 1 | -6/+9 |
| | | | | | | PORTAGE_PYM_PATH. svn path=/main/trunk/; revision=14447 | ||||
* | Use explicit imports instead of *. | Zac Medico | 2009-09-27 | 2 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=14446 | ||||
* | Use mkdtemp() instead of hardcoded pym/portage/tests/bin/root directory. | Zac Medico | 2009-09-27 | 1 | -16/+26 |
| | | | | svn path=/main/trunk/; revision=14445 | ||||
* | Bug #286522 - Check all portdbapi.findname return values in case it | Zac Medico | 2009-09-26 | 9 | -19/+43 |
| | | | | | | returns None, and raise 'ebuild not found' exceptions when necessary. svn path=/main/trunk/; revision=14442 | ||||
* | Bug #286475 - Fix KeyValuePairFileLoader.lineParser() so it doesn't raise | Zac Medico | 2009-09-26 | 1 | -4/+1 |
| | | | | | | AttributeError when a key/value is redefined. svn path=/main/trunk/; revision=14435 | ||||
* | Revert r14430 and fix to do as intended. Thanks to Arfrever for reporting.v2.2_rc42 | Zac Medico | 2009-09-26 | 1 | -2/+4 |
| | | | | svn path=/main/trunk/; revision=14433 | ||||
* | Bug #285767 - Add support to to identify and eliminate redundant package | Zac Medico | 2009-09-25 | 2 | -8/+89 |
| | | | | | | selections when multiple atoms happen to specify a version range. svn path=/main/trunk/; revision=14432 | ||||
* | Fix UnboundLocalError triggered by atom without category for nonexistent | Zac Medico | 2009-09-25 | 1 | -1/+1 |
| | | | | | | package. Thanks to Jeremy Olexa <darkside@gentoo.org> for reporting. svn path=/main/trunk/; revision=14431 | ||||
* | Make sure self._allowed_keys are sorted in the table create statement. They | Zac Medico | 2009-09-25 | 1 | -1/+1 |
| | | | | | | already are sorted, but do it explicitly here for clarity. svn path=/main/trunk/; revision=14430 | ||||
* | Fix formatting of sizes with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-25 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14429 | ||||
* | Remove ugly code from __len__, since defining __bool__ fixes the same | Zac Medico | 2009-09-25 | 1 | -9/+1 |
| | | | | | | issue. svn path=/main/trunk/; revision=14428 | ||||
* | Define __bool__() for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-25 | 4 | -5/+19 |
| | | | | svn path=/main/trunk/; revision=14427 | ||||
* | Remove unused imports. | Zac Medico | 2009-09-25 | 2 | -4/+0 |
| | | | | svn path=/main/trunk/; revision=14425 | ||||
* | Fix length calculation so it doesn't assume the length of the encoded | Zac Medico | 2009-09-25 | 1 | -3/+4 |
| | | | | | | string is the same as the unicode string. svn path=/main/trunk/; revision=14424 | ||||
* | Add a test case for this issue: http://bugs.python.org/issue5334 | Zac Medico | 2009-09-25 | 2 | -1/+45 |
| | | | | svn path=/main/trunk/; revision=14423 | ||||
* | Use 'in' instead of has_key() in portage.glsa.Glsa.parse() when Python 3 is ↵ | Arfrever Frehtes Taifersar Arahesis | 2009-09-25 | 1 | -1/+2 |
| | | | | | | used. svn path=/main/trunk/; revision=14422 | ||||
* | Use list comprehensions instead of filter() or map() in some places for ↵ | Arfrever Frehtes Taifersar Arahesis | 2009-09-25 | 5 | -6/+7 |
| | | | | | | compatibility with Python 3. svn path=/main/trunk/; revision=14421 | ||||
* | Fix more. | Zac Medico | 2009-09-25 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14420 | ||||
* | Fix ValueError in digestcheck(), reported by Arfrever. | Zac Medico | 2009-09-25 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=14419 | ||||
* | Remove unnecessary dict.has_key() call (fix for python 3). | Zac Medico | 2009-09-25 | 1 | -2/+0 |
| | | | | svn path=/main/trunk/; revision=14418 | ||||
* | Show an appropriate error message in _create_pty_or_pipe() if openpty() | Zac Medico | 2009-09-24 | 2 | -15/+16 |
| | | | | | | fails inside _test_pty_eof(). svn path=/main/trunk/; revision=14417 | ||||
* | Fix regression in _getitem() from r14398, since myf.read().split("\n") | Zac Medico | 2009-09-24 | 1 | -1/+4 |
| | | | | | | | yields an empty string at the end which is causes _parse_data() to catch a ValueError and raise CacheCorruption. svn path=/main/trunk/; revision=14416 | ||||
* | Add a test case for http://bugs.python.org/issue5380 and mark it as 'todo' | Zac Medico | 2009-09-24 | 1 | -0/+22 |
| | | | | | | since it fails with current versions of python 3. svn path=/main/trunk/; revision=14415 | ||||
* | Make _test_pty_eof() return None if openpty() fails. | Zac Medico | 2009-09-24 | 1 | -1/+5 |
| | | | | svn path=/main/trunk/; revision=14414 |