diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-26 08:58:19 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-26 08:58:19 +0100 |
commit | 34ce8f465101950c92cb66c657d3244b5a8397db (patch) | |
tree | 5df8a8c3a293be4942f5df9f9cd81babb70fac96 /dev-util/gef/gef-2021.10-r1.ebuild | |
parent | 24162508832f37f873ab12dfdfb191cf99318055 (diff) |
gentoo auto-resync : 26:07:2022 - 08:58:19
Diffstat (limited to 'dev-util/gef/gef-2021.10-r1.ebuild')
-rw-r--r-- | dev-util/gef/gef-2021.10-r1.ebuild | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/dev-util/gef/gef-2021.10-r1.ebuild b/dev-util/gef/gef-2021.10-r1.ebuild deleted file mode 100644 index 42103522b0c2..000000000000 --- a/dev-util/gef/gef-2021.10-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9..10} ) - -inherit python-single-r1 wrapper - -DESCRIPTION="A GDB Enhanced Features for exploit devs & reversers" -HOMEPAGE="https://github.com/hugsy/gef" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/hugsy/gef" -else - SRC_URI="https://github.com/hugsy/gef/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="doc test" -# Seem to hang right now? -RESTRICT="!test? ( test ) test" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - dev-util/ropper[${PYTHON_SINGLE_USEDEP}] - sys-devel/gdb[python,${PYTHON_SINGLE_USEDEP}] - $(python_gen_cond_dep ' - dev-libs/capstone[python,${PYTHON_USEDEP}] - dev-libs/keystone[python,${PYTHON_USEDEP}] - dev-python/pylint[${PYTHON_USEDEP}] - dev-util/unicorn[python,${PYTHON_USEDEP}] - ')" - -BDEPEND="doc? ( dev-python/mkdocs ) - test? ( - $(python_gen_cond_dep ' - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ') - )" - -src_prepare() { - default - - sed -i -e '/pylint/d' requirements.txt || die -} - -src_compile() { - # Tries to compile tests - : -} - -src_install() { - insinto /usr/share/${PN} - doins -r *.py - - python_optimize "${ED}"/usr/share/${PN} - - make_wrapper "gdb-gef" \ - "gdb -ex \"source ${EPREFIX}/usr/share/${PN}/gef.py\"" || die - - if use doc; then - # TODO: docs.eclass? - mkdocs build -d html || die - - rm "${WORKDIR}"/${P}/html/sitemap.xml.gz || die - dodoc -r html/ - fi - - dodoc README.md -} - -pkg_postinst() { - einfo "\nUsage:" - einfo " ~$ gdb-gef <program>\n" -} |