pentoo-overlay/dev-util/plasma/plasma-9999.ebuild
ephemer0l c6fc87b608
dev-util/plasma: Update and test ebuilds and deps
Package-Manager: Portage-2.3.40, Repoman-2.3.9
2018-08-23 12:44:10 -05:00

36 lines
958 B
Bash

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 )
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]
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"