# 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 library and command-line tool for generating Github-style badges"

HOMEPAGE="https://github.com/google/pybadges"
LICENSE="Apache-2.0"
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 pil-measurement"
DEPENDENCIES="<dev-python/jinja2-4.0[${PYTHON_USEDEP}]
	<dev-python/requests-3.0[${PYTHON_USEDEP}]
	dev? ( >=dev-python/flask-2.0[${PYTHON_USEDEP}] )
	dev? ( >=dev-python/fonttools-3.26[${PYTHON_USEDEP}] )
	dev? ( dev-python/nox[${PYTHON_USEDEP}] )
	dev? ( >=dev-python/pillow-5.0[${PYTHON_USEDEP}] )
	dev? ( >=dev-python/pytest-3.6[${PYTHON_USEDEP}] )
	dev? ( dev-python/xmldiff[${PYTHON_USEDEP}] )
	pil-measurement? ( <dev-python/pillow-10.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"