Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | circular dependency handler: Add support for REQUIRED_USE | Sebastian Luther | 2010-08-20 | 2 | -13/+46 |
| | |||||
* | Add portage.dep.get_required_use_flags to extract the use flags used in a ↵ | Sebastian Luther | 2010-08-20 | 2 | -2/+121 |
| | | | | REQUIRED_USE string | ||||
* | circular dependency handler: Small code clean ups | Sebastian Luther | 2010-08-20 | 1 | -5/+6 |
| | |||||
* | Make the make.globals path relative to EPREFIX, and add comments possible | Zac Medico | 2010-08-19 | 1 | -2/+24 |
| | | | | alternative behavior for target systems. | ||||
* | Fix BinTestCase instances to stop leaving orphan temp dirs. | Zac Medico | 2010-08-19 | 3 | -18/+25 |
| | |||||
* | Add experimental EPREFIX/EROOT support to the config and vartree | Zac Medico | 2010-08-19 | 5 | -85/+114 |
| | | | | | | | | | classes, and use it in ResolverPlayground to emulate a prefix-like environment. This fixes ResolverPlayground so that it doesn't have to abuse the --root and --root-deps options in order to create a testing environment. Instead it simply creates a temporary EPREFIX. WARNING: EPREFIX/EROOT support is experimental and may be incomplete for cases in which EPREFIX is non-empty. | ||||
* | Stop trying to read /etc/make.globals because it's been a symlink to | Zac Medico | 2010-08-19 | 1 | -1/+1 |
| | | | | /usr/share/portage/config/make.globals since portage-2.1.6. | ||||
* | Update docs, comments, and messages to refer to make.globals in | Zac Medico | 2010-08-19 | 7 | -20/+30 |
| | | | | /usr/share/portage/config/ instead of /etc/make.globals. | ||||
* | Rename the bdeps_root variable to depend_root, since it's used to control | Zac Medico | 2010-08-19 | 1 | -4/+4 |
| | | | | | DEPEND and in the future we may have separate build-time dep types for host and target. | ||||
* | Eliminate the bdeps_optional variables inside depgraph._add_pkg_deps(), | Zac Medico | 2010-08-19 | 1 | -4/+3 |
| | | | | and use the pkg.built attribute instead. | ||||
* | Tests: Properly test the circular dep handler | Sebastian Luther | 2010-08-19 | 1 | -15/+38 |
| | |||||
* | Tests: ResolverPlayground: Support checking the suggestions given by the ↵ | Sebastian Luther | 2010-08-19 | 1 | -0/+8 |
| | | | | circular dep handler. | ||||
* | Move the clever parts of depgraph._show_circular_deps into its own module. | Sebastian Luther | 2010-08-19 | 2 | -155/+240 |
| | | | | This also fixes some bugs related to autounmask. | ||||
* | cycle-finder: Don't try to change flags that are in use.{make,focrce} | Sebastian Luther | 2010-08-19 | 1 | -16/+5 |
| | |||||
* | Move code from EbuildProcess to EbuildPhase. | Zac Medico | 2010-08-19 | 2 | -24/+24 |
| | |||||
* | Raise ValueError if fromlist contains an extra comma. | Zac Medico | 2010-08-19 | 1 | -0/+3 |
| | |||||
* | Remove duplicate attributes from __slots__. | Zac Medico | 2010-08-19 | 1 | -2/+1 |
| | |||||
* | * In helpers_die arguments, display ${0##*/} instead of $0 since $0 | Zac Medico | 2010-08-18 | 32 | -78/+78 |
| | | | | | | is needlessly long. * When calling helpers_die from a function, use ${FUNCNAME[0]} in arguments instead of $0. | ||||
* | Use doebuild_environment() to ensure proper environment initialization | Zac Medico | 2010-08-18 | 1 | -16/+21 |
| | | | | | for clean/cleanrm phases, and use the simpler _spawn_phase() function instead of doebuild to spawn the phases. | ||||
* | Use simpler _spawn_phase() instead of doebuild() since | Zac Medico | 2010-08-18 | 1 | -9/+3 |
| | | | | doebuild_environment() already done the env setup. | ||||
* | Move the code from _prepare_env_file() to a new BinpkgEnvExtractor | Zac Medico | 2010-08-18 | 5 | -56/+126 |
| | | | | class. | ||||
* | Remove unnecessary call to _prepare_env_file(), since it only makes | Zac Medico | 2010-08-18 | 1 | -8/+1 |
| | | | | sense for binary or installed packages. | ||||
* | Move environment sanity check to the Scheduler and do it if there | Zac Medico | 2010-08-18 | 2 | -16/+36 |
| | | | | are any source packages in the merge list. | ||||
* | When suggesting solutions inside _show_circular_deps(), ignore solutions | Zac Medico | 2010-08-18 | 1 | -0/+16 |
| | | | | that involve changes to use.mask or use.force settings. | ||||
* | Fix get_cycles() to handle None return value from shortest_path(). | Zac Medico | 2010-08-18 | 1 | -0/+2 |
| | |||||
* | Fix deprecation warnings from paren_reduce. | Zac Medico | 2010-08-18 | 1 | -2/+2 |
| | |||||
* | Fix small bug in _show_circular_deps and add some tests | Sebastian Luther | 2010-08-18 | 2 | -2/+47 |
| | |||||
* | portage.util.digraph: Raise KeyError in newly added functions. Add tests. | Sebastian Luther | 2010-08-18 | 2 | -13/+222 |
| | |||||
* | extract_affecting_use: Fix the same bug as in use_reduce | Sebastian Luther | 2010-08-18 | 2 | -6/+31 |
| | |||||
* | _show_circular_deps: Ignore solution that violate use dpendencies specified ↵ | Sebastian Luther | 2010-08-18 | 1 | -6/+39 |
| | | | | by parents. Warn the user if there are many cycles. | ||||
* | _show_circular_deps: Stop prunning the graph to show (other) parents of the ↵ | Sebastian Luther | 2010-08-18 | 1 | -14/+0 |
| | | | | involved packages in the merge list | ||||
* | _show_circular_deps: Fix handling of 'None' returned by ↵ | Sebastian Luther | 2010-08-18 | 1 | -1/+2 |
| | | | | extract_affecting_use and remove debug output | ||||
* | _emerge.depgraph._show_circular_deps(): Find suggestions if an atom occures ↵ | Sebastian Luther | 2010-08-18 | 1 | -11/+66 |
| | | | | more than once in a dep string | ||||
* | Print suggestions for circular dependencies | Sebastian Luther | 2010-08-18 | 1 | -8/+44 |
| | |||||
* | _emerge.depgraph._show_circular_deps(): Display only the smallest cycle | Sebastian Luther | 2010-08-18 | 1 | -1/+31 |
| | |||||
* | portage.util.digraph: Add get_cycles() and its helpers shortest_path() and bfs() | Sebastian Luther | 2010-08-18 | 1 | -0/+35 |
| | |||||
* | Tests: Make sure the ResolverPlayground doesn't ignore DEPEND | Sebastian Luther | 2010-08-18 | 1 | -0/+10 |
| | |||||
* | Tests: ResolverPlaygound: change --root-deps parameter to include build time ↵ | Sebastian Luther | 2010-08-18 | 1 | -1/+1 |
| | | | | deps | ||||
* | Use _prepare_env_file() to extract the binary package environment.bz2 | Zac Medico | 2010-08-18 | 1 | -1/+10 |
| | | | | | | prior to the pkg_setup phase. This fixes a regression since EbuildPhase no longer calls doebuild(), and therefore _prepare_env_file() needs to be called now. | ||||
* | Use _prepare_env_file() to extract environment.bz2 prior to the | Zac Medico | 2010-08-18 | 1 | -1/+3 |
| | | | | | | pkg_prerm phase. This fixes a regression since EbuildPhase no longer calls doebuild(), and therefore _prepare_env_file() needs to be called now. | ||||
* | Bug #324075 - If the vcs doesn't preserve mtimes then disable the | Zac Medico | 2010-08-18 | 1 | -3/+7 |
| | | | | | copyright date check unless the ebuild has just been added or modified. | ||||
* | check_required_use: Fix the same bug as in use_reduce | Sebastian Luther | 2010-08-18 | 2 | -1/+19 |
| | |||||
* | paren_reduce: Fix the same bug as in use_reduce | Sebastian Luther | 2010-08-18 | 2 | -10/+38 |
| | |||||
* | Revert "Tests: Remove paren_reduce tests" | Sebastian Luther | 2010-08-18 | 1 | -0/+60 |
| | | | | This reverts commit 67f3bef9efeff7061765edc9515a97143c2f2e55. | ||||
* | * Replace config._iuse_implicit_re with a callable _iuse_implicit_match | Zac Medico | 2010-08-18 | 7 | -34/+31 |
| | | | | | | | object that simply returns boolean, and update consumers. * Make check_required_use() take a callable for the iuse parameter, and pass in Package.use.is_valid_flag or iuse.__contains__ as appropriate. | ||||
* | use_reduce: code cleanup | Sebastian Luther | 2010-08-18 | 2 | -34/+33 |
| | |||||
* | Bug #312085 - Make config.setcpv() treat USE_EXPAND_HIDDEN flags as if | Zac Medico | 2010-08-18 | 1 | -8/+29 |
| | | | | | | they are in IUSE. This helps for the embedded profile which does not have typical use.force/use.mask settings. The flags are matched with a regular expression and match results are memoized in order to optimize performance. | ||||
* | Bug #308933 - Export os.path.realpath(PORTAGE_TMPDIR), to make sandbox | Zac Medico | 2010-08-18 | 1 | -1/+1 |
| | | | | happy. | ||||
* | Remove unused iuse_implicit attribute. | Zac Medico | 2010-08-18 | 1 | -1/+0 |
| | |||||
* | Add opconvert test for "|| ( ( A B ) C )". | Zac Medico | 2010-08-18 | 1 | -0/+4 |
| |