# 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="Eth2 spec, provided as Python package for tooling and testing"

HOMEPAGE="https://github.com/ethereum/eth2.0-specs"
LICENSE=""
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="generator lint test"
DEPENDENCIES="dev-python/eth-utils[${PYTHON_USEDEP}]
	dev-python/eth-typing[${PYTHON_USEDEP}]
	~dev-python/pycryptodome-3.9.4[${PYTHON_USEDEP}]
	dev-python/py-ecc[${PYTHON_USEDEP}]
	dev-python/milagro-bls-binding[${PYTHON_USEDEP}]
	dev-python/dataclasses[${PYTHON_USEDEP}]
	dev-python/remerkleable[${PYTHON_USEDEP}]
	~dev-python/ruamel-yaml-0.16.5[${PYTHON_USEDEP}]
	dev-python/lru-dict[${PYTHON_USEDEP}]
	dev-python/marko[${PYTHON_USEDEP}]
	generator? ( ~dev-python/python-snappy-0.5.4[${PYTHON_USEDEP}] )
	lint? ( ~dev-python/flake8-3.7.7[${PYTHON_USEDEP}] )
	lint? ( ~dev-python/mypy-0.812[${PYTHON_USEDEP}] )
	lint? ( ~dev-python/pylint-2.12.2[${PYTHON_USEDEP}] )
	test? ( >=dev-python/pytest-4.4[${PYTHON_USEDEP}] )
	test? ( dev-python/pytest-cov[${PYTHON_USEDEP}] )
	test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"