# 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 powerful and modern admin interface / CMS, powered by Piccolo and ASGI."

HOMEPAGE="https://github.com/piccolo-orm/piccolo_admin"
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="all faker s3"
DEPENDENCIES="dev-python/piccolo[${PYTHON_USEDEP}]
	dev-python/piccolo-api[${PYTHON_USEDEP}]
	dev-python/uvicorn[${PYTHON_USEDEP}]
	>=dev-python/aiofiles-0.5.0[${PYTHON_USEDEP}]
	dev-python/hypercorn[${PYTHON_USEDEP}]
	dev-python/targ[${PYTHON_USEDEP}]
	dev-python/fastapi[${PYTHON_USEDEP}]
	faker? ( ~dev-python/faker-13.0[${PYTHON_USEDEP}] )
	s3? ( dev-python/piccolo-api[${PYTHON_USEDEP}] )
	all? ( ~dev-python/faker-13.0[${PYTHON_USEDEP}] )
	all? ( dev-python/piccolo-api[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"