diff --git a/sys-devel/gdb-dashboard/Manifest b/sys-devel/gdb-dashboard/Manifest new file mode 100644 index 000000000..d1868556c --- /dev/null +++ b/sys-devel/gdb-dashboard/Manifest @@ -0,0 +1 @@ +DIST gdb-dashboard-0.11.1.tar.gz 20788 BLAKE2B e81f5ee54d0e01c043287c681c1d6bc7ca57ba94e6a89683a4c04ee52b7ce0f2ffc6089f9ef09934bb6597c248131632ca079c6d2ad788ce8bf8f860211db495 SHA512 aa36bfc0a500f81d284ac8834c7ba7a4dec52a2bac8067067ad371f03a043b402d7f40bb7b2b0a8f9557454aa0ae4558041aeecc97d64cb90eb0ee07bd59bb59 diff --git a/sys-devel/gdb-dashboard/gdb-dashboard-0.11.1.ebuild b/sys-devel/gdb-dashboard/gdb-dashboard-0.11.1.ebuild new file mode 120000 index 000000000..c14fc4205 --- /dev/null +++ b/sys-devel/gdb-dashboard/gdb-dashboard-0.11.1.ebuild @@ -0,0 +1 @@ +./gdb-dashboard-9999.ebuild \ No newline at end of file diff --git a/sys-devel/gdb-dashboard/gdb-dashboard-9999.ebuild b/sys-devel/gdb-dashboard/gdb-dashboard-9999.ebuild new file mode 100644 index 000000000..4e91c22dd --- /dev/null +++ b/sys-devel/gdb-dashboard/gdb-dashboard-9999.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) + +inherit eutils python-single-r1 + +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-python/pygments[${PYTHON_USEDEP}] + sys-devel/gdb[python]" + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_install() { + insinto "/usr/share/${PN}" + newins .gdbinit gdbinit + + cat > "${D}/usr/share/${PN}/${PN}" <<-_EOF_ || die + # Use this commad for installing: + # gdb -x /usr/share/${PN}/${PN} + + source /usr/share/${PN}/gdbinit + _EOF_ + + make_wrapper $PN \ + "gdb -x /usr/share/${PN}/${PN}" + + dodoc README.md +} + +pkg_postinst() { + einfo "\nFor using put the command:" + einfo " gdb -x /usr/share/${PN}/${PN} " + einfo "or" + einfo " ${PN} \n" +} diff --git a/sys-devel/gdb-dashboard/metadata.xml b/sys-devel/gdb-dashboard/metadata.xml new file mode 100644 index 000000000..ebc718e70 --- /dev/null +++ b/sys-devel/gdb-dashboard/metadata.xml @@ -0,0 +1,8 @@ + + + + + email@linxon.ru + Yury Martynov + +