# automatically generated by g-sorcery
# please do not edit this file

EAPI=8

REALNAME="${PN}"
LITERALNAME="${PN}"
REALVERSION="${PV}"
DIGEST_SOURCES="yes"
PYTHON_COMPAT=( python3_11 )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="Making protein folding accessible to all. Predict proteins structures both in google colab and on your machine"

HOMEPAGE="https://github.com/sokrypton/ColabFold"
LICENSE="MIT, but separate licenses for the trained weights"
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="alphafold alphafold-minus-jax"
DEPENDENCIES="<dev-python/absl-py-2.0.0[${PYTHON_USEDEP}]
	alphafold? ( dev-python/alphafold-colabfold[${PYTHON_USEDEP}] )
	alphafold-minus-jax? ( dev-python/alphafold-colabfold[${PYTHON_USEDEP}] )
	<dev-python/appdirs-2.0.0[${PYTHON_USEDEP}]
	dev-python/biopython[${PYTHON_USEDEP}]
	dev-python/dm-haiku[${PYTHON_USEDEP}]
	<dev-python/importlib-metadata-5.0.0[${PYTHON_USEDEP}]
	alphafold? ( dev-python/jax[${PYTHON_USEDEP}] )
	<dev-python/matplotlib-4.0.0[${PYTHON_USEDEP}]
	<dev-python/numpy-2.0.0[${PYTHON_USEDEP}]
	<dev-python/pandas-2.0.0[${PYTHON_USEDEP}]
	dev-python/py3Dmol[${PYTHON_USEDEP}]
	<dev-python/requests-3.0.0[${PYTHON_USEDEP}]
	dev-python/tensorflow-cpu[${PYTHON_USEDEP}]
	dev-python/tensorflow-macos[${PYTHON_USEDEP}]
	<dev-python/tqdm-5.0.0[${PYTHON_USEDEP}]"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"