From 6c7f6da2e08fdbdbbf4b5d7b4889a5bf38f7ddd9 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Fri, 14 Aug 2026 07:26:07 +0200 Subject: [PATCH] deb-debug/gdb-dashboard: add 0.17.5 The version 0.17.5 incorporates the patch managed by the 0.17.4-r1 ebuild. Also python-3.14 appears two work well. Acked-by: NRK Signed-off-by: Stefan Huber Part-of: https://github.com/gentoo/guru/pull/538 Closes: https://github.com/gentoo/guru/pull/538 Signed-off-by: David Roman --- dev-debug/gdb-dashboard/Manifest | 1 + .../gdb-dashboard/gdb-dashboard-0.17.5.ebuild | 53 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 dev-debug/gdb-dashboard/gdb-dashboard-0.17.5.ebuild diff --git a/dev-debug/gdb-dashboard/Manifest b/dev-debug/gdb-dashboard/Manifest index a83981878a..83becc8746 100644 --- a/dev-debug/gdb-dashboard/Manifest +++ b/dev-debug/gdb-dashboard/Manifest @@ -1 +1,2 @@ DIST gdb-dashboard-0.17.4.tar.gz 23332 BLAKE2B cf05fea4c3d722d1bafbc6ef4a26df88be555be6adf8dca313ef9b8b28cad533931d3d2da0cb2660c1233c3b3e744a518893698ecbb1e573e12812cebfc3e7c8 SHA512 9cce63be926d21aace0833b52b36266f115599fbbf426dcd7d8090a6861c1c9db26fe7d953bedcbec0b96b75c9b2b9af59666c0e80f5cdf55bd6d44523459dbd +DIST gdb-dashboard-0.17.5.tar.gz 23377 BLAKE2B 15a08b16fd763bad35caac5f3e148da4761e542e9eccf4df3dc3f52a72a8cb7e132a888d120d24c08b196561d0f74d1cd9048fdceca582e7e77cff672bb88a89 SHA512 5177fb47f9afe6b9028d12feeeb1886203df871b0cd381f145a36fed540d8a2884eec1585da362a4dedc11f6062abb022713f3839d2479c701c7d40e1a34be71 diff --git a/dev-debug/gdb-dashboard/gdb-dashboard-0.17.5.ebuild b/dev-debug/gdb-dashboard/gdb-dashboard-0.17.5.ebuild new file mode 100644 index 0000000000..1eca55c927 --- /dev/null +++ b/dev-debug/gdb-dashboard/gdb-dashboard-0.17.5.ebuild @@ -0,0 +1,53 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{12..14} ) + +inherit python-single-r1 optfeature wrapper + +DESCRIPTION="Modular visual interface for GDB in Python" +HOMEPAGE="https://github.com/cyrus-and/gdb-dashboard" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/cyrus-and/gdb-dashboard" +else + SRC_URI="https://github.com/cyrus-and/gdb-dashboard/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + dev-debug/gdb[python] + ${PYTHON_DEPS} +" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_install() { + insinto "/usr/share/${PN}" + newins .gdbinit "${PN}" + + # install a convenient wrapper. disables any typical .gdbinit (-nh) to + # get a clean state without interference. -q to disable annoying + # copyright message at startup. + make_wrapper "$PN" "gdb -q -nh -iex 'source /usr/share/${PN}/${PN}'" + + dodoc README.md +} + +pkg_postinst() { + einfo "To use ${PN}:" + einfo " Either use the installed '${PN}' wrapper script directly." + einfo " Or put 'source /usr/share/${PN}/${PN}' in your .gdbinit file." + einfo "" + + optfeature "syntax highlighting" "dev-python/pygments" +}