diff --git a/dev-util/dwarf-debugger/Manifest b/dev-util/dwarf-debugger/Manifest new file mode 100644 index 000000000..90a65db9f --- /dev/null +++ b/dev-util/dwarf-debugger/Manifest @@ -0,0 +1 @@ +DIST dwarf_debugger-1.0.0.tar.gz 634783 BLAKE2B 981d04081c6e794e100985823541f63397fff5b317bbc76f18fc2f5d5eb7b07dcf70041ec3dbec8fec0a908d11aaed9408eca5e8ef94b46d099cf473f9c6c928 SHA512 4d2f1a1986e72fc882c6731971aef240880128cc7b989fe136cb71a35d4330313135cba4fee4c2c7c8308863fddb01060674863f656a395c3e34b48e4eb1f431 diff --git a/dev-util/dwarf-debugger/dwarf-debugger-1.0.0.ebuild b/dev-util/dwarf-debugger/dwarf-debugger-1.0.0.ebuild new file mode 100644 index 000000000..e85b63a6e --- /dev/null +++ b/dev-util/dwarf-debugger/dwarf-debugger-1.0.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +MY_PN="dwarf_debugger" + +DESCRIPTION="Full featured multi arch/os debugger built on top of PyQt5 and frida" +HOMEPAGE="https://github.com/iGio90/Dwarf" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="${PYTHON_DEPS} + >=dev-libs/capstone-4.0.1[python,${PYTHON_USEDEP}] + >=dev-python/requests-2.22.0[${PYTHON_USEDEP}] + >=dev-python/frida-python-12.8.0[${PYTHON_USEDEP}] + >=dev-python/PyQt5-5.11.3[${PYTHON_USEDEP}] + >=dev-python/pyperclip-1.7.0[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +PATCHES=""${FILESDIR}"/dwart-disable-update.patch" + +S="${WORKDIR}/${MY_PN}-${PV}" diff --git a/dev-util/dwarf-debugger/files/dwart-disable-update.patch b/dev-util/dwarf-debugger/files/dwart-disable-update.patch new file mode 100644 index 000000000..fb587ef30 --- /dev/null +++ b/dev-util/dwarf-debugger/files/dwart-disable-update.patch @@ -0,0 +1,11 @@ +--- a/dwarf_debugger/dwarf.py.orig 2019-12-30 02:20:14.000000000 +0800 ++++ b/dwarf_debugger/dwarf.py 2019-12-30 08:27:17.557166261 +0800 +@@ -176,7 +176,7 @@ + qapp.setWindowIcon(_icon) + + _prefs = Prefs() +- local_update_disabled = _prefs.get('disable_local_frida_update', False) ++ local_update_disabled = True + + args = process_args() + diff --git a/profiles/pentoo/base/package.accept_keywords/dev-python b/profiles/pentoo/base/package.accept_keywords/dev-python index a1c09076b..b1959f500 100644 --- a/profiles/pentoo/base/package.accept_keywords/dev-python +++ b/profiles/pentoo/base/package.accept_keywords/dev-python @@ -437,3 +437,7 @@ dev-python/pyee ~dev-python/cairocffi-1.0.2 ~dev-python/weasyprint-43 ~dev-python/cssselect2-0.2.0 + +# required by dwarf-debugger (argument) +~dev-python/requests-2.22.0 +~dev-python/pyperclip-1.7.0 diff --git a/profiles/pentoo/base/package.accept_keywords/dev-util b/profiles/pentoo/base/package.accept_keywords/dev-util index 9a4359a75..f6bb4146e 100644 --- a/profiles/pentoo/base/package.accept_keywords/dev-util +++ b/profiles/pentoo/base/package.accept_keywords/dev-util @@ -2,6 +2,7 @@ dev-util/dependency-check-bin dev-util/apktool =dev-util/dex2jar-2.1* +dev-util/dwarf-debugger =dev-util/emilpro-3* dev-util/jd-gui ~dev-util/bokken-1.8