Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ddd/
Date: Sat, 05 Feb 2022 20:46:49
Message-Id: 1644093648.f15a2cf74449851f703a20fd44ed6c28b458e19a.asturm@gentoo
1 commit: f15a2cf74449851f703a20fd44ed6c28b458e19a
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 9 15:52:25 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 5 20:40:48 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f15a2cf7
7
8 dev-util/ddd: EAPI-8 bump
9
10 Closes: https://bugs.gentoo.org/830853
11 Package-Manager: Portage-3.0.30, Repoman-3.0.3
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 dev-util/ddd/ddd-3.3.12-r5.ebuild | 17 +++++++----------
15 1 file changed, 7 insertions(+), 10 deletions(-)
16
17 diff --git a/dev-util/ddd/ddd-3.3.12-r5.ebuild b/dev-util/ddd/ddd-3.3.12-r5.ebuild
18 index fe17fd18d911..0174afbfd0e7 100644
19 --- a/dev-util/ddd/ddd-3.3.12-r5.ebuild
20 +++ b/dev-util/ddd/ddd-3.3.12-r5.ebuild
21 @@ -1,7 +1,7 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 +# Copyright 1999-2022 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI="6"
27 +EAPI=8
28
29 inherit autotools desktop optfeature
30
31 @@ -10,10 +10,12 @@ HOMEPAGE="https://www.gnu.org/software/ddd"
32 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
33
34 LICENSE="GPL-3 LGPL-3 FDL-1.1"
35 -KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
36 SLOT="0"
37 +KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
38 IUSE="readline"
39
40 +RESTRICT="test"
41 +
42 COMMON_DEPEND="
43 sys-devel/gdb
44 sys-libs/ncurses:=
45 @@ -34,8 +36,6 @@ RDEPEND="${COMMON_DEPEND}
46 x11-apps/xfontsel
47 "
48
49 -RESTRICT="test"
50 -
51 PATCHES=(
52 "${FILESDIR}/${P}-gcc44.patch"
53 "${FILESDIR}/${P}-gdb-disassembler-bug.patch"
54 @@ -58,13 +58,12 @@ src_prepare() {
55
56 src_configure() {
57 econf \
58 - --disable-static \
59 $(use_with readline)
60 }
61
62 src_install() {
63 # Remove app defaults
64 - rm -f "${S}"/ddd/Ddd
65 + rm -f "${S}"/ddd/Ddd || die
66
67 # Install ddd distribution
68 default
69 @@ -79,10 +78,8 @@ pkg_postinst() {
70 optfeature "Bash debugging" app-shells/bashdb
71 optfeature "Perl debugging" dev-lang/perl
72 optfeature "Python debugging" dev-python/pydb
73 -
74 - echo
75 + elog
76 elog "Important notice: if you encounter DDD crashes during visualization, you might"
77 elog "have hit bug #459324. Try switching to plotting in external window:"
78 elog "Select Edit|Preferences|Helpers and switch 'plot window' to 'external'"
79 - echo
80 }