# 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="Supporting continuous HTML section numbering"

HOMEPAGE=""
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="code_style rtd testing"
DEPENDENCIES=">=dev-python/sphinx-3.0[${PYTHON_USEDEP}]
	code_style? ( <dev-python/flake8-3.8.0[${PYTHON_USEDEP}] )
	code_style? ( dev-python/black[${PYTHON_USEDEP}] )
	code_style? ( dev-python/pre-commit[${PYTHON_USEDEP}] )
	rtd? ( >=dev-python/sphinx-3.0[${PYTHON_USEDEP}] )
	rtd? ( dev-python/sphinx-book-theme[${PYTHON_USEDEP}] )
	rtd? ( dev-python/myst-parser[${PYTHON_USEDEP}] )
	testing? ( ~dev-python/pytest-5.4[${PYTHON_USEDEP}] )
	testing? ( ~dev-python/pytest-cov-2.8[${PYTHON_USEDEP}] )
	testing? ( <dev-python/coverage-5.0[${PYTHON_USEDEP}] )
	testing? ( dev-python/pytest-regressions[${PYTHON_USEDEP}] )
	testing? ( dev-python/jupyter-book[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"