net-irc/ircmap: Fix swathe of QA issues

- Using the perl privlib trick was both wrong, and unneeded, as the
  modules in question are inherently 'private to this package' and
  are not intended for general use by other tools on CPAN.

- Subsequently, this changes to stashing them in /usr/share/ircmap

- Upstreams homepage has moved

- Upstreams existing SRC_URI's were unresolvable

- Added conversion of upstreams tarball from "ircmap.tar.gz" to
  "ircmap-0.99.tar.gz". Upstream don't actually version their
  releases properly it seems, but its been so long since a release
  its hard to imagine there will be more.

- Convert to EAPI7, though its probably incomplete and this probably
  needs some EPREFIX/DEPEND/BDEPEND/BROOT love, but eh.

- Keyworded ~amd64 as it mostly appears to work for me, but no way
  to test functionality.

- --straight-to-stable'd simply because these are all QA fixups, and
  no point waiting a month to silence the warnings.

Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
This commit is contained in:
Kent Fredric
2019-08-16 00:02:48 +12:00
parent 39892b09bb
commit 27eac7b8fc
2 changed files with 16 additions and 17 deletions

View File

@@ -1 +1 @@
DIST ircmap.tar.gz 27944 BLAKE2B 8f8d04c64e250383d36c88e3c0d1f76ef961081a526b60e624da74f9cbac2fe04e9bc680e750703240c75a794ecfbd4f5e9b387b04db3752c172d3c704156421 SHA512 52ce62d7846e5e50525800af86b4296d427da21d129f68b83cd30daa75fdd9fe78c6615771e729c4ad5f8afe75f20b1cab0b6d4b01be4a7c2889524676b60ac9
DIST ircmap-0.99.tar.gz 27944 BLAKE2B 8f8d04c64e250383d36c88e3c0d1f76ef961081a526b60e624da74f9cbac2fe04e9bc680e750703240c75a794ecfbd4f5e9b387b04db3752c172d3c704156421 SHA512 52ce62d7846e5e50525800af86b4296d427da21d129f68b83cd30daa75fdd9fe78c6615771e729c4ad5f8afe75f20b1cab0b6d4b01be4a7c2889524676b60ac9

View File

@@ -1,29 +1,30 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=0
EAPI=7
DESCRIPTION="Scripts to treate diagrams of IRC networks using the LINKS command"
HOMEPAGE="http://pasky.or.cz/~pasky/irc/"
SRC_URI="http://pasky.ji.cz/~pasky/irc/${PN}.tar.gz"
HOMEPAGE="http://pasky.or.cz/irc/"
SRC_URI="http://pasky.or.cz/irc/${PN}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
KEYWORDS="~amd64 x86"
IUSE=""
DEPEND="dev-lang/perl"
RDEPEND="${RDEPEND}
media-gfx/graphviz"
DEPEND="${DEPEND}
>=sys-apps/sed-4"
RDEPEND="
media-gfx/graphviz
dev-lang/perl
"
BDEPEND="${RDEPEND}
>=sys-apps/sed-4
"
DEPEND=""
S="${WORKDIR}"/${PN}
src_compile() {
eval $(perl -V:installprivlib)
sed -i \
-e "s:/home/pasky/ircmap:${installprivlib}/ircmap:" \
-e "s:/home/pasky/ircmap:/usr/share/ircmap:" \
{ircmapC,ircmapR-aa,ircmapR-gvdot,ircmapR-ircnet,ircmapS}.pl
}
@@ -31,9 +32,7 @@ src_install () {
dodoc README
dobin ircmapS.pl ircmapC.pl ircmapR-aa.pl ircmapR-gvdot.pl ircmapR-ircnet.pl
eval $(perl -V:installprivlib)
insinto /"${installprivlib}"/ircmap
insinto /usr/share/ircmap
doins IHash.pm
}