# 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="BioSimulators-compliant command-line interface to the COBRApy simulation program <https://opencobra.github.io/cobrapy/>."

HOMEPAGE="https://github.com/biosimulators/biosimulators_cobrapy"
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="all gurobi tests"
DEPENDENCIES="dev-python/biosimulators-utils[${PYTHON_USEDEP}]
	dev-python/cobra[${PYTHON_USEDEP}]
	dev-python/kisao[${PYTHON_USEDEP}]
	dev-python/lxml[${PYTHON_USEDEP}]
	dev-python/numpy[${PYTHON_USEDEP}]
	dev-python/python-libsbml[${PYTHON_USEDEP}]
	all? ( dev-python/attrdict[${PYTHON_USEDEP}] )
	all? ( dev-python/biosimulators-utils[${PYTHON_USEDEP}] )
	all? ( dev-python/gurobipy[${PYTHON_USEDEP}] )
	all? ( dev-python/python-dateutil[${PYTHON_USEDEP}] )
	gurobi? ( dev-python/gurobipy[${PYTHON_USEDEP}] )
	tests? ( dev-python/attrdict[${PYTHON_USEDEP}] )
	tests? ( dev-python/biosimulators-utils[${PYTHON_USEDEP}] )
	tests? ( dev-python/python-dateutil[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"