portage.git
13 years agoRemove extended package set configuration docs. v2.1.10.4
Zac Medico [Fri, 3 Jun 2011 12:28:16 +0000 (05:28 -0700)]
Remove extended package set configuration docs.

Extended package sets configuration is disabled in the stable branch.

13 years agoRemove FEATURES=preserve-libs config/docs.
Zac Medico [Fri, 3 Jun 2011 12:15:50 +0000 (05:15 -0700)]
Remove FEATURES=preserve-libs config/docs.

Support for FEATURES=preserve-libs is disabled in the stable branch.

13 years agoportage.const: toggle constants for stable branch
Zac Medico [Fri, 3 Jun 2011 12:05:53 +0000 (05:05 -0700)]
portage.const: toggle constants for stable branch

_ENABLE_DYN_LINK_MAP    = False
_ENABLE_PRESERVE_LIBS   = False
_ENABLE_REPO_NAME_WARN  = False
_ENABLE_SET_CONFIG      = False
_SANDBOX_COMPAT_LEVEL   = "16"

13 years agorepoman: ElementTree.ParseError -> SyntaxError
Zac Medico [Sun, 3 Jul 2011 15:52:37 +0000 (08:52 -0700)]
repoman: ElementTree.ParseError -> SyntaxError

The ElementTree.ParseError class is undocumented and isn't available
in python-2.6, so use its SyntaxError base class instead.

13 years agoShow repository in error message about missing USE flags.
Arfrever Frehtes Taifersar Arahesis [Sun, 3 Jul 2011 11:09:08 +0000 (13:09 +0200)]
Show repository in error message about missing USE flags.

13 years agoportageq get_repo_path: output empty if unknown v2.2.0_alpha43
Zac Medico [Fri, 1 Jul 2011 13:27:27 +0000 (06:27 -0700)]
portageq get_repo_path: output empty if unknown

It used to output "None" for unknown repos, which was not intended.

13 years agoFix a typo in a comment.
Zac Medico [Fri, 1 Jul 2011 08:50:07 +0000 (01:50 -0700)]
Fix a typo in a comment.

13 years agovarexpand: remove escaped newline characters
Zac Medico [Fri, 1 Jul 2011 08:47:14 +0000 (01:47 -0700)]
varexpand: remove escaped newline characters

This fixes a regression reported in bug 365033, comment #14.

13 years agopreserve-libs: only preserve soname symlinks v2.2.0_alpha42
Zac Medico [Fri, 1 Jul 2011 04:00:52 +0000 (21:00 -0700)]
preserve-libs: only preserve soname symlinks

This avoids calling the LinkageMapELF.isMasterLink() method, since the
only symlinks that are strictly required are the soname symlinks.

13 years agoLinkageMapElf.findConsumers(): fix $ROOT handling
Zac Medico [Fri, 1 Jul 2011 02:23:23 +0000 (19:23 -0700)]
LinkageMapElf.findConsumers(): fix $ROOT handling

The code which checks the soname symlink was missing a join with
$ROOT.

13 years agoLinkageMapElf: clarify findConsumers soname code
Zac Medico [Fri, 1 Jul 2011 02:19:14 +0000 (19:19 -0700)]
LinkageMapElf: clarify findConsumers soname code

Here it referred to an soname symlink as a "master" link, which was
inconsistent with the meaning of "master" link used in the
isMasterLink() method.

13 years agoLinkageMapElf.isMasterLink(): handle libproc
Zac Medico [Fri, 1 Jul 2011 01:33:22 +0000 (18:33 -0700)]
LinkageMapElf.isMasterLink(): handle libproc

The version component of the libproc-3.2.8.so soname is formed
slightly differently than most other libraries.

13 years agoUseFlagDisplay: fix USE_EXPAND_HIDDEN breakage
Zac Medico [Thu, 30 Jun 2011 13:10:57 +0000 (06:10 -0700)]
UseFlagDisplay: fix USE_EXPAND_HIDDEN breakage

13 years agoFix a typo in a comment.
Zac Medico [Thu, 30 Jun 2011 12:49:18 +0000 (05:49 -0700)]
Fix a typo in a comment.

13 years agoFix a typo in a docstring.
Zac Medico [Thu, 30 Jun 2011 10:17:31 +0000 (03:17 -0700)]
Fix a typo in a docstring.

13 years agoLinkageMapELF.isMasterLink(): literally compare
Zac Medico [Thu, 30 Jun 2011 10:01:06 +0000 (03:01 -0700)]
LinkageMapELF.isMasterLink(): literally compare

Comparing the lengths of the names alone seems like too much of an
assumption, so literally compare the beginning of the soname to the
basename of the given file.

13 years agomisc-functions.sh: remove stale NEEDED* files
Zac Medico [Thu, 30 Jun 2011 08:53:16 +0000 (01:53 -0700)]
misc-functions.sh: remove stale NEEDED* files

13 years agoFix last commit to work regardless of nullglob.
Zac Medico [Thu, 30 Jun 2011 08:17:38 +0000 (01:17 -0700)]
Fix last commit to work regardless of nullglob.

13 years agoecompress: beware of -k in PORTAGE_COMPRESS_FLAGS
Zac Medico [Thu, 30 Jun 2011 08:03:44 +0000 (01:03 -0700)]
ecompress: beware of -k in PORTAGE_COMPRESS_FLAGS

This will fix bug #372183.

13 years agoconfig: filter repo-level make.defaults earlier
Zac Medico [Thu, 30 Jun 2011 07:34:35 +0000 (00:34 -0700)]
config: filter repo-level make.defaults earlier

13 years agoebuild(1): use bintree.inject for "package" phase
Zac Medico [Thu, 30 Jun 2011 06:56:36 +0000 (23:56 -0700)]
ebuild(1): use bintree.inject for "package" phase

13 years agoebuild(1): pass missing myrepo arg to aux_get
Zac Medico [Thu, 30 Jun 2011 04:39:47 +0000 (21:39 -0700)]
ebuild(1): pass missing myrepo arg to aux_get

13 years agoebuild(1): pass "installed" arg to Package
Zac Medico [Thu, 30 Jun 2011 04:26:20 +0000 (21:26 -0700)]
ebuild(1): pass "installed" arg to Package

13 years agoebuild(1): pass Package instance to setcpv
Zac Medico [Thu, 30 Jun 2011 04:13:20 +0000 (21:13 -0700)]
ebuild(1): pass Package instance to setcpv

This should improve repo-level support, for bug #370693.

13 years agoOnly create soname symlinks in global libdirs.
Zac Medico [Thu, 30 Jun 2011 03:36:07 +0000 (20:36 -0700)]
Only create soname symlinks in global libdirs.

This prevents false positives for private libraries installed by
pre-built packages under /opt.

13 years agoconfig.setcpv(): simplify repo_env code
Zac Medico [Thu, 30 Jun 2011 02:09:46 +0000 (19:09 -0700)]
config.setcpv(): simplify repo_env code

13 years agoenv_update: document ldconfig -X for bug #373341
Zac Medico [Thu, 30 Jun 2011 01:50:54 +0000 (18:50 -0700)]
env_update: document ldconfig -X for bug #373341

13 years agoRELEASE-NOTES: fix spelling of "respecting"
Zac Medico [Thu, 30 Jun 2011 01:10:40 +0000 (18:10 -0700)]
RELEASE-NOTES: fix spelling of "respecting"

13 years agopreserve-libs: don't preserve "master" symlink
Zac Medico [Wed, 29 Jun 2011 11:37:08 +0000 (04:37 -0700)]
preserve-libs: don't preserve "master" symlink

There's no point in preserving the "master" symlink, since the soname
symlink is all that's strictly required.

13 years agoDon't ever recreate root .so links on env-update.
Michał Górny [Tue, 28 Jun 2011 08:10:36 +0000 (10:10 +0200)]
Don't ever recreate root .so links on env-update.

We install .so symlinks with packages, so let's use that instead of
letting ldconfig update them for no reason. This should fix problems
with preserved-libs.

13 years agoDetect/create missing soname symlinks for libs.
Zac Medico [Wed, 29 Jun 2011 09:18:21 +0000 (02:18 -0700)]
Detect/create missing soname symlinks for libs.

This will allow us to safely use the ldconfig -X option for all
ldconfig calls, an thereby avoid having ldconfig override our own
soname symlink policy which allows preserve-libs to work correctly
when libraries are downgraded as discussed in bug 373341.

13 years agoread_corresponding_eapi_file(): Strip final \n from EAPI value.
Arfrever Frehtes Taifersar Arahesis [Tue, 28 Jun 2011 14:15:28 +0000 (16:15 +0200)]
read_corresponding_eapi_file(): Strip final \n from EAPI value.

13 years agoRemove unimplemented "severe" FEATURES value.
Zac Medico [Tue, 28 Jun 2011 09:12:27 +0000 (02:12 -0700)]
Remove unimplemented "severe" FEATURES value.

This will fix bug #373301.

13 years agovarexpand: handle backslashes like more like bash
Zac Medico [Tue, 28 Jun 2011 09:06:36 +0000 (02:06 -0700)]
varexpand: handle backslashes like more like bash

For backslash expansion, this function used to behave like echo
-e, but that's not needed for our purposes. We want to behave like
bash does when expanding a variable assignment in a sourced file,
in which case it performs backslash removal for \\ and \$ but nothing
more. This will fix bash compatibility for the case reported in
bug #365033.

13 years agopkg_use_display(): Use use.expand and use.expand_hidden attributes.
Arfrever Frehtes Taifersar Arahesis [Mon, 27 Jun 2011 19:33:17 +0000 (21:33 +0200)]
pkg_use_display(): Use use.expand and use.expand_hidden attributes.

13 years agoPackage.use: share identical frozenset instances
Zac Medico [Mon, 27 Jun 2011 06:53:58 +0000 (23:53 -0700)]
Package.use: share identical frozenset instances

13 years agoFix CONFIG_PROTECT breakage from previous commit.
Zac Medico [Mon, 27 Jun 2011 02:32:06 +0000 (19:32 -0700)]
Fix CONFIG_PROTECT breakage from previous commit.

13 years agoconfig: disallow per-package/repo CONFIG_PROTECT
Zac Medico [Mon, 27 Jun 2011 00:34:13 +0000 (17:34 -0700)]
config: disallow per-package/repo CONFIG_PROTECT

In order for reliable etc-update behavior, CONFIG_PROTECT needs to be
a global constant (see bug 370693, comment #8).

13 years agoPackage: add use.expand/expand_hidden attributes
Zac Medico [Mon, 27 Jun 2011 00:16:07 +0000 (17:16 -0700)]
Package: add use.expand/expand_hidden attributes

This allows the merge list display to account for repository-level
USE_EXPAND and USE_EXPAND_HIDDEN settings (see bug #370693).

13 years agoprepare_features_dirs: fix ccache/distcc libdir
Zac Medico [Sat, 25 Jun 2011 05:42:13 +0000 (22:42 -0700)]
prepare_features_dirs: fix ccache/distcc libdir

This will fix bug #355283.

13 years agoAdd a QA check for systemd unit file install.
Michał Górny [Fri, 24 Jun 2011 15:51:17 +0000 (17:51 +0200)]
Add a QA check for systemd unit file install.

13 years agorepoman: fix broken set constructor usage
Zac Medico [Fri, 24 Jun 2011 10:28:31 +0000 (03:28 -0700)]
repoman: fix broken set constructor usage

13 years agorepoman: add new "dependency.unknown" warning
Zac Medico [Fri, 24 Jun 2011 10:21:20 +0000 (03:21 -0700)]
repoman: add new "dependency.unknown" warning

This checks for a dependency that refers to an unknown package (which
may be provided by an overlay), as requested in bug #372789.

13 years agoImprove indentation for readability.
Arfrever Frehtes Taifersar Arahesis [Thu, 23 Jun 2011 10:55:51 +0000 (12:55 +0200)]
Improve indentation for readability.

13 years agouse_reduce: less strict for installed
Zac Medico [Tue, 21 Jun 2011 08:14:47 +0000 (01:14 -0700)]
use_reduce: less strict for installed

13 years agoextract_affecting_use: less strict for installed
Zac Medico [Tue, 21 Jun 2011 07:57:59 +0000 (00:57 -0700)]
extract_affecting_use: less strict for installed

13 years agoconfig: fix repo KeyErrors
Zac Medico [Tue, 21 Jun 2011 03:27:38 +0000 (20:27 -0700)]
config: fix repo KeyErrors

13 years agoUseManager: avoid possible repo KeyErrors
Zac Medico [Tue, 21 Jun 2011 01:31:17 +0000 (18:31 -0700)]
UseManager: avoid possible repo KeyErrors

13 years agoconfig: repo-level make.defaults/package.use
Zac Medico [Tue, 21 Jun 2011 01:08:59 +0000 (18:08 -0700)]
config: repo-level make.defaults/package.use

This completes the implementation of bug #370693.

13 years agoconfig: fix repositories attribute for clone
Zac Medico [Tue, 21 Jun 2011 00:43:13 +0000 (17:43 -0700)]
config: fix repositories attribute for clone

13 years agoportage.5: document more repo-level config files
Zac Medico [Sun, 19 Jun 2011 19:44:21 +0000 (12:44 -0700)]
portage.5: document more repo-level config files

At the repository level, package.mask has been supported for some time.
Support for use.force, package.use.force, use.mask and package.use.mask
was recently added in commit 96ab7b436ceb3543f5158aab1fab48470c3f0b98.

13 years agoBug #370693: Handle package.use.force and package.use.mask files from master
Arfrever Frehtes Taifersar Arahesis [Sun, 19 Jun 2011 19:40:32 +0000 (21:40 +0200)]
Bug #370693: Handle package.use.force and package.use.mask files from master
repositories.

13 years agoBug #370693: Support use.force, package.use.force, use.mask and
Arfrever Frehtes Taifersar Arahesis [Sun, 19 Jun 2011 16:37:56 +0000 (18:37 +0200)]
Bug #370693: Support use.force, package.use.force, use.mask and
package.use.mask files in ${repository}/profiles.

13 years agoemaint binhost: add method for SIZE/MTIME checks
Zac Medico [Sat, 18 Jun 2011 22:09:07 +0000 (15:09 -0700)]
emaint binhost: add method for SIZE/MTIME checks

13 years agoemaint binhost: check SIZE and MTIME
Zac Medico [Sat, 18 Jun 2011 19:51:12 +0000 (12:51 -0700)]
emaint binhost: check SIZE and MTIME

13 years agoportageq: fix all_best_visible to fail early
Zac Medico [Sat, 18 Jun 2011 17:53:42 +0000 (10:53 -0700)]
portageq: fix all_best_visible to fail early

This will fix bug #372193.

13 years agorepoman: handle PermissionDenied from digestgen
Zac Medico [Fri, 17 Jun 2011 22:35:29 +0000 (15:35 -0700)]
repoman: handle PermissionDenied from digestgen

This will fix bug #371987.

13 years agomisspell-suggestions: filter the input cp
Zac Medico [Fri, 17 Jun 2011 21:58:37 +0000 (14:58 -0700)]
misspell-suggestions: filter the input cp

Obviously, we don't want to consider the input cp as a possible
suggestion, as reported in bug 372033.

13 years agotreewalk: set REPLACING_VERSIONS later
Zac Medico [Fri, 17 Jun 2011 20:57:02 +0000 (13:57 -0700)]
treewalk: set REPLACING_VERSIONS later

Settings like this are better done after doebuild_environment, in case
doebuild_environment calls config.setcpv/reset. This avoids the need to
call backup_changes which is not really intended for per-package
settings since it tends to pollute the config instance with settings
that survive config.reset() calls.

13 years agodoebuild: don't set REPLACING_VERSIONS for remove
Zac Medico [Fri, 17 Jun 2011 19:39:06 +0000 (12:39 -0700)]
doebuild: don't set REPLACING_VERSIONS for remove

Also, don't call backup_changes with this variable, since it's not
necessary and we don't want to pollute the config instance.

13 years agodoebuild: export REPLACING_VERSIONS more
Zac Medico [Fri, 17 Jun 2011 19:25:31 +0000 (12:25 -0700)]
doebuild: export REPLACING_VERSIONS more

This is for api consumers like Sabayon's Entropy.

13 years agorepoman: only report allmasked if ebuilds exist
Zac Medico [Thu, 16 Jun 2011 20:03:43 +0000 (13:03 -0700)]
repoman: only report allmasked if ebuilds exist

13 years agoprepare_build_dirs: skip FEATURES dirs more
Zac Medico [Thu, 16 Jun 2011 19:23:26 +0000 (12:23 -0700)]
prepare_build_dirs: skip FEATURES dirs more

We don't need to prepare ccache/distcc FEATURES dirs for pkg_info or
pkg_pretend phases. This will fix bug #371909.

13 years agoexpand_set_args: add root SetArg nodes to graph
Zac Medico [Thu, 16 Jun 2011 15:35:16 +0000 (08:35 -0700)]
expand_set_args: add root SetArg nodes to graph

This prevents get_dep_chain from triggering a KeyError some cases as
reported in bug #371767.

13 years agobintree: don't provide default VERSION header v2.2.0_alpha41
Zac Medico [Mon, 13 Jun 2011 22:13:17 +0000 (15:13 -0700)]
bintree: don't provide default VERSION header

We want to make sure that we know when the VERSION header is missing,
so we shouldn't provide a default value.

13 years agopkg_use_enabled: return early for built pkgs
Zac Medico [Mon, 13 Jun 2011 21:50:04 +0000 (14:50 -0700)]
pkg_use_enabled: return early for built pkgs

Built/installed packages have frozen USE settings, so there's no sense
in considering them for autounmask USE config changes. They'll simply
be rejected by select_package, and an unbuilt ebuild will be selected
instead. This will fix bug 371423 by avoiding unnecessary use_reduce
calls on the deps of installed packages.

13 years agodigestgen: spawn_nofetch (fix previous commit)
Zac Medico [Mon, 13 Jun 2011 15:25:58 +0000 (08:25 -0700)]
digestgen: spawn_nofetch (fix previous commit)

This call was erroneously removed in the previous commit. We have to
call spawn_nofetch since the fetch() function no longer calls it
automatically.

13 years agodigestgen: always allow fetch from mirror://
Zac Medico [Mon, 13 Jun 2011 13:40:39 +0000 (06:40 -0700)]
digestgen: always allow fetch from mirror://

This fixes repoman and ebuild(1) to fetch from mirror:// URIs even
though RESTRICT=fetch is set (this behavior already works for emerge
since it does not call fetch() via digestgen).

13 years agoScheduler: make --fetchonly skip pkg_pretend
Zac Medico [Mon, 13 Jun 2011 13:01:26 +0000 (06:01 -0700)]
Scheduler: make --fetchonly skip pkg_pretend

13 years agotest_merge_order: test smallest runtime cycle
Zac Medico [Sun, 12 Jun 2011 22:12:26 +0000 (15:12 -0700)]
test_merge_order: test smallest runtime cycle

In the case of multiple runtime cycles, where some cycles
may depend on smaller independent cycles, it's optimal
to merge smaller independent cycles before other cycles
that depend on them. Therefore, we search for the
smallest cycle in order to try and identify and prefer
these smaller independent cycles.

13 years agoFix a typo in a comment. v2.2.0_alpha40
Arfrever Frehtes Taifersar Arahesis [Sat, 11 Jun 2011 19:12:09 +0000 (21:12 +0200)]
Fix a typo in a comment.

13 years agoserialize_tasks: debug output for runtime cycles
Zac Medico [Sat, 11 Jun 2011 16:26:47 +0000 (09:26 -0700)]
serialize_tasks: debug output for runtime cycles

13 years agoserialize_tasks: asap ignore medium_soft earlier
Zac Medico [Sat, 11 Jun 2011 15:51:24 +0000 (08:51 -0700)]
serialize_tasks: asap ignore medium_soft earlier

This allows us to avoid the less efficient runtime cycle pathway for
cases in which an asap node is a leaf if medium_soft deps are ignored.
Ths should increase efficiency without changing behavior.

13 years agoserialize_tasks: minimize runtime cycles more
Zac Medico [Sat, 11 Jun 2011 09:05:51 +0000 (02:05 -0700)]
serialize_tasks: minimize runtime cycles more

13 years agoserialize_tasks: minimize nodes in runtime cycles
Zac Medico [Sat, 11 Jun 2011 06:25:46 +0000 (23:25 -0700)]
serialize_tasks: minimize nodes in runtime cycles

When gathering the nodes belonging to a runtime cycle, we want to
minimize the number of nodes gathered, since this tends to produce
a more optimal merge order. Ignoring all medium_soft deps serves
this purpose.

13 years agodepgraph._serialize_tasks: revert formatting diff
Zac Medico [Sat, 11 Jun 2011 05:21:19 +0000 (22:21 -0700)]
depgraph._serialize_tasks: revert formatting diff

13 years agodepgraph._serialize_tasks: move libperl/perl code
Zac Medico [Sat, 11 Jun 2011 03:58:38 +0000 (20:58 -0700)]
depgraph._serialize_tasks: move libperl/perl code

This ensures that all asap_nodes are explored before setting
prefer_asap to False.

13 years agobintree: verify that default REPO is legit
Zac Medico [Sat, 11 Jun 2011 03:38:02 +0000 (20:38 -0700)]
bintree: verify that default REPO is legit

We need to check the RepoConfig.missing_repo_name attribute to make
sure the repo_name is really defined.

13 years agodepgraph._serialize_tasks: tweak last commit more
Zac Medico [Sat, 11 Jun 2011 02:58:33 +0000 (19:58 -0700)]
depgraph._serialize_tasks: tweak last commit more

13 years agodepgraph._serialize_tasks: tweak last commit
Zac Medico [Sat, 11 Jun 2011 02:45:08 +0000 (19:45 -0700)]
depgraph._serialize_tasks: tweak last commit

This code is only intended when more than one node is selected.

13 years agotest_fakedbapi: define PORTDIR, test missing IUSE
Zac Medico [Sat, 11 Jun 2011 02:31:22 +0000 (19:31 -0700)]
test_fakedbapi: define PORTDIR, test missing IUSE

13 years agotest_fakedbapi: use tempdir for config paths
Zac Medico [Sat, 11 Jun 2011 02:17:10 +0000 (19:17 -0700)]
test_fakedbapi: use tempdir for config paths

13 years agoAdd tests for fakedbapi.
Zac Medico [Sat, 11 Jun 2011 02:08:46 +0000 (19:08 -0700)]
Add tests for fakedbapi.

13 years agoslot_collision_notice: don't omit any use dep
Zac Medico [Sat, 11 Jun 2011 01:30:37 +0000 (18:30 -0700)]
slot_collision_notice: don't omit any use dep

When USE flags are removed, it can be essential to see all broken
reverse dependencies here, so don't omit any. If the list is long,
people can simply use a pager.

13 years agoshow_unsatisfied_blockers: don't omit any pkgs
Zac Medico [Sat, 11 Jun 2011 00:42:18 +0000 (17:42 -0700)]
show_unsatisfied_blockers: don't omit any pkgs

It can be essential to see all the packages here, so don't omit any.
If the list is long, people can simply use a pager.

13 years agoFix a typo.
Arfrever Frehtes Taifersar Arahesis [Sat, 11 Jun 2011 00:02:27 +0000 (02:02 +0200)]
Fix a typo.

13 years agodepgraph._serialize_tasks: fix libperl/perl order
Zac Medico [Fri, 10 Jun 2011 23:24:54 +0000 (16:24 -0700)]
depgraph._serialize_tasks: fix libperl/perl order

In some cases, the asap_nodes code caused selection of a large runtime
cycle that was obviously sub-optimal. Now such cases are detected and
avoided.

13 years agofakedbapi: add myrepo args for portdbapi compat
Zac Medico [Fri, 10 Jun 2011 17:19:36 +0000 (10:19 -0700)]
fakedbapi: add myrepo args for portdbapi compat

13 years agobintree: handle pkgindex CHOST header like REPO
Zac Medico [Fri, 10 Jun 2011 12:21:06 +0000 (05:21 -0700)]
bintree: handle pkgindex CHOST header like REPO

This allows an existing CHOST header entry to properly override our
default.

13 years agobintree: always populate pkgindex REPO header
Zac Medico [Fri, 10 Jun 2011 12:04:17 +0000 (05:04 -0700)]
bintree: always populate pkgindex REPO header

The previous code would only populate it when there was no existing
index file. Now, the default will be populated even if the file exists
already. If an existing pkgindex header already defines these keys,
then they will appropriately override our defaults.

13 years agoFix some typoes in docs and comments. v2.2.0_alpha39
Zac Medico [Fri, 10 Jun 2011 01:10:51 +0000 (18:10 -0700)]
Fix some typoes in docs and comments.

13 years agoportage.5: doc repo and wildcard atom extensions
Zac Medico [Thu, 9 Jun 2011 22:08:29 +0000 (15:08 -0700)]
portage.5: doc repo and wildcard atom extensions

13 years agouseflag/dep_re: less strict if eapi None
Zac Medico [Thu, 9 Jun 2011 18:48:19 +0000 (11:48 -0700)]
useflag/dep_re: less strict if eapi None

When eapi is None then validation is not as strict, since we want the
same to work for multiple EAPIs that may have slightly different rules.

13 years agoSubProcess: fix status for _set_returncode caller
Zac Medico [Thu, 9 Jun 2011 18:19:38 +0000 (11:19 -0700)]
SubProcess: fix status for _set_returncode caller

These callers don't intend to make WIFSIGNALED return True, so they
need to shift their codes 8 bits to the left. This ensures that
commit 88f5bf84e2fd23125910b2ecaffc035971445696 behaves as intended.

13 years agoAbstractEbuildProcess: handle kill by signal
Zac Medico [Thu, 9 Jun 2011 16:19:33 +0000 (09:19 -0700)]
AbstractEbuildProcess: handle kill by signal

This will fix bug #368817.

13 years agoSubProcess: make returncode like Popen
Zac Medico [Thu, 9 Jun 2011 16:07:54 +0000 (09:07 -0700)]
SubProcess: make returncode like Popen

13 years agolockfile: use hasattr() instead of dir()
Zac Medico [Thu, 9 Jun 2011 15:43:40 +0000 (08:43 -0700)]
lockfile: use hasattr() instead of dir()

13 years agoebuild.sh: fix libdir for ccache/distcc
Zac Medico [Thu, 9 Jun 2011 15:11:08 +0000 (08:11 -0700)]
ebuild.sh: fix libdir for ccache/distcc

This will fix bug #355283.

13 years agoebuild.sh: don't hardcode distcc pump path
Jeremy Murphy [Thu, 9 Jun 2011 14:34:35 +0000 (07:34 -0700)]
ebuild.sh: don't hardcode distcc pump path

13 years agotest_use_reduce: test empty parens (bug 370565)
Zac Medico [Thu, 9 Jun 2011 14:28:14 +0000 (07:28 -0700)]
test_use_reduce: test empty parens (bug 370565)