# 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="Package to support simplified application of machine learning models to datasets in materials science"

HOMEPAGE="https://github.com/MLMI2-CSSI/foundry"
LICENSE="MIT"
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 examples excel huggingface tensorflow torch"
DEPENDENCIES="dev-python/mdf-toolbox[${PYTHON_USEDEP}]
	dev-python/globus-sdk[${PYTHON_USEDEP}]
	dev-python/mdf-connect-client[${PYTHON_USEDEP}]
	>=dev-python/requests-2.31.0[${PYTHON_USEDEP}]
	>=dev-python/tqdm-4.66.0[${PYTHON_USEDEP}]
	>=dev-python/numpy-2.0.0[${PYTHON_USEDEP}]
	>=dev-python/pandas-2.2.2[${PYTHON_USEDEP}]
	>=dev-python/h5py-3.11.0[${PYTHON_USEDEP}]
	>=dev-python/pydantic-2.7.2[${PYTHON_USEDEP}]
	dev-python/json2table[${PYTHON_USEDEP}]
	>=dev-python/typer-0.12.0[${PYTHON_USEDEP}]
	>=dev-python/rich-13.7.0[${PYTHON_USEDEP}]
	torch? ( dev-python/torch[${PYTHON_USEDEP}] )
	tensorflow? ( dev-python/tensorflow[${PYTHON_USEDEP}] )
	excel? ( >=dev-python/openpyxl-3.1.0[${PYTHON_USEDEP}] )
	huggingface? ( dev-python/datasets[${PYTHON_USEDEP}] )
	huggingface? ( dev-python/huggingface-hub[${PYTHON_USEDEP}] )
	examples? ( >=dev-python/scikit-learn-1.4.0[${PYTHON_USEDEP}] )
	dev? ( >=dev-python/pytest-7.4[${PYTHON_USEDEP}] )
	dev? ( >=dev-python/pytest-cov-4.1[${PYTHON_USEDEP}] )
	dev? ( >=dev-python/pytest-mock-3.12[${PYTHON_USEDEP}] )
	dev? ( >=dev-python/flake8-7.0[${PYTHON_USEDEP}] )
	dev? ( >=dev-python/jsonschema-4.19[${PYTHON_USEDEP}] )
	dev? ( >=dev-python/mock-5.1[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"