aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerion Entrup <gerion.entrup@flump.de>2020-02-11 01:04:01 +0100
committerGerion Entrup <gerion.entrup@flump.de>2020-02-11 01:05:18 +0100
commitc76d7063b3b36109d9807ce2192a467ef1687586 (patch)
tree1e16fac78e9831013f7fcf39bcd88960b48f6940
parentapp-editors/gedit-collaboration: drop (diff)
downloadgerislay-c76d7063b3b36109d9807ce2192a467ef1687586.tar.gz
gerislay-c76d7063b3b36109d9807ce2192a467ef1687586.tar.bz2
gerislay-c76d7063b3b36109d9807ce2192a467ef1687586.zip
dev-util/cgdb: add 0.7.1 version
Signed-off-by: Gerion Entrup <gerion.entrup@flump.de>
-rw-r--r--dev-util/cgdb/Manifest3
-rw-r--r--dev-util/cgdb/cgdb-0.7.1.ebuild62
-rw-r--r--dev-util/cgdb/metadata.xml16
3 files changed, 81 insertions, 0 deletions
diff --git a/dev-util/cgdb/Manifest b/dev-util/cgdb/Manifest
new file mode 100644
index 0000000..95664ea
--- /dev/null
+++ b/dev-util/cgdb/Manifest
@@ -0,0 +1,3 @@
+DIST cgdb-0.7.1.tar.gz 314768 BLAKE2B 767a57d071fa4e3c75d231a1ec879d871669fcda9c733d157d380fa525dd321f1deb68d7ef7f424b3f36a115043a0a0faae271f24746f934e288ba7d9a4e7fa1 SHA512 050c7bad963d51c1a2cb309530319ca77e9d236f419fb0abac4ab5030ff1068d799fa626959a8b3036321711de98bddf40d264bf9367ff5697075e30ca8168c6
+EBUILD cgdb-0.7.1.ebuild 1324 BLAKE2B 163953065b2feb745414cc6a36b0e46b7269f75dd750d4efbed6d8045c23d43cdc998e3bf4325313a11483d8b9045c48a058350b8c0283a7737f46b9eb5a195b SHA512 d10c7a58b3288b7120d5ce210f979bff96c336ad681f8762951fa513cf4f848540885a028af817ce8e501f7309a9796694d2b8723bd09e1251ba36e571ed30f5
+MISC metadata.xml 490 BLAKE2B 9eaa4ae0475e04d725f775f49d5bf57d7d0a00b53cfa1c0e67868d0127121f640ac304aef1c8d0c120666c03e815ab928b217800b2bf92e1bcbec9ed81a3519f SHA512 77ac0f28241716628619178ae93599276f8fd6051b7f00c5ef7fdfcd0a651cdd465dfde6de052156c8407d6a162a2a21199260001e06dd80e6eec8200bc11097
diff --git a/dev-util/cgdb/cgdb-0.7.1.ebuild b/dev-util/cgdb/cgdb-0.7.1.ebuild
new file mode 100644
index 0000000..846d5c8
--- /dev/null
+++ b/dev-util/cgdb/cgdb-0.7.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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 multilib-minimal
+
+DESCRIPTION="A curses front-end for GDB, the GNU debugger"
+HOMEPAGE="http://cgdb.github.io/"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="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 )
+
+src_prepare() {
+ default
+ ./autogen.sh || die
+}
+
+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
+}
diff --git a/dev-util/cgdb/metadata.xml b/dev-util/cgdb/metadata.xml
new file mode 100644
index 0000000..bf712b4
--- /dev/null
+++ b/dev-util/cgdb/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>nado@troglodyte.be</email>
+ <name>Corentin Pazdera</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">cgdb/cgdb</remote-id>
+ <remote-id type="sourceforge">cgdb</remote-id>
+ </upstream>
+</pkgmetadata>