Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/podracer/
Date: Thu, 04 Aug 2022 21:56:10
Message-Id: 1659650149.9c803a5a68101609c211acb93837f44177d10f89.soap@gentoo
1 commit: 9c803a5a68101609c211acb93837f44177d10f89
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 4 21:55:49 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 4 21:55:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c803a5a
7
8 media-sound/podracer: update EAPI 6 -> 8
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 media-sound/podracer/podracer-1.4-r2.ebuild | 37 -------------------------
13 media-sound/podracer/podracer-1.4-r3.ebuild | 42 +++++++++++++++++++++++++++++
14 2 files changed, 42 insertions(+), 37 deletions(-)
15
16 diff --git a/media-sound/podracer/podracer-1.4-r2.ebuild b/media-sound/podracer/podracer-1.4-r2.ebuild
17 deleted file mode 100644
18 index 35df96ec5d56..000000000000
19 --- a/media-sound/podracer/podracer-1.4-r2.ebuild
20 +++ /dev/null
21 @@ -1,37 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -
27 -DESCRIPTION="A simple podcast aggregator, designed for cron"
28 -HOMEPAGE="http://podracer.sourceforge.net/"
29 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
30 -
31 -LICENSE="MIT"
32 -SLOT="0"
33 -KEYWORDS="amd64 x86"
34 -IUSE=""
35 -
36 -DEPEND=""
37 -RDEPEND="app-shells/bash
38 - net-misc/curl"
39 -
40 -src_unpack() {
41 - default
42 -
43 - # Bug 619956. Change directories first to ensure that "unpack" outputs
44 - # to ${S} and not to ${WORKDIR}.
45 - cd "${S}" || die
46 - unpack "${S}/podracer.1.gz"
47 -}
48 -
49 -src_install() {
50 - dobin podracer
51 - sed -i -e "s:sample=/usr/share/doc/\$progname/sample.subscriptions:sample=/usr/share/doc/${PF}/sample.subscriptions:" "${D}"/usr/bin/podracer || die
52 - dodoc CREDITS README ChangeLog TODO
53 - doman podracer.1
54 - docompress -x "/usr/share/doc/${PF}/sample.subscriptions"
55 - dodoc sample.subscriptions
56 - insinto /etc/
57 - doins podracer.conf
58 -}
59
60 diff --git a/media-sound/podracer/podracer-1.4-r3.ebuild b/media-sound/podracer/podracer-1.4-r3.ebuild
61 new file mode 100644
62 index 000000000000..4a6f563736bd
63 --- /dev/null
64 +++ b/media-sound/podracer/podracer-1.4-r3.ebuild
65 @@ -0,0 +1,42 @@
66 +# Copyright 1999-2022 Gentoo Authors
67 +# Distributed under the terms of the GNU General Public License v2
68 +
69 +EAPI=8
70 +
71 +DESCRIPTION="A simple podcast aggregator, designed for cron"
72 +HOMEPAGE="http://podracer.sourceforge.net/"
73 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
74 +
75 +LICENSE="MIT"
76 +SLOT="0"
77 +KEYWORDS="amd64 x86"
78 +
79 +RDEPEND="
80 + app-shells/bash
81 + net-misc/curl"
82 +
83 +src_unpack() {
84 + default
85 +
86 + # Bug 619956. Change directories first to ensure that
87 + # "unpack" outputs to ${S} and not to ${WORKDIR}.
88 + cd "${S}" || die
89 + unpack "${S}"/podracer.1.gz
90 +}
91 +
92 +src_prepare() {
93 + default
94 + sed -e "s:sample=/usr/share/doc/\$progname/sample.subscriptions:sample=/usr/share/doc/${PF}/sample.subscriptions:" \
95 + -i podracer || die
96 +}
97 +
98 +src_install() {
99 + dobin podracer
100 +
101 + dodoc CREDITS README ChangeLog TODO sample.subscriptions
102 + docompress -x /usr/share/doc/${PF}/sample.subscriptions
103 + doman podracer.1
104 +
105 + insinto /etc
106 + doins podracer.conf
107 +}