# 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="Peewee integration for Muffin framework"

HOMEPAGE="https://github.com/klen/muffin-peewee"
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="build example postgres tests"
DEPENDENCIES="dev-python/aio-peewee[${PYTHON_USEDEP}]
	dev-python/muffin[${PYTHON_USEDEP}]
	>=dev-python/peewee-3.0[${PYTHON_USEDEP}]
	dev-python/peewee-migrate[${PYTHON_USEDEP}]
	build? ( dev-python/bump2version[${PYTHON_USEDEP}] )
	build? ( dev-python/wheel[${PYTHON_USEDEP}] )
	example? ( dev-python/uvicorn[${PYTHON_USEDEP}] )
	postgres? ( dev-python/psycopg2-binary[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-aio[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-mypy[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"