Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/gnusim8085/
Date: Wed, 16 Sep 2020 16:10:20
Message-Id: 1600272589.afd253a3226f3b1e0eda30a038503a55fc29d5f0.soap@gentoo
1 commit: afd253a3226f3b1e0eda30a038503a55fc29d5f0
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 16 16:09:49 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 16 16:09:49 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afd253a3
7
8 dev-embedded/gnusim8085: Port to EAPI 7
9
10 Closes: https://bugs.gentoo.org/742176
11 Package-Manager: Portage-3.0.7, Repoman-3.0.1
12 Signed-off-by: David Seifert <soap <AT> gentoo.org>
13
14 dev-embedded/gnusim8085/gnusim8085-1.3.7.ebuild | 32 +++++++++++++++----------
15 1 file changed, 19 insertions(+), 13 deletions(-)
16
17 diff --git a/dev-embedded/gnusim8085/gnusim8085-1.3.7.ebuild b/dev-embedded/gnusim8085/gnusim8085-1.3.7.ebuild
18 index ba7da67ac50..1268835c5ff 100644
19 --- a/dev-embedded/gnusim8085/gnusim8085-1.3.7.ebuild
20 +++ b/dev-embedded/gnusim8085/gnusim8085-1.3.7.ebuild
21 @@ -1,9 +1,9 @@
22 -# Copyright 1999-2012 Gentoo Foundation
23 +# Copyright 1999-2020 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=4
27 +EAPI=7
28
29 -inherit eutils autotools
30 +inherit autotools
31
32 DESCRIPTION="A GTK2 8085 Simulator"
33 HOMEPAGE="http://gnusim8085.org"
34 @@ -12,20 +12,27 @@ SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
35 LICENSE="GPL-2"
36 SLOT="0"
37 KEYWORDS="amd64 x86"
38 -IUSE="nls examples"
39 +IUSE="nls"
40
41 -RDEPEND=">=x11-libs/gtk+-2.12:2
42 +RDEPEND="
43 + >=x11-libs/gtk+-2.12:2
44 x11-libs/gdk-pixbuf:2
45 dev-libs/glib:2
46 x11-libs/gtksourceview:2.0
47 x11-libs/pango"
48 -DEPEND="${RDEPEND}
49 +DEPEND="${RDEPEND}"
50 +BDEPEND="
51 virtual/pkgconfig
52 nls? ( sys-devel/gettext )"
53
54 +PATCHES=(
55 + "${FILESDIR}"/${P}-docs.patch
56 + "${FILESDIR}"/${P}-cflags.patch
57 +)
58 +
59 src_prepare() {
60 - epatch "${FILESDIR}"/${P}-docs.patch
61 - epatch "${FILESDIR}"/${P}-cflags.patch
62 + default
63 + mv configure.{in,ac} || die
64 eautoreconf
65 }
66
67 @@ -35,11 +42,10 @@ src_configure() {
68
69 src_install() {
70 default
71 +
72 doman doc/gnusim8085.1
73
74 - if use examples ; then
75 - docompress -x /usr/share/doc/${PF}/examples
76 - insinto /usr/share/doc/${PF}/examples
77 - doins doc/examples/*.asm doc/asm-guide.txt
78 - fi
79 + docinto examples
80 + dodoc doc/examples/*.asm doc/asm-guide.txt
81 + docompress -x /usr/share/doc/${PF}/examples
82 }