# 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_13,3_14} )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="Util to facilitate smart contracts compilation."

HOMEPAGE="https://github.com/crytic/crytic-compile"
LICENSE="AGPL-3"
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="dev doc lint test"
DEPENDENCIES=">=dev-python/pycryptodome-3.4.6[${PYTHON_USEDEP}]
	dev-python/cbor2[${PYTHON_USEDEP}]
	dev-python/solc-select[${PYTHON_USEDEP}]
	test? ( dev-python/pytest[${PYTHON_USEDEP}] )
	test? ( dev-python/pytest-cov[${PYTHON_USEDEP}] )
	lint? ( ~dev-python/black-22.3.0[${PYTHON_USEDEP}] )
	lint? ( ~dev-python/pylint-2.13.4[${PYTHON_USEDEP}] )
	lint? ( ~dev-python/mypy-0.942[${PYTHON_USEDEP}] )
	lint? ( dev-python/darglint[${PYTHON_USEDEP}] )
	doc? ( dev-python/pdoc[${PYTHON_USEDEP}] )
	dev? ( dev-python/crytic-compile[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"