Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cgdb/files/, dev-util/cgdb/
Date: Mon, 24 Jan 2022 22:30:42
Message-Id: 1643063088.791829506b64ae5bb8207aaccb8ae60f0b3ff762.jsmolic@gentoo
1 commit: 791829506b64ae5bb8207aaccb8ae60f0b3ff762
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 24 22:23:41 2022 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 24 22:24:48 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79182950
7
8 dev-util/cgdb: Sync live ebuild
9
10 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
11
12 dev-util/cgdb/cgdb-9999.ebuild | 22 +++++++++++++---------
13 ...db-9999-respect-AR.patch => cgdb-9999-ar.patch} | 0
14 2 files changed, 13 insertions(+), 9 deletions(-)
15
16 diff --git a/dev-util/cgdb/cgdb-9999.ebuild b/dev-util/cgdb/cgdb-9999.ebuild
17 index 75f88b51bff1..416db639d484 100644
18 --- a/dev-util/cgdb/cgdb-9999.ebuild
19 +++ b/dev-util/cgdb/cgdb-9999.ebuild
20 @@ -1,11 +1,11 @@
21 -# Copyright 1999-2021 Gentoo Authors
22 +# Copyright 1999-2022 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=7
26 +EAPI=8
27
28 if [[ ${PV} = *9999* ]]; then
29 - EGIT_REPO_URI="https://github.com/cgdb/cgdb.git"
30 inherit git-r3
31 + EGIT_REPO_URI="https://github.com/cgdb/cgdb.git"
32 else
33 SRC_URI="https://github.com/cgdb/cgdb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
34 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
35 @@ -15,16 +15,17 @@ inherit autotools multilib-minimal
36
37 DESCRIPTION="A curses front-end for GDB, the GNU debugger"
38 HOMEPAGE="https://cgdb.github.io/"
39 +
40 LICENSE="GPL-2"
41 SLOT="0"
42 IUSE="test"
43 -RESTRICT="!test? ( test )"
44 +# Tests are broken, need additional research to figure out the cause
45 +# Bug: https://bugs.gentoo.org/831899
46 +RESTRICT="test"
47
48 DEPEND="
49 - sys-libs/ncurses:=
50 + sys-libs/ncurses:0=
51 sys-libs/readline:0="
52 -RDEPEND="${DEPEND}
53 - sys-devel/gdb"
54
55 BDEPEND="
56 test? (
57 @@ -32,11 +33,14 @@ BDEPEND="
58 app-misc/dtach
59 )"
60
61 +RDEPEND="
62 + ${DEPEND}
63 + sys-devel/gdb"
64 +
65 DOCS=( AUTHORS ChangeLog FAQ INSTALL NEWS README.md )
66
67 PATCHES=(
68 - # Bug: #724256
69 - "${FILESDIR}/${P}-respect-AR.patch"
70 + "${FILESDIR}"/${P}-ar.patch
71 )
72
73 src_prepare() {
74
75 diff --git a/dev-util/cgdb/files/cgdb-9999-respect-AR.patch b/dev-util/cgdb/files/cgdb-9999-ar.patch
76 similarity index 100%
77 rename from dev-util/cgdb/files/cgdb-9999-respect-AR.patch
78 rename to dev-util/cgdb/files/cgdb-9999-ar.patch