Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/ircmap/
Date: Thu, 15 Aug 2019 12:04:47
Message-Id: 1565870665.27eac7b8fc3da678ed259599e7bdd4ad2d3180a9.kentnl@gentoo
1 commit: 27eac7b8fc3da678ed259599e7bdd4ad2d3180a9
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 15 12:02:48 2019 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 15 12:04:25 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27eac7b8
7
8 net-irc/ircmap: Fix swathe of QA issues
9
10 - Using the perl privlib trick was both wrong, and unneeded, as the
11 modules in question are inherently 'private to this package' and
12 are not intended for general use by other tools on CPAN.
13
14 - Subsequently, this changes to stashing them in /usr/share/ircmap
15
16 - Upstreams homepage has moved
17
18 - Upstreams existing SRC_URI's were unresolvable
19
20 - Added conversion of upstreams tarball from "ircmap.tar.gz" to
21 "ircmap-0.99.tar.gz". Upstream don't actually version their
22 releases properly it seems, but its been so long since a release
23 its hard to imagine there will be more.
24
25 - Convert to EAPI7, though its probably incomplete and this probably
26 needs some EPREFIX/DEPEND/BDEPEND/BROOT love, but eh.
27
28 - Keyworded ~amd64 as it mostly appears to work for me, but no way
29 to test functionality.
30
31 - --straight-to-stable'd simply because these are all QA fixups, and
32 no point waiting a month to silence the warnings.
33
34 Package-Manager: Portage-2.3.66, Repoman-2.3.16
35 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
36
37 net-irc/ircmap/Manifest | 2 +-
38 .../{ircmap-0.99.ebuild => ircmap-0.99-r1.ebuild} | 31 +++++++++++-----------
39 2 files changed, 16 insertions(+), 17 deletions(-)
40
41 diff --git a/net-irc/ircmap/Manifest b/net-irc/ircmap/Manifest
42 index 8828fb2f5f0..5e01b1327f8 100644
43 --- a/net-irc/ircmap/Manifest
44 +++ b/net-irc/ircmap/Manifest
45 @@ -1 +1 @@
46 -DIST ircmap.tar.gz 27944 BLAKE2B 8f8d04c64e250383d36c88e3c0d1f76ef961081a526b60e624da74f9cbac2fe04e9bc680e750703240c75a794ecfbd4f5e9b387b04db3752c172d3c704156421 SHA512 52ce62d7846e5e50525800af86b4296d427da21d129f68b83cd30daa75fdd9fe78c6615771e729c4ad5f8afe75f20b1cab0b6d4b01be4a7c2889524676b60ac9
47 +DIST ircmap-0.99.tar.gz 27944 BLAKE2B 8f8d04c64e250383d36c88e3c0d1f76ef961081a526b60e624da74f9cbac2fe04e9bc680e750703240c75a794ecfbd4f5e9b387b04db3752c172d3c704156421 SHA512 52ce62d7846e5e50525800af86b4296d427da21d129f68b83cd30daa75fdd9fe78c6615771e729c4ad5f8afe75f20b1cab0b6d4b01be4a7c2889524676b60ac9
48
49 diff --git a/net-irc/ircmap/ircmap-0.99.ebuild b/net-irc/ircmap/ircmap-0.99-r1.ebuild
50 similarity index 65%
51 rename from net-irc/ircmap/ircmap-0.99.ebuild
52 rename to net-irc/ircmap/ircmap-0.99-r1.ebuild
53 index 61a38d5469e..05d3f133fb3 100644
54 --- a/net-irc/ircmap/ircmap-0.99.ebuild
55 +++ b/net-irc/ircmap/ircmap-0.99-r1.ebuild
56 @@ -1,29 +1,30 @@
57 -# Copyright 1999-2018 Gentoo Foundation
58 +# Copyright 1999-2019 Gentoo Authors
59 # Distributed under the terms of the GNU General Public License v2
60
61 -EAPI=0
62 +EAPI=7
63
64 DESCRIPTION="Scripts to treate diagrams of IRC networks using the LINKS command"
65 -HOMEPAGE="http://pasky.or.cz/~pasky/irc/"
66 -SRC_URI="http://pasky.ji.cz/~pasky/irc/${PN}.tar.gz"
67 +HOMEPAGE="http://pasky.or.cz/irc/"
68 +SRC_URI="http://pasky.or.cz/irc/${PN}.tar.gz -> ${P}.tar.gz"
69 LICENSE="GPL-2"
70 SLOT="0"
71 -KEYWORDS="x86"
72 +KEYWORDS="~amd64 x86"
73 IUSE=""
74
75 -DEPEND="dev-lang/perl"
76 -RDEPEND="${RDEPEND}
77 - media-gfx/graphviz"
78 -DEPEND="${DEPEND}
79 - >=sys-apps/sed-4"
80 +RDEPEND="
81 + media-gfx/graphviz
82 + dev-lang/perl
83 +"
84 +BDEPEND="${RDEPEND}
85 + >=sys-apps/sed-4
86 +"
87 +DEPEND=""
88
89 S="${WORKDIR}"/${PN}
90
91 src_compile() {
92 - eval $(perl -V:installprivlib)
93 -
94 sed -i \
95 - -e "s:/home/pasky/ircmap:${installprivlib}/ircmap:" \
96 + -e "s:/home/pasky/ircmap:/usr/share/ircmap:" \
97 {ircmapC,ircmapR-aa,ircmapR-gvdot,ircmapR-ircnet,ircmapS}.pl
98 }
99
100 @@ -31,9 +32,7 @@ src_install () {
101 dodoc README
102 dobin ircmapS.pl ircmapC.pl ircmapR-aa.pl ircmapR-gvdot.pl ircmapR-ircnet.pl
103
104 - eval $(perl -V:installprivlib)
105 -
106 - insinto /"${installprivlib}"/ircmap
107 + insinto /usr/share/ircmap
108 doins IHash.pm
109 }