# 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="A little toolkit with fancy functions"

HOMEPAGE="https://discord-catho.frama.io/module_toolkit"
LICENSE="AGPL 3"
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="doc test upload"
DEPENDENCIES="dev-python/bs4[${PYTHON_USEDEP}]
	dev-python/markdownify[${PYTHON_USEDEP}]
	~dev-python/requests-2.28.2[${PYTHON_USEDEP}]
	doc? ( >=dev-python/sphinx-7.2.6[${PYTHON_USEDEP}] )
	doc? ( >=dev-python/sphinx-rtd-theme-1.3.0[${PYTHON_USEDEP}] )
	doc? ( >=dev-python/myst-parser-2.0.0[${PYTHON_USEDEP}] )
	test? ( >=dev-python/coverage-7.3.1[${PYTHON_USEDEP}] )
	test? ( >=dev-python/flake8-6.1.0[${PYTHON_USEDEP}] )
	test? ( dev-python/flake8-html[${PYTHON_USEDEP}] )
	test? ( dev-python/html-report-line-profiler[${PYTHON_USEDEP}] )
	upload? ( >=dev-python/twine-4.0.2[${PYTHON_USEDEP}] )
	upload? ( >=dev-python/wheel-0.40.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"