dev-util/cgdb: drop old

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Closes: https://github.com/gentoo/gentoo/pull/17856
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Jakov Smolic
2020-10-07 09:26:40 +02:00
committed by Joonas Niilola
parent 7be3555bd9
commit 852bdf7ab4
2 changed files with 0 additions and 73 deletions

View File

@@ -1,2 +1 @@
DIST cgdb-0.7.0.tar.gz 319980 BLAKE2B bfc62f9214f6726e5df081119e85ccdeaea9a2310a9bb7a1746525ab998ea94ec1181efd3a1986ec0d33103c2f2b888e4d93c4ddaa4a996db4e47b0173c3b67c SHA512 83aeb919e96cd0981d8fe5cdd257df3e8d8bfbceea720ea66c1773b28c9f0ecb0e303e0585206c55242bc4438d505e328d43b4991c6ddc4e4202e048558c30d9
DIST cgdb-0.7.1.tar.gz 314768 BLAKE2B 767a57d071fa4e3c75d231a1ec879d871669fcda9c733d157d380fa525dd321f1deb68d7ef7f424b3f36a115043a0a0faae271f24746f934e288ba7d9a4e7fa1 SHA512 050c7bad963d51c1a2cb309530319ca77e9d236f419fb0abac4ab5030ff1068d799fa626959a8b3036321711de98bddf40d264bf9367ff5697075e30ca8168c6

View File

@@ -1,72 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
if [[ ${PV} = *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="
https://github.com/cgdb/cgdb.git
git@github.com:cgdb/cgdb.git"
else
SRC_URI="https://github.com/cgdb/cgdb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 arm ppc ppc64 x86 ~amd64-linux ~x86-linux"
fi
inherit autotools multilib-minimal
DESCRIPTION="A curses front-end for GDB, the GNU debugger"
HOMEPAGE="https://cgdb.github.io/"
LICENSE="GPL-2"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="
sys-libs/ncurses:0=
sys-libs/readline:0="
BDEPEND="
test? (
dev-util/dejagnu
app-misc/dtach
)"
RDEPEND="
${DEPEND}
sys-devel/gdb"
DOCS=( AUTHORS ChangeLog FAQ INSTALL NEWS README.md )
PATCHES=(
# Bugs: #730138, #678006, #630512, #682386
"${FILESDIR}/${PN}-test.patch"
# Bug: #724256
"${FILESDIR}/${PN}-0.7.1-respect-AR.patch"
)
src_prepare() {
default
cp configure.{init,ac} || die "cp failed"
AT_M4DIR="config" eautoreconf
}
multilib_src_test() {
# Tests need an interactive shell, #654986
# real-time output of the log ;-)
touch "${T}/dtach-test.log" || die
tail -f "${T}/dtach-test.log" &
local tail_pid=${!}
nonfatal dtach -N "${T}/dtach.sock" \
bash -c 'emake check &> "${T}"/dtach-test.log; echo ${?} > "${T}"/dtach-test.out'
kill "${tail_pid}"
[[ -f ${T}/dtach-test.out ]] || die "Unable to run tests"
[[ $(<"${T}"/dtach-test.out) == 0 ]] || die "Tests failed"
}
multilib_src_configure() {
ECONF_SOURCE="${S}" econf
}