summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add support for an new EAPI="2_pre0" value so that people who want to testZac Medico2008-07-281-1/+4
| | | | | | | | USE deps can set the EAPI to something other than 0 or 1. We can support as many different experimental EAPI values as we need, and drop support for them when the final EAPI 2 is defined. svn path=/main/trunk/; revision=11233
* Disable the multi-bracket USE deps syntax, so only the comma separated syntaxZac Medico2008-07-283-4/+6
| | | | | | is now valid. svn path=/main/trunk/; revision=11232
* Implement new conditional USE dep syntax:Zac Medico2008-07-282-25/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Conditional evaluation behavior: parent state conditional result x x? x -x x? x -x? -x -x? -x x x= x -x x= -x x x!= -x -x x!= x Conditional syntax examples: compact form equivalent expanded form foo[bar?] foo bar? ( foo[bar] ) foo[-bar?] foo !bar? ( foo[-bar] ) foo[bar=] foo bar? ( foo[bar] ) !bar? ( foo[-bar] ) foo[bar!=] foo bar? ( foo[-bar] ) !bar? ( foo[bar] ) svn path=/main/trunk/; revision=11231
* Create a SlotDict constructor which can take an optional positional arg thatZac Medico2008-07-281-0/+13
| | | | | | | | | is passed to the update() method (similar to the dict constructor), and also pass keyword arguments into the update() method if any are given. This makes it possible to use the constructor similarly to the way that the _emerge.SlotObject constructor is used. svn path=/main/trunk/; revision=11230
* * Add support in dep_getusedeps() and isvalidatom() for comma separated USEZac Medico2008-07-282-3/+33
| | | | | | | deps that only have one set of square brackets. * Add test cases for the new comma separated USE deps syntax. svn path=/main/trunk/; revision=11229
* Bug #233137 - Implement Atom.split().Zac Medico2008-07-281-1/+2
| | | | svn path=/main/trunk/; revision=11228
* Fix incorrect logging.exception() arguments. The exception instance is notZac Medico2008-07-271-4/+4
| | | | | | supposed to be passed into this function. svn path=/main/trunk/; revision=11227
* Fix the new glep56 code to handle missing metadata.xml. Thanks to jmbsvicettoZac Medico2008-07-271-9/+10
| | | | | | for reporting. svn path=/main/trunk/; revision=11226
* Fix EbuildFetcher to pass all config variables to the fetcher so thingsZac Medico2008-07-272-7/+8
| | | | | | like http_proxy are included. svn path=/main/trunk/; revision=11223
* Update path to make.conf.example. Thanks to Arfrever.Zac Medico2008-07-271-1/+1
| | | | svn path=/main/trunk/; revision=11222
* Use ${NORMAL} to properly restore color when necessary.Zac Medico2008-07-271-1/+1
| | | | svn path=/main/trunk/; revision=11221
* Make elog_base() just use \n as the delimiter in the file since it's safeZac Medico2008-07-272-2/+2
| | | | | | now that lines are always split. svn path=/main/trunk/; revision=11220
* Make all the elog functions split lines when displaying output, just likeZac Medico2008-07-271-5/+35
| | | | | | elog_base() does when saving it. svn path=/main/trunk/; revision=11219
* Add support to elog_base() to split messages on newlines automatically.Zac Medico2008-07-271-2/+8
| | | | | | Thanks to Arfrever for the suggestion. svn path=/main/trunk/; revision=11218
* Fix breakage from r11213 in INHERITED values returned from portdbapi.aux_get().Zac Medico2008-07-271-8/+4
| | | | svn path=/main/trunk/; revision=11217
* Fixes from Arfrever:Zac Medico2008-07-272-2/+4
| | | | | | | * Highlight the "Files built without respecting LDFLAGS" QA Notice with red. * Remove scanelf-ignored-LDFLAGS.log when empty. svn path=/main/trunk/; revision=11216
* Serialize src_unpack() $DISTDIR access for live ebuilds since otherwise theyZac Medico2008-07-272-5/+44
| | | | | | | can interfere with eachother. This will have to rely on a hardcoded list of eclasses until we create way to properly tag this information in the metadata. svn path=/main/trunk/; revision=11213
* * Define a frozenset of live eclasses for the LIVEVCS.stable check.Zac Medico2008-07-271-3/+10
| | | | | | * Add "mercurial" to the list of known live eclasses. svn path=/main/trunk/; revision=11210
* Fix repoman not seeing subversion auto-ignored files (such as patch rejects ↵Zac Medico2008-07-271-2/+2
| | | | | | | | and editor backup copies), thereby causing messed up Manifests. This fix should be merged in the trunk. (branches/prefix r11208) svn path=/main/trunk/; revision=11209
* Temporarily `set -o noglob` when splitting QA_DT_HASH.Zac Medico2008-07-271-0/+4
| | | | svn path=/main/trunk/; revision=11206
* Bug #233077 - Add QA check which verifies that LDFLAGS are respected. For nowZac Medico2008-07-273-0/+40
| | | | | | | | | | | | | this only works when LDFLAGS contains --hash-style=gnu since in this case the the elf files should not contain .hash sections and we can use scanelf to check whether or not the those sections exist. This adds a QA_DT_HASH variable that is analogous to existing QA control variables documented in the ebuild.5 man page. There is also a complementary QA_STRICT_DT_HASH variable that can be set in make.conf in order to ignore QA_DT_HASH settings in ebuilds. Thanks to Arfrever Frehtes Taifersar Arahesis for this patch which I've tweaked in just a few minor ways. svn path=/main/trunk/; revision=11205
* Schedule ebuild pkg_setup phases on the merge queue,Zac Medico2008-07-271-15/+37
| | | | | | | in order to serialize unsandboxed access to the live filesystem. svn path=/main/trunk/; revision=11204
* In PollScheduler._poll(), add a call to _schedule() in order to ensure thatZac Medico2008-07-271-16/+36
| | | | | | | | | event handlers are registered if possible. If not, raise StopIteration in order to avoid endless blocking in a poll call with no file descriptors registered. Add StopIteration exception handling for all PollScheduler._poll._next_poll_event() calls. svn path=/main/trunk/; revision=11203
* Fix AsynchronousTask.removeStartListener() and removeExitListener() to returnZac Medico2008-07-271-0/+4
| | | | | | early if there are no listeners. svn path=/main/trunk/; revision=11202
* Fix LinkageMap.findConsumers() to check whether the master link for a libZac Medico2008-07-261-1/+19
| | | | | | | | | | | | | | | | | | | | providing a given soname actually points to that lib. If there is another version of this lib with the same soname and the master link points to that other version, this lib will be shadowed and won't have any consumers. By eliminating false, positives this way, we avoid the following state after upgrade from media-libs/mesa-7.0.3 to media-libs/mesa-7.1_rc3: # scanelf -S /usr/lib64/libGLU.so* TYPE SONAME FILE ET_DYN libGLU.so.1 /usr/lib64/libGLU.so ET_DYN libGLU.so.1 /usr/lib64/libGLU.so.1 ET_DYN libGLU.so.1 /usr/lib64/libGLU.so.1.3 ET_DYN libGLU.so.1 /usr/lib64/libGLU.so.1.3.070003 ET_DYN libGLU.so.1 /usr/lib64/libGLU.so.1.3.070100 <- shadowed lib Thanks to Diego "Flameeyes" Pettenò for reporting this issue. svn path=/main/trunk/; revision=11200
* * Use pure bash ${PARAMETER%/*} instead of spawing`dirname`.Zac Medico2008-07-261-2/+2
| | | | | | * Break out of loop as early as possible when searching for libs in ${D}. svn path=/main/trunk/; revision=11199
* Split out an apply_priorities() function to apply nice and ionice settings.Zac Medico2008-07-261-10/+15
| | | | svn path=/main/trunk/; revision=11198
* Bug #232924 - When the user specifies a non-existent set, display a list ofZac Medico2008-07-262-4/+24
| | | | | | existing sets. svn path=/main/trunk/; revision=11197
* Bug #228085 - In the event of a file collision, the explanation about theZac Medico2008-07-261-1/+14
| | | | | | | | collision and how to solve it may not be visible via a scrollback buffer, especially if the number of file collisions is large. Therefore, show a summary at the end and refer the user to the elog messages. svn path=/main/trunk/; revision=11196
* Replace hardcoded i386 machine name in dyn_rpm() with the result of `uname -m`.Zac Medico2008-07-261-1/+3
| | | | svn path=/main/trunk/; revision=11195
* * For bug 227625, automatically create the /usr/src/rpm/SOURCES directory whenZac Medico2008-07-261-1/+4
| | | | | | | | | necessary. * Add `cd "${T}"` at the beginning of dyn_rpm() since the spec file is written to $PWD. svn path=/main/trunk/; revision=11194
* Reduce the default PORTAGE_IONICE_COMMAND priority to "idle" priority sinceZac Medico2008-07-262-2/+2
| | | | | | | | it's probably suitable for most people. This way, even when the IO load is very high, the impact on system responsiveness should be practically unnoticeable. svn path=/main/trunk/; revision=11193
* Add PORTAGE_IONICE_COMMAND setting for make.conf which is called to adjustZac Medico2008-07-251-0/+2
| | | | | | IO priority on portage and it's subprocesses. svn path=/main/trunk/; revision=11192
* Suppress "for /" and "to /" in status messages when ROOT=/. Thanks toZac Medico2008-07-251-9/+15
| | | | | | Thargor for the suggestion. svn path=/main/trunk/; revision=11191
* Fix PORTAGE_BIN_PATH typo in EbuildFetcher._start().Zac Medico2008-07-251-1/+1
| | | | svn path=/main/trunk/; revision=11190
* Detect an invalid cpv passed into portdbapi.findname2() and raise anZac Medico2008-07-251-1/+3
| | | | | | | InvalidPackageName exception. This avoids silent or nonsense errors later on. svn path=/main/trunk/; revision=11188
* Cancel prefetchers if they're the only reason the main poll loop is stillZac Medico2008-07-251-0/+7
| | | | | | running. svn path=/main/trunk/; revision=11185
* When in background mode and there is a single failure, dump the whole buildZac Medico2008-07-241-9/+40
| | | | | | log for convenience. svn path=/main/trunk/; revision=11184
* * Refer user to make.conf(5) if PORTAGE_IONICE_COMMAND fails.Zac Medico2008-07-242-0/+3
| | | | | | | * Document that PORTAGE_IONICE_COMMAND can be disabled by setting it to an empty string. svn path=/main/trunk/; revision=11183
* Bug #206773 - Add a new PORTAGE_IONICE_COMMAND variable that emerge usesZac Medico2008-07-244-1/+38
| | | | | | | | | to adjust ionice priority, similar to PORTAGE_NICENESS but used more like FETCHCOMMAND since so that portage doesn't have to know anything about ionice options. The command should include a \${PID} place-holder to be substituted with an integer pid. svn path=/main/trunk/; revision=11182
* Bug #228117 - Insert a trailing newline in the getconfig() input file asZac Medico2008-07-241-1/+39
| | | | | | | | | necessary to avoid a silent error in shlex that is triggered by a source statement at the end of the file without a trailing newline after the source statement. To solve this problem, derive a special file class that inserts a newline just before eof when necessary. svn path=/main/trunk/; revision=11181
* Fix bug in get_repo_path() when called with multiple args.v2.2_rc3Zac Medico2008-07-231-1/+1
| | | | svn path=/main/trunk/; revision=11179
* Fix typo, found by pyflakes.Zac Medico2008-07-231-1/+1
| | | | svn path=/main/trunk/; revision=11178
* Avoid "0 files checked ..." messages reported by Pesa.Zac Medico2008-07-231-1/+1
| | | | svn path=/main/trunk/; revision=11177
* Fix --depclean/--prune regressions reported by selkin:Zac Medico2008-07-231-2/+9
| | | | | | | | | * Make --with-bdeps default to "y" for removal actions. * Treat unsatisfied build time dependencies as "soft" for removal actions, even when --with-bdeps=y. svn path=/main/trunk/; revision=11176
* Add sandbox write access to PORTAGE_PYM_PATH before importing portage inZac Medico2008-07-231-3/+12
| | | | | | order to avoid sandbox violations after python upgrade. svn path=/main/trunk/; revision=11175
* Add GENTOO_MIRRORS to the variables exported by EbuildFetcher.v2.2_rc2Zac Medico2008-07-231-1/+1
| | | | svn path=/main/trunk/; revision=11173
* Make --fetchonly disable background mode.Zac Medico2008-07-231-2/+6
| | | | svn path=/main/trunk/; revision=11170
* Handle UnsatisfiedResumeDep in Scheduler._calc_resume_list().Zac Medico2008-07-221-4/+44
| | | | svn path=/main/trunk/; revision=11169
* Update --depclean and --prune, removing warnings about libraries since thoseZac Medico2008-07-224-44/+57
| | | | | | are now automatically accounted for. svn path=/main/trunk/; revision=11168