summaryrefslogtreecommitdiffstats
path: root/pym/portage
Commit message (Collapse)AuthorAgeFilesLines
* Add the "test" flag to implicit IUSE, so handling of FEATURES=test isZac Medico2009-10-151-1/+8
| | | | | | | | consistent regardless of explicit IUSE. Users may use use.mask and package.use.mask to control FEATURES=test for all ebuilds, regardless of explicit IUSE. svn path=/main/trunk/; revision=14607
* Only call _test_pty_eof() on Linux, since it seems to hang on most otherZac Medico2009-10-142-7/+25
| | | | | | | kernels. This should fix the hang reported on FreeBSD here: http://archives.gentoo.org/gentoo-alt/msg_d81c5e8c6dd6849312ecb048feb41c5b.xml svn path=/main/trunk/; revision=14606
* Implement FetchlistDict.__len__, in order to avoidZac Medico2009-10-121-0/+5
| | | | | | infinite recursion in some cases. svn path=/main/trunk/; revision=14597
* Bug #288551 - Handle invalid cpv in portdbapi.aux_get() by raising KeyError.Zac Medico2009-10-111-1/+5
| | | | svn path=/main/trunk/; revision=14579
* Bug #288025 - Avoid AttributeError on OSes that don't have os.statvfs.Zac Medico2009-10-101-1/+3
| | | | svn path=/main/trunk/; revision=14553
* Bug #273099 - Add split-log and split-elog FEATURES for splitting build logsZac Medico2009-10-092-6/+25
| | | | | | | and elog mod_save logs into category subdirectories. Thanks to Sebastian Mingramm (few) for this patch. svn path=/main/trunk/; revision=14532
* Bug #274497 - Misc spelling, grammar, and terminology fixes, includingZac Medico2009-10-093-7/+7
| | | | | | URL -> URI and FOO's -> FOOs. svn path=/main/trunk/; revision=14531
* Handle AUTOCLEAN and NOCOLOR case insensitivity inside config.Zac Medico2009-10-091-0/+9
| | | | svn path=/main/trunk/; revision=14528
* Bug #287950 - Add support for FEATURES=fail-clean which is useful for cleaningZac Medico2009-10-071-1/+4
| | | | | | 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
* * 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
* 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 #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
* Handle encoding/decoding of unicode when using the xpak api.Zac Medico2009-09-292-9/+26
| | | | | | | 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
* 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-261-4/+7
| | | | | | 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
* 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
* 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-253-3/+14
| | | | svn path=/main/trunk/; revision=14427
* Remove unused imports.Zac Medico2009-09-252-4/+0
| | | | svn path=/main/trunk/; revision=14425
* Fix length calculation so it doesn't assume the length of the encodedZac Medico2009-09-251-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/issue5334Zac Medico2009-09-252-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 Arahesis2009-09-251-1/+2
| | | | | | used. svn path=/main/trunk/; revision=14422
* Use list comprehensions instead of filter() or map() in some places for ↵Arfrever Frehtes Taifersar Arahesis2009-09-254-4/+5
| | | | | | compatibility with Python 3. svn path=/main/trunk/; revision=14421
* Fix more.Zac Medico2009-09-251-1/+1
| | | | svn path=/main/trunk/; revision=14420