portage.git
12 years agoRemove portage.const._ENABLE_XATTR. v2.2.0_alpha85
Zac Medico [Sat, 4 Feb 2012 14:47:48 +0000 (06:47 -0800)]
Remove portage.const._ENABLE_XATTR.

12 years agorepoman: support git commit --gpg-sign
Zac Medico [Sat, 4 Feb 2012 14:26:12 +0000 (06:26 -0800)]
repoman: support git commit --gpg-sign

In order to sign commits with git, you will need Git >=1.7.9 and your
key will have to be configured by `git config user.signingkey key_id`.
Also, the repository will need to have "sign-commits = true" in
metadata/layout.conf. This will fix bug #333687.

12 years agoHonor repos.conf for overlay priority, bug 402099
Daniel Hornung [Fri, 3 Feb 2012 22:33:35 +0000 (14:33 -0800)]
Honor repos.conf for overlay priority, bug 402099

Signed-off-by: Zac Medico <zmedico@gentoo.org>
12 years agoinstall_qa_check: handle info dir rm failure
Zac Medico [Wed, 1 Feb 2012 18:52:11 +0000 (10:52 -0800)]
install_qa_check: handle info dir rm failure

This will fix bug #400679.

12 years agoLinkageMapELF: handle null bytes in NEEDED.ELF.2
Zac Medico [Wed, 1 Feb 2012 02:04:11 +0000 (18:04 -0800)]
LinkageMapELF: handle null bytes in NEEDED.ELF.2

This avoids an error from os.stat:
  TypeError: must be encoded string without NULL bytes, not str

12 years agoUse consistent indentation in output of `emerge -p --columns ${package}`
Arfrever Frehtes Taifersar Arahesis [Sat, 28 Jan 2012 02:20:25 +0000 (03:20 +0100)]
Use consistent indentation in output of `emerge -p --columns ${package}`
regardless of ROOT.

12 years agoDelete needless parentheses.
Arfrever Frehtes Taifersar Arahesis [Sat, 28 Jan 2012 01:50:11 +0000 (02:50 +0100)]
Delete needless parentheses.

12 years agoDon't print ::${repository} for main repository in output of
Arfrever Frehtes Taifersar Arahesis [Sat, 28 Jan 2012 01:38:24 +0000 (02:38 +0100)]
Don't print ::${repository} for main repository in output of
`emerge -pv ${package}` by default. Add --verbose-main-repo-display
option, which enables printing ::${repository} for main repository.

12 years agoApply INSTALL_MASK prior to reading the tree
Brian Harring [Fri, 27 Jan 2012 18:23:02 +0000 (10:23 -0800)]
Apply INSTALL_MASK prior to reading the tree

If this isn't done, collision-protect uses the old cached filelist,
leading to it complaining about things that INSTALL_MASK sorted already.

BUGS=chromium-os:25060
TEST=emerge sudo && emerge chromeos-base

12 years agophase-helpers.sh: set -x when emulating yes
Zac Medico [Wed, 25 Jan 2012 05:34:27 +0000 (21:34 -0800)]
phase-helpers.sh: set -x when emulating yes

This avoids displaying a bunch of garbage in debug mode.

12 years agoFix display of installed version for packages, which have multiple slots
Arfrever Frehtes Taifersar Arahesis [Mon, 23 Jan 2012 17:07:40 +0000 (18:07 +0100)]
Fix display of installed version for packages, which have multiple slots
installed. Follow-up to commit 8118be36842a2db2eb72538e21a3b343773b3365.

12 years agoMake the second part of_emerge.resolver.output.Display.verbose_size()
Arfrever Frehtes Taifersar Arahesis [Sun, 22 Jan 2012 03:53:59 +0000 (04:53 +0100)]
Make the second part of_emerge.resolver.output.Display.verbose_size()
conditional on self.quiet_repo_display instead of earlier returning
if self.quiet_repo_display is False. No functional changes.

12 years agoPrint [${old_version}::${old_repository}] in output of `emerge -pv ${package}`
Arfrever Frehtes Taifersar Arahesis [Sun, 22 Jan 2012 03:43:03 +0000 (04:43 +0100)]
Print [${old_version}::${old_repository}] in output of `emerge -pv ${package}`
when ${old_version} is the same as ${new_version}, but ${old_repository} is
different than ${new_repository}.

12 years agoecompress: don't rename dir symlink, bug #399595
Zac Medico [Sat, 21 Jan 2012 21:32:59 +0000 (13:32 -0800)]
ecompress: don't rename dir symlink, bug #399595

12 years agodocument --quiet-repo-display
Zac Medico [Sat, 21 Jan 2012 04:00:55 +0000 (20:00 -0800)]
document --quiet-repo-display

12 years agoPrint ::${repository} in output of `emerge -pv ${package}` by default.
Arfrever Frehtes Taifersar Arahesis [Fri, 20 Jan 2012 23:40:52 +0000 (00:40 +0100)]
Print ::${repository} in output of `emerge -pv ${package}` by default.
Add --quiet-repo-display option, which enables previous, more quiet output.

12 years agoFix --changed-use interaction with bug 297549.
Zac Medico [Fri, 20 Jan 2012 20:29:31 +0000 (12:29 -0800)]
Fix --changed-use interaction with bug 297549.

The automatic --binpkg-respect-use code (from bug #297549) was
inappropriately overriding --changed-use and triggering behavior like
--newuse, as reported here:

http://archives.gentoo.org/gentoo-dev/msg_6070ab87737d7e16a5cec2a72c9111fd.xml

12 years agoman/emerge.1: reference --exclude from --newuse
Zac Medico [Fri, 20 Jan 2012 04:46:37 +0000 (20:46 -0800)]
man/emerge.1: reference --exclude from --newuse

12 years agofix comment garbage from last commit
Zac Medico [Tue, 17 Jan 2012 21:40:28 +0000 (13:40 -0800)]
fix comment garbage from last commit

12 years agoxml/metadata.py: handle ExpatError
Zac Medico [Tue, 17 Jan 2012 21:13:00 +0000 (13:13 -0800)]
xml/metadata.py: handle ExpatError

12 years agoremove stray 'fi' from last commit
Zac Medico [Tue, 17 Jan 2012 20:39:00 +0000 (12:39 -0800)]
remove stray 'fi' from last commit

12 years ago_eapi0_src_test: remove redundant FEATURES checks
Zac Medico [Tue, 17 Jan 2012 15:30:11 +0000 (07:30 -0800)]
_eapi0_src_test: remove redundant FEATURES checks

12 years agoSupport repository dependencies in EAPI="4-python".
Arfrever Frehtes Taifersar Arahesis [Sun, 15 Jan 2012 23:53:04 +0000 (00:53 +0100)]
Support repository dependencies in EAPI="4-python".

12 years agoportageq metadata: Support repository dependencies.
Arfrever Frehtes Taifersar Arahesis [Sun, 15 Jan 2012 21:44:17 +0000 (22:44 +0100)]
portageq metadata: Support repository dependencies.

12 years agocreate_world_atom: multi-repo portdbapi aux_get
Zac Medico [Sun, 15 Jan 2012 17:59:37 +0000 (09:59 -0800)]
create_world_atom: multi-repo portdbapi aux_get

This handles a KeyError raised from portdbapi.aux_get() when one of the
repositories has a corrupt ebuild.

12 years agoadd support for compressing debug sections to save space
Mike Frysinger [Fri, 13 Jan 2012 19:34:58 +0000 (14:34 -0500)]
add support for compressing debug sections to save space

Since binutils/gdb can compress the .debug* sections with zlib into
.zdebug*, we should be able to save quite a bit of space -- on my
system, I saw /usr/lib/debug/ go from ~20GB to ~7.5GB.

This requires binutils/gdb to be built with USE=zlib which is why
this defaults to off.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoprepstrip: add writable workaround for everyone
Mike Frysinger [Fri, 13 Jan 2012 19:29:06 +0000 (14:29 -0500)]
prepstrip: add writable workaround for everyone

The writable issue shows up when using `ebuild` as non-root users
in non-prefix setups.  So always do it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoegencache: escape newline instead of lstrip
Zac Medico [Sat, 14 Jan 2012 17:10:10 +0000 (09:10 -0800)]
egencache: escape newline instead of lstrip

12 years agoegencache: use textwrap.dedent
Zac Medico [Sat, 14 Jan 2012 17:01:38 +0000 (09:01 -0800)]
egencache: use textwrap.dedent

12 years agoApply INSTALL_MASK prior to collision-protect.
Zac Medico [Sat, 14 Jan 2012 15:29:08 +0000 (07:29 -0800)]
Apply INSTALL_MASK prior to collision-protect.

It may be useful to avoid collisions in some scenarios.

12 years agodyn_install: skip copy if possible
Zac Medico [Fri, 13 Jan 2012 16:21:31 +0000 (08:21 -0800)]
dyn_install: skip copy if possible

Also, fix EPREFIX breakage since commit
5d5364e982820fda56db5a40884e1c5f8e784b96.

12 years agodyn_package: portable cp args by Mike Frysinger
Zac Medico [Fri, 13 Jan 2012 16:06:20 +0000 (08:06 -0800)]
dyn_package: portable cp args by Mike Frysinger

12 years agodyn_package: remove stale PROOT if necessary
Zac Medico [Fri, 13 Jan 2012 14:14:12 +0000 (06:14 -0800)]
dyn_package: remove stale PROOT if necessary

12 years agoModify PKG_INSTALL_MASK to apply only to binpkg creation.
Brian Harring [Fri, 13 Jan 2012 12:18:48 +0000 (04:18 -0800)]
Modify PKG_INSTALL_MASK to apply only to binpkg creation.

Primarily useful for certain cases where cros needs to suppress debug
symbols being included for specific pkgs, and/or suppressing binpkgs
from carrying sensitive configuration data, but we still wish for it
to be installed.

BUG=chromium-os:25060
TEST=set PKG_INSTALL_MASK, check ${D} vs what's in the binpkg

Change-Id: I0f81a9e394b7b0b64dbbcbe8d189876cb8421dfa

12 years agotest_config: fix AttributeError: 'str'
Zac Medico [Fri, 13 Jan 2012 02:46:24 +0000 (18:46 -0800)]
test_config: fix AttributeError: 'str'

12 years agodepgraph: account for unevaluated_atom in cache
Zac Medico [Thu, 12 Jan 2012 16:59:40 +0000 (08:59 -0800)]
depgraph: account for unevaluated_atom in cache

12 years agodepgraph: unevaluated parent atom in debug output
Zac Medico [Thu, 12 Jan 2012 16:32:53 +0000 (08:32 -0800)]
depgraph: unevaluated parent atom in debug output

12 years agoAdd --human-readable to rsync opts for bug 269410
Zac Medico [Thu, 12 Jan 2012 11:26:13 +0000 (03:26 -0800)]
Add --human-readable to rsync opts for bug 269410

12 years agoread_corresponding_eapi_file: unicode, bug 398587
Zac Medico [Thu, 12 Jan 2012 01:34:49 +0000 (17:34 -0800)]
read_corresponding_eapi_file: unicode, bug 398587

12 years agoquickpkg: add leading ./ to names for bug 398543
Zac Medico [Wed, 11 Jan 2012 16:02:26 +0000 (08:02 -0800)]
quickpkg: add leading ./ to names for bug 398543

12 years agoDEVELOPING: add "Dependencies" section
Zac Medico [Wed, 11 Jan 2012 12:38:07 +0000 (04:38 -0800)]
DEVELOPING: add "Dependencies" section

12 years agoDEVELOPING: add "Python Version" section
Zac Medico [Wed, 11 Jan 2012 12:28:56 +0000 (04:28 -0800)]
DEVELOPING: add "Python Version" section

12 years agoDEVELOPING: remove section about string module
Zac Medico [Wed, 11 Jan 2012 12:18:20 +0000 (04:18 -0800)]
DEVELOPING: remove section about string module

The module no longer exists since Python 2.7, so by now it should be
obvious that it's obsolete.

12 years agoportage.debug.trace_handler.__init__(): Fix compatibility with Python 3.
Arfrever Frehtes Taifersar Arahesis [Wed, 11 Jan 2012 03:57:23 +0000 (04:57 +0100)]
portage.debug.trace_handler.__init__(): Fix compatibility with Python 3.

12 years agoExtendedAtomDict: fix for python-trace
Zac Medico [Tue, 10 Jan 2012 18:41:29 +0000 (10:41 -0800)]
ExtendedAtomDict: fix for python-trace

12 years agoenv_update: ldsoconf_update flag not reliable
Zac Medico [Tue, 10 Jan 2012 00:37:28 +0000 (16:37 -0800)]
env_update: ldsoconf_update flag not reliable

The ldsoconf_update flag was not a reliable indicator of whether
or not ldconfig needs to be called, since ld.so.conf can have lines
like "include ld.so.conf.d/*.conf" that pull in outside content which
may have changed without being detected.

12 years agoUpdate documentation of EAPI="4-python".
Arfrever Frehtes Taifersar Arahesis [Sun, 8 Jan 2012 06:43:06 +0000 (07:43 +0100)]
Update documentation of EAPI="4-python".

12 years agoSet REPOSITORY variable in ebuild environment in EAPI="4-python".
Arfrever Frehtes Taifersar Arahesis [Sun, 8 Jan 2012 06:19:06 +0000 (07:19 +0100)]
Set REPOSITORY variable in ebuild environment in EAPI="4-python".

12 years agoFix location of a comment.
Arfrever Frehtes Taifersar Arahesis [Sun, 8 Jan 2012 06:06:33 +0000 (07:06 +0100)]
Fix location of a comment.

12 years agoSet portage-1 as default profile format for repositories using EAPI="4-python".
Arfrever Frehtes Taifersar Arahesis [Sun, 8 Jan 2012 03:06:31 +0000 (04:06 +0100)]
Set portage-1 as default profile format for repositories using EAPI="4-python".

12 years agoSet eapi attribute on portage.repository.config.RepoConfig objects.
Arfrever Frehtes Taifersar Arahesis [Sun, 8 Jan 2012 03:00:07 +0000 (04:00 +0100)]
Set eapi attribute on portage.repository.config.RepoConfig objects.

12 years agogetlibpaths: regex for include
Zac Medico [Tue, 3 Jan 2012 21:59:25 +0000 (13:59 -0800)]
getlibpaths: regex for include

12 years agoSupport include directives in ld.so.conf.
Michał Górny [Tue, 3 Jan 2012 21:28:47 +0000 (22:28 +0100)]
Support include directives in ld.so.conf.

12 years agoebuild.5: fix REQUIRED_USE sample for bug #397415
Gavin Pryke [Mon, 2 Jan 2012 23:01:30 +0000 (15:01 -0800)]
ebuild.5: fix REQUIRED_USE sample for bug #397415

12 years agorepoman: remove ebuild.allmasked check
Zac Medico [Mon, 2 Jan 2012 07:48:07 +0000 (23:48 -0800)]
repoman: remove ebuild.allmasked check

This check it pretty useless, since there packages don't necessarily
need to have any stable keywords, and nobody relies on this check to
decide when to keyword something. Also, remove references to the
ebuild.nostable which doesn't seem to exist anymore.

12 years agorepoman: discard xmatch caches from previous pkgs
Zac Medico [Mon, 2 Jan 2012 07:34:30 +0000 (23:34 -0800)]
repoman: discard xmatch caches from previous pkgs

This should help prevent repoman from consuming too much memory when
checking multiple packages or the whole tree.

12 years agoRepoConfigLoader: don't mix duplicate repo config v2.2.0_alpha84
Zac Medico [Wed, 28 Dec 2011 08:15:58 +0000 (00:15 -0800)]
RepoConfigLoader: don't mix duplicate repo config

RepoConfig.update() was being used to copy attributes from one instance
to another, possibly leading to inappropriate mixing of layout.conf
attributes from separate copies of the same repo. This is common with
repoman, for example, when temporarily overriding an rsync repo with
another copy of the same repo from CVS.

12 years agoRepoConfig.update(): copy more attributes
Zac Medico [Wed, 28 Dec 2011 07:13:41 +0000 (23:13 -0800)]
RepoConfig.update(): copy more attributes

This fixes a regression since commit
10246cd535f909dda8bd05de617c32d2b8a56b4a which caused layout.conf
settings such as thin-manifests to be ignored for repositories that
had repos.conf settings that did not specify the repository location.
In order to trigger this case, ResolverPlayground has been modified to
omit the location of each repository in the repos.conf file that it
generates.

13 years agorepoman: later --ask prompt for bug #395995
Zac Medico [Sun, 25 Dec 2011 20:05:08 +0000 (12:05 -0800)]
repoman: later --ask prompt for bug #395995

13 years agoportage.repository.config.RepoConfigLoader: Rename _add_overlays() to
Arfrever Frehtes Taifersar Arahesis [Sun, 25 Dec 2011 19:40:40 +0000 (20:40 +0100)]
portage.repository.config.RepoConfigLoader: Rename _add_overlays() to
_add_repositories().

13 years agoTweak CFLAGS scanelf loop. v2.2.0_alpha83
Zac Medico [Sat, 24 Dec 2011 11:52:56 +0000 (03:52 -0800)]
Tweak CFLAGS scanelf loop.

13 years agoUpdate date headers in man pages.
Zac Medico [Sat, 24 Dec 2011 11:30:30 +0000 (03:30 -0800)]
Update date headers in man pages.

13 years agoAdd FEATURES=config-protect-if-modified support.
Zac Medico [Sat, 24 Dec 2011 11:17:26 +0000 (03:17 -0800)]
Add FEATURES=config-protect-if-modified support.

This causes the CONFIG_PROTECT behavior to be skipped for files
that have not been modified since they were installed.

13 years agoFakeVartree: implement self.dbapi._aux_cache_keys
Zac Medico [Sat, 24 Dec 2011 10:23:30 +0000 (02:23 -0800)]
FakeVartree: implement self.dbapi._aux_cache_keys

This will fix bug #395879.

13 years agoDon't check .GCC.command.line for kernel modules.
Zac Medico [Sat, 24 Dec 2011 10:13:32 +0000 (02:13 -0800)]
Don't check .GCC.command.line for kernel modules.

Linux kernel modules trigger the following warning when compiled with
-frecord-gcc-switches:

WARNING: mod.o (.GCC.command.line): unexpected non-allocatable section.

13 years agoDo CFLAGS check before strip for bug #395877.
Zac Medico [Sat, 24 Dec 2011 09:07:39 +0000 (01:07 -0800)]
Do CFLAGS check before strip for bug #395877.

13 years agoFix a typo in a doc string.
Arfrever Frehtes Taifersar Arahesis [Sat, 24 Dec 2011 01:28:50 +0000 (02:28 +0100)]
Fix a typo in a doc string.

13 years agoAbstractPollTask: note PipeReaderArrayTestCase v2.2.0_alpha82
Zac Medico [Fri, 23 Dec 2011 18:07:35 +0000 (10:07 -0800)]
AbstractPollTask: note PipeReaderArrayTestCase

13 years agodepgraph.py: remove unused variables
Zac Medico [Fri, 23 Dec 2011 10:15:46 +0000 (02:15 -0800)]
depgraph.py: remove unused variables

13 years agoQA_FLAGS_IGNORED: include QA_PREBUILT
Zac Medico [Fri, 23 Dec 2011 00:26:56 +0000 (16:26 -0800)]
QA_FLAGS_IGNORED: include QA_PREBUILT

Also, QA_DT_HASH doesn't need to include QA_PREBUILT anymore, since
it's merged with QA_FLAGS_IGNORED.

13 years agoFix description of QA_FLAGS_IGNORED.
Arfrever Frehtes Taifersar Arahesis [Thu, 22 Dec 2011 23:56:37 +0000 (00:56 +0100)]
Fix description of QA_FLAGS_IGNORED.

13 years agoShare variables for CFLAGS and LDFLAGS checks.
Zac Medico [Thu, 22 Dec 2011 23:42:06 +0000 (15:42 -0800)]
Share variables for CFLAGS and LDFLAGS checks.

The rationale is that any exceptions to either of these checks will
probably apply to both checks. So, QA_CFLAGS_IGNORED and QA_DT_HASH
are merged into QA_FLAGS_IGNORED, and QA_STRICT_CFLAGS_IGNORED and
QA_STRICT_DT_HASH are merged into QA_STRICT_FLAGS_IGNORED.

13 years agoebuild-helpers/new*: QA warn for extra args
Zac Medico [Thu, 22 Dec 2011 22:15:43 +0000 (14:15 -0800)]
ebuild-helpers/new*: QA warn for extra args

13 years ago_pty.py: remove unused _tested_pty variable
Zac Medico [Thu, 22 Dec 2011 21:36:40 +0000 (13:36 -0800)]
_pty.py: remove unused _tested_pty variable

13 years ago_pty.py: remove _test_pty_eof()
Zac Medico [Thu, 22 Dec 2011 21:34:17 +0000 (13:34 -0800)]
_pty.py: remove _test_pty_eof()

If array.fromfile() is not used, then _test_pty_eof() is useless.
This function was for runtime detection of python issue 5380:

   http://bugs.python.org/issue5380

However, array.fromfile() use has since been abandoned due to
bugs that exist in all known versions of Python (including Python
2.7 and Python 3.2). See PipeReaderArrayTestCase, for example.

13 years agoconfig.setcpv(): use dbapi._aux_cache_keys
Zac Medico [Thu, 22 Dec 2011 20:06:45 +0000 (12:06 -0800)]
config.setcpv(): use dbapi._aux_cache_keys

This helps to avoid triggering the environment.bz2 extraction in
vardbapi.aux_get().

13 years ago_aux_env_search: decode unicode more
Zac Medico [Thu, 22 Dec 2011 19:43:11 +0000 (11:43 -0800)]
_aux_env_search: decode unicode more

13 years agofilter_readonly_variables: refactor binpkg logic
Zac Medico [Thu, 22 Dec 2011 19:39:32 +0000 (11:39 -0800)]
filter_readonly_variables: refactor binpkg logic

13 years agofetch: don't apply permissions to symlinks
Zac Medico [Thu, 22 Dec 2011 19:10:18 +0000 (11:10 -0800)]
fetch: don't apply permissions to symlinks

We don't want to modify anything outside of the primary DISTDIR,
and symlinks typically point to PORTAGE_RO_DISTDIRS. This will
fix bug #395705.

13 years agofilter_readonly_variables: don't trust binpkg var
Zac Medico [Thu, 22 Dec 2011 05:43:51 +0000 (21:43 -0800)]
filter_readonly_variables: don't trust binpkg var

13 years agomake.globals: don't define TMPDIR with EPREFIX
Zac Medico [Thu, 22 Dec 2011 04:29:51 +0000 (20:29 -0800)]
make.globals: don't define TMPDIR with EPREFIX

Same reason as commit e1c6bba8c26525cca498894237c6421f86c98dfb.

13 years agomake.globals: don't define PORTDIR with EPREFIX
Zac Medico [Thu, 22 Dec 2011 04:22:18 +0000 (20:22 -0800)]
make.globals: don't define PORTDIR with EPREFIX

We want make.globals defaults to evaluate the same, regardless of
the current prefix that we're using it for (bug #395633).

13 years agofilter_readonly_variables: preserve binpkg vars
Zac Medico [Thu, 22 Dec 2011 04:06:36 +0000 (20:06 -0800)]
filter_readonly_variables: preserve binpkg vars

13 years agosearch.py: use _aux_cache_keys more
Zac Medico [Thu, 22 Dec 2011 00:44:37 +0000 (16:44 -0800)]
search.py: use _aux_cache_keys more

This helps to avoid triggering the environment.bz2 extraction in
vardbapi.aux_get().

13 years agovardbapi._aux_get: unicode EAPI key
Zac Medico [Thu, 22 Dec 2011 00:32:48 +0000 (16:32 -0800)]
vardbapi._aux_get: unicode EAPI key

13 years agovardbapi._aux_get: search environment in one pass
Zac Medico [Thu, 22 Dec 2011 00:29:30 +0000 (16:29 -0800)]
vardbapi._aux_get: search environment in one pass

13 years agovardbapi._aux_get: account for _aux_cache_keys_re
Zac Medico [Wed, 21 Dec 2011 23:16:13 +0000 (15:16 -0800)]
vardbapi._aux_get: account for _aux_cache_keys_re

13 years agovardbapi.aux_get: search environment, bug 395463
Zac Medico [Wed, 21 Dec 2011 22:58:41 +0000 (14:58 -0800)]
vardbapi.aux_get: search environment, bug 395463

13 years agocnf/make.conf: fix ia64 and s390 diffs
Zac Medico [Wed, 21 Dec 2011 21:45:24 +0000 (13:45 -0800)]
cnf/make.conf: fix ia64 and s390 diffs

13 years agoUse *FLAGS for CFLAGS ignorance checks.
Zac Medico [Wed, 21 Dec 2011 21:28:47 +0000 (13:28 -0800)]
Use *FLAGS for CFLAGS ignorance checks.

Current *FLAGS variables include CFLAGS, CXXFLAGS, FFLAGS, and FCFLAGS.
Not that this check is only enabled if every one of these variables
contains -frecord-gcc-switches, since otherwise the check could result
in false positive results.

13 years agodata.py: stat EROOT for PORTAGE_GRPNAME/USERNAME
Zac Medico [Wed, 21 Dec 2011 20:55:56 +0000 (12:55 -0800)]
data.py: stat EROOT for PORTAGE_GRPNAME/USERNAME

The config class has equivalent code, but we also need to do it here if
_disable_legacy_globals() has been called.

13 years agos/QA_STRICT_DT_SWITCHES/QA_STRICT_CFLAGS_IGNORED/
Zac Medico [Wed, 21 Dec 2011 20:07:37 +0000 (12:07 -0800)]
s/QA_STRICT_DT_SWITCHES/QA_STRICT_CFLAGS_IGNORED/

13 years agos/QA_DT_SWITCHES/QA_CFLAGS_IGNORED/
Zac Medico [Wed, 21 Dec 2011 20:03:45 +0000 (12:03 -0800)]
s/QA_DT_SWITCHES/QA_CFLAGS_IGNORED/

13 years ago--ask is fine for --depclean as well.
Michał Górny [Sun, 23 Oct 2011 09:16:15 +0000 (11:16 +0200)]
--ask is fine for --depclean as well.

13 years agoinstall_qa_check: more RESTRICT=binchecks
Zac Medico [Wed, 21 Dec 2011 19:36:31 +0000 (11:36 -0800)]
install_qa_check: more RESTRICT=binchecks

13 years agoStrip .GCC.command.line from output files as well.
Michał Górny [Wed, 21 Dec 2011 16:20:38 +0000 (17:20 +0100)]
Strip .GCC.command.line from output files as well.

13 years agoSupport checking for ignored CFLAGS using -frecord-gcc-switches.
Michał Górny [Wed, 21 Dec 2011 16:10:17 +0000 (17:10 +0100)]
Support checking for ignored CFLAGS using -frecord-gcc-switches.

13 years agohashed_path: implement __repr__
Zac Medico [Tue, 20 Dec 2011 23:26:54 +0000 (15:26 -0800)]
hashed_path: implement __repr__

13 years agoSilently allow missing /var/cache/edb/counter.
Zac Medico [Tue, 20 Dec 2011 20:26:48 +0000 (12:26 -0800)]
Silently allow missing /var/cache/edb/counter.

Files under /var/cache/ are allowed to disappear.

13 years agoAdd some EAPI 4-python docs.
Zac Medico [Tue, 20 Dec 2011 20:14:05 +0000 (12:14 -0800)]
Add some EAPI 4-python docs.