Gentoo Archives: gentoo-commits

From: Amy Liffey <amynka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/onis/files/, net-irc/onis/
Date: Mon, 14 Aug 2017 10:57:11
Message-Id: 1502708178.fb2b8d9c7b167eda153b682e09f0e703cb7119e4.amynka@gentoo
1 commit: fb2b8d9c7b167eda153b682e09f0e703cb7119e4
2 Author: Amy Liffey <amynka <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 14 09:25:11 2017 +0000
4 Commit: Amy Liffey <amynka <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 14 10:56:18 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb2b8d9c
7
8 net-irc/onis: EAPI 6 bump
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 net-irc/onis/files/0.6.0-nochdir.patch | 4 +--
13 net-irc/onis/onis-0.8.2-r1.ebuild | 46 ++++++++++++++++++++++++++++++++++
14 2 files changed, 48 insertions(+), 2 deletions(-)
15
16 diff --git a/net-irc/onis/files/0.6.0-nochdir.patch b/net-irc/onis/files/0.6.0-nochdir.patch
17 index 06bd40a001a..17f26973a8a 100644
18 --- a/net-irc/onis/files/0.6.0-nochdir.patch
19 +++ b/net-irc/onis/files/0.6.0-nochdir.patch
20 @@ -1,5 +1,5 @@
21 ---- onis.orig 2004-03-15 00:48:07.874308008 +0100
22 -+++ onis 2004-03-15 00:48:17.110903832 +0100
23 +--- a/onis 2004-03-15 00:48:07.874308008 +0100
24 ++++ b/onis 2004-03-15 00:48:17.110903832 +0100
25 @@ -15,8 +15,6 @@
26
27 BEGIN
28
29 diff --git a/net-irc/onis/onis-0.8.2-r1.ebuild b/net-irc/onis/onis-0.8.2-r1.ebuild
30 new file mode 100644
31 index 00000000000..9e2b93169c4
32 --- /dev/null
33 +++ b/net-irc/onis/onis-0.8.2-r1.ebuild
34 @@ -0,0 +1,46 @@
35 +# Copyright 1999-2017 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=6
39 +
40 +inherit eutils
41 +
42 +DESCRIPTION="onis not irc stats"
43 +HOMEPAGE="http://verplant.org/onis/"
44 +SRC_URI="http://verplant.org/${PN}/${P}.tar.bz2"
45 +LICENSE="LGPL-2"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~ppc ~x86"
48 +IUSE=""
49 +
50 +RDEPEND="dev-lang/perl"
51 +DEPEND="${RDEPEND}
52 + >=sys-apps/sed-4"
53 +
54 +PATCHES=( "${FILESDIR}/0.6.0-nochdir.patch" )
55 +
56 +src_prepare() {
57 + default
58 + sed -i -e s:lang/:/usr/share/onis/lang/: onis.conf || die "sed failed"
59 +}
60 +
61 +src_install () {
62 + eval $(perl -V:installprivlib)
63 +
64 + dobin onis
65 +
66 + insinto "${installprivlib}"
67 + doins -r lib/Onis
68 +
69 + insinto /usr/share/onis
70 + doins -r lang reports/*
71 +
72 + dodoc CHANGELOG README THANKS onis.conf users.conf
73 +}
74 +
75 +pkg_postinst() {
76 + elog
77 + elog "The onis themes have been installed in /usr/share/onis/*-theme"
78 + elog "You can find a compressed sample configuration at /usr/share/doc/${PF}/config"
79 + elog
80 +}