# 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="Integrate interactive code blocks into your documentation with Thebe and Binder."

HOMEPAGE="https://github.com/executablebooks/sphinx-thebe"
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="dev sphinx testing"
DEPENDENCIES=">=dev-python/sphinx-4.0[${PYTHON_USEDEP}]
	dev? ( dev-python/sphinx-thebe[${PYTHON_USEDEP}] )
	sphinx? ( dev-python/myst-nb[${PYTHON_USEDEP}] )
	sphinx? ( dev-python/sphinx-book-theme[${PYTHON_USEDEP}] )
	sphinx? ( dev-python/sphinx-copybutton[${PYTHON_USEDEP}] )
	sphinx? ( dev-python/sphinx_design[${PYTHON_USEDEP}] )
	testing? ( dev-python/beautifulsoup4[${PYTHON_USEDEP}] )
	testing? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
	testing? ( dev-python/myst-nb[${PYTHON_USEDEP}] )
	testing? ( dev-python/pytest[${PYTHON_USEDEP}] )
	testing? ( dev-python/pytest-regressions[${PYTHON_USEDEP}] )
	testing? ( dev-python/sphinx-copybutton[${PYTHON_USEDEP}] )
	testing? ( dev-python/sphinx_design[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"