# 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="\"Python utilities for Manubot: Manuscripts, open and automated\""

HOMEPAGE="https://github.com/manubot/manubot"
LICENSE="BSD 3-Clause 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="ai-rev dev webpage"
DEPENDENCIES="dev-python/errorhandler[${PYTHON_USEDEP}]
	dev-python/isbnlib[${PYTHON_USEDEP}]
	dev-python/jinja2[${PYTHON_USEDEP}]
	>=dev-python/jsonschema-3.0.0[${PYTHON_USEDEP}]
	dev-python/packaging[${PYTHON_USEDEP}]
	dev-python/panflute[${PYTHON_USEDEP}]
	dev-python/pybase62[${PYTHON_USEDEP}]
	>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
	<dev-python/pyrate-limiter-3.0[${PYTHON_USEDEP}]
	dev-python/requests-cache[${PYTHON_USEDEP}]
	dev-python/requests[${PYTHON_USEDEP}]
	ai-rev? ( dev-python/manubot-ai-editor[${PYTHON_USEDEP}] )
	dev? ( dev-python/portray[${PYTHON_USEDEP}] )
	dev? ( dev-python/pre-commit[${PYTHON_USEDEP}] )
	dev? ( >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] )
	dev? ( dev-python/yamllint[${PYTHON_USEDEP}] )
	webpage? ( dev-python/opentimestamps-client[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"