net-irc/ircmap: Fix swathe of QA issues
authorKent Fredric <kentnl@gentoo.org>
Thu, 15 Aug 2019 12:02:48 +0000 (00:02 +1200)
committerKent Fredric <kentnl@gentoo.org>
Thu, 15 Aug 2019 12:04:25 +0000 (00:04 +1200)
- 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>
net-irc/ircmap/Manifest
net-irc/ircmap/ircmap-0.99-r1.ebuild [moved from net-irc/ircmap/ircmap-0.99.ebuild with 65% similarity]

index 8828fb2f5f053fdd0f61734ce0e08e6becb80bc8..5e01b1327f8bdfca7c660d91d13b93fadeed33b6 100644 (file)
@@ -1 +1 @@
-DIST ircmap.tar.gz 27944 BLAKE2B 8f8d04c64e250383d36c88e3c0d1f76ef961081a526b60e624da74f9cbac2fe04e9bc680e750703240c75a794ecfbd4f5e9b387b04db3752c172d3c704156421 SHA512 52ce62d7846e5e50525800af86b4296d427da21d129f68b83cd30daa75fdd9fe78c6615771e729c4ad5f8afe75f20b1cab0b6d4b01be4a7c2889524676b60ac9
+DIST ircmap-0.99.tar.gz 27944 BLAKE2B 8f8d04c64e250383d36c88e3c0d1f76ef961081a526b60e624da74f9cbac2fe04e9bc680e750703240c75a794ecfbd4f5e9b387b04db3752c172d3c704156421 SHA512 52ce62d7846e5e50525800af86b4296d427da21d129f68b83cd30daa75fdd9fe78c6615771e729c4ad5f8afe75f20b1cab0b6d4b01be4a7c2889524676b60ac9
similarity index 65%
rename from net-irc/ircmap/ircmap-0.99.ebuild
rename to net-irc/ircmap/ircmap-0.99-r1.ebuild
index 61a38d5469edb756fb0d86bc77e5c8f46e21e35a..05d3f133fb3dc49f894517a0b405ddf6e452cc58 100644 (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
 }