Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/gsmc/
Date: Sun, 22 Aug 2021 19:38:05
Message-Id: 1629661040.cf1c085da275cc54aa237618f82308831027892d.soap@gentoo
1 commit: cf1c085da275cc54aa237618f82308831027892d
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Sun Aug 22 19:37:20 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 22 19:37:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf1c085d
7
8 sci-electronics/gsmc: Port to EAPI 8
9
10 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 sci-electronics/gsmc/gsmc-1.1-r2.ebuild | 21 ++++++++++++---------
14 1 file changed, 12 insertions(+), 9 deletions(-)
15
16 diff --git a/sci-electronics/gsmc/gsmc-1.1-r2.ebuild b/sci-electronics/gsmc/gsmc-1.1-r2.ebuild
17 index ee9e8125fd8..a3da3ce6921 100644
18 --- a/sci-electronics/gsmc/gsmc-1.1-r2.ebuild
19 +++ b/sci-electronics/gsmc/gsmc-1.1-r2.ebuild
20 @@ -1,9 +1,9 @@
21 # Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI="5"
25 +EAPI=8
26
27 -inherit autotools epatch
28 +inherit autotools
29
30 DESCRIPTION="A GTK program for doing Smith Chart calculations"
31 HOMEPAGE="https://www.qsl.net/ik5nax/"
32 @@ -12,17 +12,20 @@ SRC_URI="https://www.qsl.net/ik5nax/${P}.tar.gz"
33 LICENSE="GPL-2"
34 SLOT="0"
35 KEYWORDS="~amd64 ~x86"
36 -IUSE=""
37
38 -CDEPEND="
39 +DEPEND="
40 dev-libs/glib:2
41 - x11-libs/gtk+:2"
42 -DEPEND="${CDEPEND}
43 - virtual/pkgconfig"
44 -RDEPEND="${CDEPEND}"
45 + x11-libs/gtk+:2
46 +"
47 +RDEPEND="${DEPEND}"
48 +BDEPEND="virtual/pkgconfig"
49 +
50 +PATCHES=(
51 + "${FILESDIR}"/${P}-autotools.patch
52 +)
53
54 src_prepare() {
55 - epatch "${FILESDIR}/${P}-autotools.patch"
56 + default
57 eautoreconf
58 }