ebuild(5): document the "has" function
ebuild(5): document usev
Use -b instead of -bb.
(-bb can trigger errors, depending on Python version and environment.)
Fix test with Python 2.6.
(assertIsNotNone was introduced in Python 2.7 and 3.1.)
Fix some DeprecationWarnings.
Implement FEATURES="mirror" for emerge (bug 498498)

This was only implemented for the ebuild command before.
Acked by: Mike Frysinger <vapier@gentoo.org>
Add src_{prepare, configure} and pkg_pretend checks to repoman

EAPI 0/1: Warn if src_configure/src_pretend used
EAPI < 4: Warn if pkg_pretend is used
Fixes bug 379491.

Acked-by: Mike Frysinger <vapier@gentoo.org>
Test for read-only filesystems, fixes bug 378869

If any read-only filesystems need writing, bail out and display a
useful error message.

v2: Reformat, add a function to return an appropriate read-only checker
for the operating system, so that this can be extended to other OSes.

v3: minor formatting tweaks from bernalex, including use os.path.join()
instead of string concatenation

v4: Update copyright header, change the code in rochecker to open with
io.open in order to not break on non-ascii characters as reported by
Arfrever. Change get_ro_checker to use a dict as suggested by vapier.

v5: Fix comment format as requested by vapier.

v6: Change linux_ro_checker to use set.intersection instead of the
longer check-and-append system as suggested by vapier.

v7: rename rochecker -> writeable_check
Add resolver/package_tracker
Replace _slot_pkg_map and some tree dbapiS with _package_tracker
Replace mydbapi with _package_tracker
Replace _slot_collision_info with _package_tracker
Replace _slot_collision_nodes with _package_tracker
Package.__str__: show slot/sub-slot
format_unmatched_atom: Pretty printing for unmatched atoms

This is a split out from the slot conflict handler to be
used in other places.
Some small output fixes for the slot conflict handler

* unmatched atom printing now uses ^^ markers
* unmatched atom printing properly supports sub-slots
* Fix spurious "no parents" message caused by AtomArg parents
Add digraph.discard
Solve some slot conflicts without backtracking