man/repoman: Note line inaccuracies (bug 517416)

Signed-off-by: Alexander Berntsen <bernalex@gentoo.org>
repoman: Warn if virtuals depend on perl-core, bug 516428

Reported-by:   Andreas K. Hüttel  <dilfridge@gentoo.org>
Authored-by:   Andreas K. Hüttel  <dilfridge@gentoo.org>
Reviewed-by:   Alexander Berntsen <bernalex@gentoo.org>
Signed-off-by: Alexander Berntsen <bernalex@gentoo.org>
Update release notes

Signed-off-by: Alexander Berntsen <bernalex@gentoo.org>
Update release notes

Signed-off-by: Alexander Berntsen <bernalex@gentoo.org>
pym/_emerge/Binpkg.py: Add missing line feed to output.
bin/chpathtool.py: fix py3.2 &py3.3 test failure

The magic module for those 2 python versions do not handle byte strings correctly.
forcing the filename to str() fixes it for all pythons tested.
Move -MERGING- string to a constant.

Remove extra whitespace.
New emaint module: Merges

This emaint module scans for failed package merges and will display or
fix any failed packages found. This module also saves failed merges
found using a tracking file. Subsequent runs of the module will re-load
that info for re-display, re-emerge of those packages.  Fix typo:
-collision-detect ==> -collision-protect <Brian Dolbec>
pym/_emerge/depgrapgh.py: Fix bug 518968

Fixes commit: 1a00ddf5fb089724a127c8dc72d63f10ae72abbf
Author: Alexander Berntsen <bernalex@gentoo.org> (Thu 08 May 2014 08:47:58 AM PDT)
Subject: emerge: Implement "--alert"

self.query was not assigned using the correct UserQuery instance.
self.uq was not used by anything anywhere.  This patch consolidates it to the one initialized instance in 1 line of code.
Original bug reproduced and fixed by: Mike Gilbert <floppym@gentoo.org>
Revert incorrect commit 9351edad48523bb38b1bf651506786bdc8814f62, which broke file type detection
in chpathtool.py with Python 3 and magic module present.

>>> import magic
>>> m = magic.open(magic.MIME_TYPE)
>>> m.load()
0
>>> m.file(b"/etc/fstab")
'text/plain'
>>> m.file(str(b"/etc/fstab"))
"cannot open `b'/etc/fstab'' (No such file or directory)"
Follow-up to commit 96ded9cff423d773ee31a696a691dd6610c315b7: Restore "/" characters.
localization: properly decode formatted number for localized_size().

Fixes: https://bugs.gentoo.org/show_bug.cgi?id=519124
repoman: fix atom.blocker checks.

The original checks assume that no-blocker is denoted as 'None'.
However, currently atom.blocker returns just 'False'.
emerge: fix invalid locale setting (bug 519074)

Don't die when the user has an invalid locale setting.
Resolves bug 519074.
emake: pass EXTRA_EMAKE after user's "$@", not before

Patch allows easier override or ebuild things, like
    #foo-9999.ebuild:
    src_compile() {
        emake V=1
    }

    EXTRA_EMAKE="V=0" emerge =foo-9999

That way it's easier to eyeball upstream builds for new warnings.

This behaviour is more in line with EXTRA_ECONF variable.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
repoman: Do not report DESCRIPTION.punctuation warning for "etc.".
emerge: Prepend '=' to unmerge atoms (bug 512578)

Signed-off-by: Alexander Berntsen <bernalex@gentoo.org>
Reviewed-By:   Brian Dolbec       <dolsen@gentoo.org>
Reviewed-By:   Michał Górny       <mgorny@gentoo.org>
Enable consistent __future__ behavior for division

In Python 2, the division ('/') operator defaults to integer
(truncating) division when given integer argument. In Python 3, it
performs floating-point division unconditionally instead. To overcome
this difference and get a consistent behavior, integers were converted
to floats explicitly in a few places.

Instead, use a simpler 'from __future__ import division' statement that
enables floating-point division globally in Python 2. Use it in all
relevant files to get a consistent behavior, and use '//' appropriately
whenever integer division is desired.

Reviewed-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Acked-by: Alexander Berntsen <bernalex@gentoo.org>
Acked-by: Brian Dolbec <dolsen@gentoo.org>
QA: Use pngfix to find broken PNG files

Acked-by: Alexander Berntsen <bernalex@gentoo.org>
Acked-by: Brian Dolbec <dolsen@gentoo.org>
Reviewed-by: Justin Lecher <jlec@gentoo.org>
Reviewed-by: Sergei Trofimovich <slyfox@gentoo.org>
QA: Warn when systemd units use /etc/conf.d

Acked-by: Alexander Berntsen <bernalex@gentoo.org>
Acked-by: Brian Dolbec <dolsen@gentoo.org>
Reviewed-by: Anthony G. Basile <blueness@gentoo.org>