pentoo-overlay/dev-util/plasma/plasma-0_p21080708-r2.ebuild

37 lines
1,012 B
Bash

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1
DESCRIPTION="An interactive disassembler for x86/ARM/MIPS"
HOMEPAGE="https://github.com/plasma-disassembler/plasma"
if [[ "${PV}" == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/plasma-disassembler/plasma"
inherit git-r3
KEYWORDS=""
else
MY_COMMIT=432cac6544d5c23b938174da5659a91e7b6c73fb
SRC_URI="https://github.com/plasma-disassembler/"${PN}"/tarball/"${MY_COMMIT}" -> "${P}".tar.gz"
S=""${WORKDIR}"/plasma-disassembler-"${PN}"-"${MY_COMMIT:0:7}""
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
DEPEND="dev-libs/capstone[python,${PYTHON_USEDEP}]
!!dev-libs/capstone-bindings
dev-libs/keystone
dev-python/pyelftools[${PYTHON_USEDEP}]
dev-python/future[${PYTHON_USEDEP}]
dev-python/msgpack[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
PATCHES=""${FILESDIR}"/${PN}-remove_pip.patch"