# 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="\"Provides API for Alma.\""

HOMEPAGE="https://github.com/tu-graz-library/invenio-alma"
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="tests"
DEPENDENCIES=">=dev-python/click-7.0.0[${PYTHON_USEDEP}]
	>=dev-python/click-option-group-0.5.3[${PYTHON_USEDEP}]
	dev-python/flask-resources[${PYTHON_USEDEP}]
	dev-python/invenio-access[${PYTHON_USEDEP}]
	dev-python/invenio-accounts[${PYTHON_USEDEP}]
	dev-python/invenio-jobs[${PYTHON_USEDEP}]
	>=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
	tests? ( dev-python/invenio-app[${PYTHON_USEDEP}] )
	tests? ( dev-python/invenio-cache[${PYTHON_USEDEP}] )
	tests? ( dev-python/invenio-records-resources[${PYTHON_USEDEP}] )
	tests? ( dev-python/invenio-search[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-invenio[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-black-ng[${PYTHON_USEDEP}] )
	tests? ( dev-python/ruff[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/sphinx-4.2.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"