repoman: Warn about dropped keywords only for latest in SLOT.
Rationale: There is no point in rekeywording non-latest and nobody ever does that.
Modified by: Brian Dolbec <dolsen@gentoo.org> , shorten commit message, add missed docstring.
For example:
$ epkginfo texlive-latex
* dev-texlive/texlive-latex [gentoo]
Maintainer: aballier@gentoo.org (Alexis Ballier)
Maintainer: tex@gentoo.org (Gentoo TeX Project)
Upstream: None specified
Homepage: http://www.tug.org/texlive/
Location: /mnt/dev/gentoo-x86/dev-texlive/texlive-latex
Keywords: 2012:0: s390 sh sparc
Keywords: 2015:0: hppa ppc ppc64
Keywords: 2016:0: alpha amd64 arm arm64 ia64 x86
Keywords: 2017:0: ~alpha ~amd64 ~amd64-fbsd ~amd64-linux ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~sparc-solaris ~x64-macos ~x64-solaris ~x86 ~x86-fbsd ~x86-linux ~x86-macos ~x86-solaris
Before:
RepoMan scours the neighborhood...
KEYWORDS.dropped 3
dev-texlive/texlive-latex/texlive-latex-2014.ebuild: ia64 sparc
dev-texlive/texlive-latex/texlive-latex-2015.ebuild: ia64 sparc
dev-texlive/texlive-latex/texlive-latex-2016.ebuild: sparc
repo.eapi.deprecated 1
dev-texlive/texlive-latex/texlive-latex-2012.ebuild: 4
After:
RepoMan scours the neighborhood...
repo.eapi.deprecated 1
dev-texlive/texlive-latex/texlive-latex-2012.ebuild: 4
Or also:
$ epkginfo ffmpeg
* media-video/ffmpeg [gentoo]
Maintainer: media-video@gentoo.org
Upstream: None specified
Homepage: http://ffmpeg.org/
Location: /mnt/dev/gentoo-x86/media-video/ffmpeg
Keywords: 2.8.10:0/54.56.56: alpha amd64 arm hppa ia64 ppc ppc64 sparc x86
Keywords: 2.8.11:0/54.56.56: ~alpha ~amd64 ~amd64-fbsd ~amd64-linux ~arm ~arm-linux ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-linux
Keywords: 3.2.4:0/55.57.57: alpha amd64 arm hppa ia64 ppc ppc64 x86
Keywords: 3.2.5:0/55.57.57:
Keywords: 3.2.6:0/55.57.57: ~alpha ~ia64
Keywords: 3.3.2:0/55.57.57: ~amd64 ~amd64-fbsd ~amd64-linux ~arm ~arm-linux ~arm64 ~hppa ~mips ~ppc ~ppc-macos ~ppc64 ~x64-macos ~x64-solaris ~x86 ~x86-fbsd ~x86-linux ~x86-macos ~x86-solaris
Keywords: 9999:0/55.57.57:
Before:
RepoMan scours the neighborhood...
KEYWORDS.dropped 4
media-video/ffmpeg/ffmpeg-3.2.4.ebuild: sparc
media-video/ffmpeg/ffmpeg-3.2.5.ebuild: sparc
media-video/ffmpeg/ffmpeg-3.2.6.ebuild: sparc
media-video/ffmpeg/ffmpeg-3.3.2.ebuild: alpha ia64 sparc
After:
RepoMan scours the neighborhood...
KEYWORDS.dropped 1
media-video/ffmpeg/ffmpeg-3.3.2.ebuild: alpha ia64 sparc
X-Gentoo-Bug: 256189
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=256189
2 files changed