Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-news/rsstool/
Date: Tue, 20 Apr 2021 01:21:11
Message-Id: 1618881638.f5649b369799cee9fde7ef40c2a2b1436461623f.sam@gentoo
1 commit: f5649b369799cee9fde7ef40c2a2b1436461623f
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 20 00:48:10 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 20 01:20:38 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5649b36
7
8 net-news/rsstool: port to EAPI 7
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-news/rsstool/rsstool-1.0.1_rc2.ebuild | 23 +++++++++++++----------
13 1 file changed, 13 insertions(+), 10 deletions(-)
14
15 diff --git a/net-news/rsstool/rsstool-1.0.1_rc2.ebuild b/net-news/rsstool/rsstool-1.0.1_rc2.ebuild
16 index f060be09ef3..b662c685145 100644
17 --- a/net-news/rsstool/rsstool-1.0.1_rc2.ebuild
18 +++ b/net-news/rsstool/rsstool-1.0.1_rc2.ebuild
19 @@ -1,7 +1,7 @@
20 -# Copyright 1999-2019 Gentoo Authors
21 +# Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 +EAPI=7
26
27 inherit toolchain-funcs
28
29 @@ -10,20 +10,22 @@ MY_P=${PN}-${PV/_}
30 DESCRIPTION="cmdline tool to read, parse, merge, and write RSS (and Atom) feeds"
31 HOMEPAGE="http://rsstool.sourceforge.net/"
32 SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.zip"
33 +S="${WORKDIR}"/${MY_P}-src/src
34
35 LICENSE="GPL-2"
36 SLOT="0"
37 KEYWORDS="amd64 ppc ppc64 x86"
38 -IUSE=""
39
40 -RDEPEND="dev-libs/libxml2
41 - net-misc/curl"
42 -DEPEND="${RDEPEND}
43 - app-arch/unzip"
44 -
45 -S=${WORKDIR}/${MY_P}-src/src
46 +RDEPEND="
47 + dev-libs/libxml2
48 + net-misc/curl
49 +"
50 +DEPEND="${RDEPEND}"
51 +BDEPEND="app-arch/unzip"
52
53 src_prepare() {
54 + default
55 +
56 sed -e '1i#!/bin/bash' -i configure || die
57 }
58
59 @@ -34,5 +36,6 @@ src_compile() {
60 src_install() {
61 emake DESTDIR="${D}" BINDIR="/usr/bin" install
62
63 - dohtml ../{changes,faq,readme}.html
64 + docinto html
65 + dodoc ../{changes,faq,readme}.html
66 }