# automatically generated by g-sorcery
# please do not edit this file
EAPI=8
REALNAME="${PN}"
LITERALNAME="${PN}"
REALVERSION="${PV}"
DIGEST_SOURCES="yes"
PYTHON_COMPAT=( python{3_11,3_12,3_13,3_14} )
DISTUTILS_USE_PEP517=standalone
inherit python-r1 gs-pypi
DESCRIPTION="XLMMacroDeobfuscator is an XLM Emulation engine written in Python 3, designed to analyze and deobfuscate malicious XLM macros, also known as Excel 4.0 macros, contained in MS Excel files (XLS, XLSM, and XLSB)."
HOMEPAGE="https://github.com/DissectMalware/XLMMacroDeobfuscator"
LICENSE="Apache-2.0"
SRC_URI="https://files.pythonhosted.org/packages/source/${REALNAME::1}/${REALNAME}/${REALNAME}-${REALVERSION}.tar.gz"
SOURCEFILE="${REALNAME}-${REALVERSION}.tar.gz"
RESTRICT="test"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="secure"
DEPENDENCIES="dev-python/pyxlsb2[${PYTHON_USEDEP}]
dev-python/lark-parser[${PYTHON_USEDEP}]
dev-python/xlrd2[${PYTHON_USEDEP}]
~dev-python/untangle-1.2.1[${PYTHON_USEDEP}]
dev-python/msoffcrypto-tool[${PYTHON_USEDEP}]
dev-python/roman[${PYTHON_USEDEP}]
secure? ( dev-python/defusedxml[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"