pentoo-overlay/app-forensics/volatility3/volatility3-1.0.0_beta1.ebuild
2022-01-03 09:10:05 +08:00

27 lines
844 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{9..10} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
MY_PV=${PV//_beta/-beta.}
DESCRIPTION="Framework for analyzing volatile memory"
HOMEPAGE="https://github.com/volatilityfoundation/volatility3/ https://www.volatilityfoundation.org/"
SRC_URI="https://github.com/volatilityfoundation/volatility3/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="jsonschema yara disasm"
S=${WORKDIR}/${PN}-${MY_PV}
RDEPEND="dev-python/pefile[${PYTHON_USEDEP}]
jsonschema? ( >=dev-python/jsonschema-2.3.0[${PYTHON_USEDEP}] )
yara? ( >=dev-python/yara-python-3.8.0[${PYTHON_USEDEP}] )
disasm? ( dev-libs/capstone[python,${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}"