summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Bug #287950 - Add support for FEATURES=fail-clean which is useful for cleaningZac Medico2009-10-072-1/+29
| | | | | | up temp files on tmpfs after build failures with --keep-going. svn path=/main/trunk/; revision=14517
* Enable pty support on FreeBSD.Zac Medico2009-10-071-1/+1
| | | | svn path=/main/trunk/; revision=14516
* merge disable openpty conditional from branches/prefixFabian Groffen2009-10-071-1/+15
| | | | svn path=/main/trunk/; revision=14515
* Use the stricter _pkgsplit function.Zac Medico2009-10-071-1/+1
| | | | svn path=/main/trunk/; revision=14509
* Bug #265267 - Add hint about --accept-properties=-interactive in theZac Medico2009-10-061-1/+4
| | | | | | --jobs docs. svn path=/main/trunk/; revision=14508
* Bug #265267 - When disabling --jobs due to interactive package(s), hintZac Medico2009-10-061-1/+4
| | | | | | about --accept-properties=-interactive option. svn path=/main/trunk/; revision=14507
* Exempt installed packages from PROPERTIES masking since the user is likelyZac Medico2009-10-061-3/+5
| | | | | | | | to temporarily alter ACCEPT_PROPERIES in order to avoid interactive updates and we don't want this to distort resolver choices or trigger warning messages about installed packages being masked. svn path=/main/trunk/; revision=14506
* Bug #287870 - Add -r option as short version of --resume.Zac Medico2009-10-062-2/+3
| | | | svn path=/main/trunk/; revision=14504
* Add a new --accept-properties option so that users can temporarily overrideZac Medico2009-10-062-0/+22
| | | | | | | | | | | ACCEPT_PROPERTIES on the commandline, without relying on emerge's legacy behavior of allowing variables to leak in from the calling environment. A typical usage example for this option would be to use --accept-properties=-interactive to temporarily mask interactive packages. With default configuration, this would result in an effective ACCEPT_PROPERTIES value of "* -interactive". svn path=/main/trunk/; revision=14501
* When restarting emerge, don't trust sys.argv[0] since eselect-python mayZac Medico2009-10-061-1/+3
| | | | | | modify it. svn path=/main/trunk/; revision=14499
* - move news into features so it can be ignored when needed. Lots of ↵Ned Ludd2009-10-051-9/+11
| | | | | | whitespace cleanups svn path=/main/trunk/; revision=14497
* * Add default ACCEPT_LICENSE and ACCEPT_PROPERTIES values in make.globals.Zac Medico2009-10-051-12/+39
| | | | | | | | | * 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
* 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-011-32/+1
| | | | svn path=/main/trunk/; revision=14471
* 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
* 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