# 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="Latex specific features for jupyter book"

HOMEPAGE="https://executablebooks.org/"
LICENSE="BSD"
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="code_style myst rtd testing"
DEPENDENCIES="<dev-python/sphinx-4.0[${PYTHON_USEDEP}]
	code_style? ( dev-python/pre-commit[${PYTHON_USEDEP}] )
	myst? ( dev-python/myst-nb[${PYTHON_USEDEP}] )
	rtd? ( dev-python/myst-parser[${PYTHON_USEDEP}] )
	rtd? ( dev-python/sphinx-book-theme[${PYTHON_USEDEP}] )
	testing? ( <dev-python/coverage-5.0[${PYTHON_USEDEP}] )
	testing? ( dev-python/jupyter-book[${PYTHON_USEDEP}] )
	testing? ( <dev-python/pytest-4.0[${PYTHON_USEDEP}] )
	testing? ( ~dev-python/pytest-cov-2.8[${PYTHON_USEDEP}] )
	testing? ( dev-python/pytest-regressions[${PYTHON_USEDEP}] )
	testing? ( dev-python/sphinx_external_toc[${PYTHON_USEDEP}] )
	testing? ( <dev-python/sphinxcontrib-bibtex-2.3.0[${PYTHON_USEDEP}] )
	testing? ( dev-python/TexSoup[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"