# 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 Circulation Module"

HOMEPAGE="https://github.com/inveniosoftware/invenio-circulation"
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 mysql opensearch2 postgresql sqlite tests"
DEPENDENCIES=">=dev-python/babel-2.8[${PYTHON_USEDEP}]
	>=dev-python/arrow-0.15.0[${PYTHON_USEDEP}]
	dev-python/invenio-base[${PYTHON_USEDEP}]
	dev-python/invenio-access[${PYTHON_USEDEP}]
	dev-python/invenio-indexer[${PYTHON_USEDEP}]
	dev-python/invenio-logging[${PYTHON_USEDEP}]
	dev-python/invenio-pidstore[${PYTHON_USEDEP}]
	dev-python/invenio-records-rest[${PYTHON_USEDEP}]
	dev-python/invenio-jsonschemas[${PYTHON_USEDEP}]
	>=dev-python/jsonschema-3.0.0[${PYTHON_USEDEP}]
	tests? ( >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-black[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-invenio[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/pytest-mock-1.6.0[${PYTHON_USEDEP}] )
	tests? ( dev-python/celery[${PYTHON_USEDEP}] )
	tests? ( dev-python/invenio-app[${PYTHON_USEDEP}] )
	tests? ( dev-python/invenio-jsonschemas[${PYTHON_USEDEP}] )
	tests? ( <dev-python/flask-2.3.0[${PYTHON_USEDEP}] )
	tests? ( dev-python/pydocstyle[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/sphinx-5.0[${PYTHON_USEDEP}] )
	mysql? ( dev-python/invenio-db[${PYTHON_USEDEP}] )
	postgresql? ( dev-python/invenio-db[${PYTHON_USEDEP}] )
	sqlite? ( dev-python/invenio-db[${PYTHON_USEDEP}] )
	opensearch2? ( dev-python/invenio-search[${PYTHON_USEDEP}] )
	elasticsearch7? ( dev-python/invenio-search[${PYTHON_USEDEP}] )
	elasticsearch7? ( <dev-python/elasticsearch-7.14[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"