# 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="Invenio module that adds administration panel to the system."

HOMEPAGE="https://github.com/inveniosoftware/invenio-administration"
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="elasticsearch7 opensearch1 opensearch2 tests"
DEPENDENCIES="dev-python/flask-menu[${PYTHON_USEDEP}]
	dev-python/Flask-Principal[${PYTHON_USEDEP}]
	dev-python/invenio-accounts[${PYTHON_USEDEP}]
	dev-python/invenio-base[${PYTHON_USEDEP}]
	dev-python/invenio-db[${PYTHON_USEDEP}]
	dev-python/invenio-records-resources[${PYTHON_USEDEP}]
	dev-python/invenio-search-ui[${PYTHON_USEDEP}]
	dev-python/invenio-theme[${PYTHON_USEDEP}]
	dev-python/invenio-i18n[${PYTHON_USEDEP}]
	tests? ( dev-python/pytest-black-ng[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-invenio[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/sphinx-4.5[${PYTHON_USEDEP}] )
	tests? ( dev-python/invenio-access[${PYTHON_USEDEP}] )
	tests? ( dev-python/invenio-app[${PYTHON_USEDEP}] )
	elasticsearch7? ( dev-python/invenio-search[${PYTHON_USEDEP}] )
	opensearch1? ( dev-python/invenio-search[${PYTHON_USEDEP}] )
	opensearch2? ( dev-python/invenio-search[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"