[gentoo-commits] repo/proj/guru:master commit in: sys-devel/gdb-dashboard/, profiles/updates/, dev-debug/gdb-dashboard/

2024-02-24 Thread Haelwenn Monnier
commit: 9393503a864345a38fb6094ebe1e26a677b67257
Author: NRK  disroot  org>
AuthorDate: Sat Feb 24 08:00:16 2024 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Sat Feb 24 08:03:51 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9393503a

sys-devel/gdb-dashboard: move under dev-debug

Signed-off-by: NRK  disroot.org>

 {sys-devel => dev-debug}/gdb-dashboard/Manifest| 0
 {sys-devel => dev-debug}/gdb-dashboard/gdb-dashboard-0.17.2.ebuild | 2 +-
 {sys-devel => dev-debug}/gdb-dashboard/metadata.xml| 0
 profiles/updates/1Q-2024   | 1 +
 4 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-devel/gdb-dashboard/Manifest b/dev-debug/gdb-dashboard/Manifest
similarity index 100%
rename from sys-devel/gdb-dashboard/Manifest
rename to dev-debug/gdb-dashboard/Manifest

diff --git a/sys-devel/gdb-dashboard/gdb-dashboard-0.17.2.ebuild 
b/dev-debug/gdb-dashboard/gdb-dashboard-0.17.2.ebuild
similarity index 97%
rename from sys-devel/gdb-dashboard/gdb-dashboard-0.17.2.ebuild
rename to dev-debug/gdb-dashboard/gdb-dashboard-0.17.2.ebuild
index 2d76b5994b..2645a724c8 100644
--- a/sys-devel/gdb-dashboard/gdb-dashboard-0.17.2.ebuild
+++ b/dev-debug/gdb-dashboard/gdb-dashboard-0.17.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8

diff --git a/sys-devel/gdb-dashboard/metadata.xml 
b/dev-debug/gdb-dashboard/metadata.xml
similarity index 100%
rename from sys-devel/gdb-dashboard/metadata.xml
rename to dev-debug/gdb-dashboard/metadata.xml

diff --git a/profiles/updates/1Q-2024 b/profiles/updates/1Q-2024
index 8c355259a1..0398f0c881 100644
--- a/profiles/updates/1Q-2024
+++ b/profiles/updates/1Q-2024
@@ -10,3 +10,4 @@ move x11-wm/phoc gui-wm/phoc
 move gui-wm/phosh phosh-base/phosh-shell
 move gui-apps/phosh-tour phosh-base/phosh-tour
 move x11-misc/squeekboard phosh-base/squeekboard
+move sys-devel/gdb-dashboard dev-debug/gdb-dashboard



[gentoo-commits] repo/proj/guru:master commit in: sys-devel/gdb-dashboard/

2023-05-15 Thread Viorel Munteanu
commit: 16c67750026dee2a339a64808266623ec4ad92d4
Author: NRK  disroot  org>
AuthorDate: Mon May 15 12:49:47 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Mon May 15 12:51:22 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=16c67750

sys-devel/gdb-dashboard: add metadata.xml

just noticed metadata was missing after pushing the commit.
pkgcheck didn't seem to complain...

Signed-off-by: NRK  disroot.org>

 sys-devel/gdb-dashboard/metadata.xml | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/sys-devel/gdb-dashboard/metadata.xml 
b/sys-devel/gdb-dashboard/metadata.xml
new file mode 100644
index 0..ca01d6418
--- /dev/null
+++ b/sys-devel/gdb-dashboard/metadata.xml
@@ -0,0 +1,10 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   n...@disroot.org
+   
+   
+   cyrus-and/gdb-dashboard
+   
+



[gentoo-commits] repo/proj/guru:master commit in: sys-devel/gdb-dashboard/

2023-05-15 Thread Viorel Munteanu
commit: 560cc96fdde4881b899b2d561614a87f6c0b811a
Author: NRK  disroot  org>
AuthorDate: Mon May 15 12:46:20 2023 +
Commit: Viorel Munteanu  gentoo  org>
CommitDate: Mon May 15 12:46:20 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=560cc96f

sys-devel/gdb-dashboard: init new package

ebuild mostly inspired/stolen from pentoo, but a couple things have been
changed to fit EAPI8 + some minor improvements (e.g using optfeature for
optional syntax highlighting).

Signed-off-by: NRK  disroot.org>

 sys-devel/gdb-dashboard/Manifest   |  1 +
 .../gdb-dashboard/gdb-dashboard-0.17.2.ebuild  | 50 ++
 2 files changed, 51 insertions(+)

diff --git a/sys-devel/gdb-dashboard/Manifest b/sys-devel/gdb-dashboard/Manifest
new file mode 100644
index 0..b38215757
--- /dev/null
+++ b/sys-devel/gdb-dashboard/Manifest
@@ -0,0 +1 @@
+DIST gdb-dashboard-0.17.2.tar.gz 23275 BLAKE2B 
6c7cfd2ac5ffa686629bbfa628bfcf1b383e44d632c3acf1205a7e0e01192f167744e54f2e145644c1e2f8479f9021ca05a39481a4f4c07f0ca2db75946392cd
 SHA512 
caa723479b8539f01e9c46e2c95731fed2fe16087d495aa9eddacf93ffbf5f61f59166a106157ea099e0e2d90d1d0e97b7d2b6b3addb776506ce809438871006

diff --git a/sys-devel/gdb-dashboard/gdb-dashboard-0.17.2.ebuild 
b/sys-devel/gdb-dashboard/gdb-dashboard-0.17.2.ebuild
new file mode 100644
index 0..e25cff86d
--- /dev/null
+++ b/sys-devel/gdb-dashboard/gdb-dashboard-0.17.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit python-single-r1 optfeature wrapper
+
+DESCRIPTION="Modular visual interface for GDB in Python"
+HOMEPAGE="https://github.com/cyrus-and/gdb-dashboard;
+
+if [[ ${PV} == * ]]; 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="sys-devel/gdb[python]"
+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"
+}