summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * Add default ACCEPT_LICENSE and ACCEPT_PROPERTIES values in make.globals.Zac Medico2009-10-052-12/+42
| | | | | | | | | * Set default values if missing from make.globals. * Only warn once if a given license group is missing. * Prune off any parts of an ACCEPT_LICENSE and ACCEPT_PROPERTIES that are made irrelevant by the latest occuring * or -* wildcard. svn path=/main/trunk/; revision=14496
* Make deprecated_profile_check() suggest to use eselect profile. Thanks toZac Medico2009-10-051-0/+2
| | | | | | Samuli Suominen <ssuominen@g.o> for the suggestion. svn path=/main/trunk/; revision=14495
* Make pkgsplit() preserve 'null' category if it's present in the input.Zac Medico2009-10-051-2/+3
| | | | svn path=/main/trunk/; revision=14494
* Use _pkgsplit when input cannot contain a category.Zac Medico2009-10-041-3/+3
| | | | svn path=/main/trunk/; revision=14493
* Use the simpler/stricter _pkgspit in dbapi code.Zac Medico2009-10-043-3/+8
| | | | svn path=/main/trunk/; revision=14492
* Make pkgsplit() accept a cpv again, since accepting a pv only will probablyZac Medico2009-10-041-3/+20
| | | | | | | break lots of api consumers. Thanks to Romain Perier <mrpouet@g.o> for reporting epkginfo breakage. svn path=/main/trunk/; revision=14491
* Add src_configure and pkg_config to the list of phases in ↵Arfrever Frehtes Taifersar Arahesis2009-10-041-2/+2
| | | | | | repoman.checks.PhaseCheck.__init__(). svn path=/main/trunk/; revision=14490
* Restrict upstream.workaround to src_compile and src_install as much as possible.Mounir Lamouri2009-10-041-31/+36
| | | | | | Prevent warnings when using emake -j1 in src_test which is recommanded. svn path=/main/trunk/; revision=14489
* fix mis-alignmentFabian Groffen2009-10-041-1/+1
| | | | svn path=/main/trunk/; revision=14488
* Generate an eerror message in dblink.mergeme when a file has to be renamed inv2.2_rc43Zac Medico2009-10-031-2/+31
| | | | | | order to merge a directory to the same path. svn path=/main/trunk/; revision=14485
* - do not calculate source with of isolated-functions (for die function)Fabian Groffen2009-10-031-16/+16
| | | | | | | | | | | as we don't print it - move paths to the bottom and print ${S} as it's often necessary when a package fails. - move error message up directly after the message it says it failed (printing it below the code snippet usually just repeats the message) svn path=/main/trunk/; revision=14483
* only calculate spacing width for that part of the stack that we're going to ↵Fabian Groffen2009-10-031-1/+8
| | | | | | print svn path=/main/trunk/; revision=14482
* Fix race condition when using a fork inside _test_pty_eof().Zac Medico2009-10-031-4/+6
| | | | svn path=/main/trunk/; revision=14478
* Don't use a fork inside _test_pty_eof() because it gives inconsistent results.Zac Medico2009-10-031-12/+21
| | | | svn path=/main/trunk/; revision=14477
* Bug #285832 - When updates are missed due to dependencies that have beenZac Medico2009-10-031-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 maskZac Medico2009-10-021-7/+6
| | | | | | on installed packages. svn path=/main/trunk/; revision=14474
* Bug #287333 - Fix the code from bug #252167 so it behaves consistentlyZac Medico2009-10-021-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 Medico2009-10-012-36/+1
| | | | svn path=/main/trunk/; revision=14471
* Remove libtool from RDEPEND.suspect list, since libltdl.so is validly used byZac Medico2009-10-011-1/+0
| | | | | | | some packages at runtime. Thanks to Samuli Suominen <ssuominen@g.o> for reporting. svn path=/main/trunk/; revision=14470
* Add --tolerant option (already in use on master rsync mirror), requested byZac Medico2009-09-302-0/+10
| | | | | | robbat2. svn path=/main/trunk/; revision=14469
* Bug #286895 - Generate an eerror message when a directory blocks mergeZac Medico2009-09-301-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 Medico2009-09-302-6/+9
| | | | svn path=/main/trunk/; revision=14467
* Take regular expressions from portage.dep and use them to reimplementZac Medico2009-09-303-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 Arahesis2009-09-291-1/+1
| | | | svn path=/main/trunk/; revision=14465
* Revert the rest of r14280 since it seems that dict bypasses __getitem__Zac Medico2009-09-291-26/+7
| | | | | | and/or __setitem__ too often. svn path=/main/trunk/; revision=14463
* Add back _PackageMetadataWrapper__setitem__, removed in r14280, since removingZac Medico2009-09-291-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 Medico2009-09-293-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 Medico2009-09-291-1/+1
| | | | svn path=/main/trunk/; revision=14460
* Don't call self.scan() in tbz2.__init__ since all methods call it anyway.Zac Medico2009-09-291-1/+0
| | | | svn path=/main/trunk/; revision=14459
* Bug #286780 - Fix email.MIME* imports to use email.mime.* (works with pythonZac Medico2009-09-281-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 Medico2009-09-282-2/+2
| | | | svn path=/main/trunk/; revision=14455
* Make _test_pty_eof() call process.spawn() instead of os.fork().Zac Medico2009-09-271-8/+9
| | | | svn path=/main/trunk/; revision=14454
* Try to avoid blocking on Darwin in _test_pty_eof() by using slave_fd directlyZac Medico2009-09-271-7/+5
| | | | | | instead of fdopen. svn path=/main/trunk/; revision=14453
* In _test_pty_eof(), call waitpid on the child process only after reading allZac Medico2009-09-271-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 otherwiseZac Medico2009-09-271-4/+12
| | | | | | it would block on some platforms such as Darwin. svn path=/main/trunk/; revision=14451
* Fix TypeError in clear_screen() in dispatch-conf which occurs when Python 3 ↵Arfrever Frehtes Taifersar Arahesis2009-09-271-1/+2
| | | | | | is used (bug #286682). svn path=/main/trunk/; revision=14450
* Make _test_pty_eof() use non-blocking IO, required for Darwin kernel.Zac Medico2009-09-271-1/+13
| | | | svn path=/main/trunk/; revision=14449
* Use catsplit() instead of a regex to generate dbapi._categories. Thanks toZac Medico2009-09-271-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 andZac Medico2009-09-271-6/+9
| | | | | | PORTAGE_PYM_PATH. svn path=/main/trunk/; revision=14447
* Use explicit imports instead of *.Zac Medico2009-09-272-2/+2
| | | | svn path=/main/trunk/; revision=14446
* Use mkdtemp() instead of hardcoded pym/portage/tests/bin/root directory.Zac Medico2009-09-271-16/+26
| | | | svn path=/main/trunk/; revision=14445
* Bug #286522 - Check all portdbapi.findname return values in case itZac Medico2009-09-269-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 raiseZac Medico2009-09-261-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_rc42Zac Medico2009-09-261-2/+4
| | | | svn path=/main/trunk/; revision=14433
* Bug #285767 - Add support to to identify and eliminate redundant packageZac Medico2009-09-252-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 nonexistentZac Medico2009-09-251-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. TheyZac Medico2009-09-251-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 Arahesis2009-09-252-2/+2
| | | | svn path=/main/trunk/; revision=14429
* Remove ugly code from __len__, since defining __bool__ fixes the sameZac Medico2009-09-251-9/+1
| | | | | | issue. svn path=/main/trunk/; revision=14428
* Define __bool__() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-254-5/+19
| | | | svn path=/main/trunk/; revision=14427