# 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 for managing vocabularies."

HOMEPAGE="https://github.com/inveniosoftware/invenio-vocabularies"
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 oaipmh opensearch1 opensearch2 rdf s3fs sparql tests"
DEPENDENCIES="dev-python/invenio-i18n[${PYTHON_USEDEP}]
	dev-python/invenio-records-resources[${PYTHON_USEDEP}]
	dev-python/invenio-administration[${PYTHON_USEDEP}]
	dev-python/invenio-jobs[${PYTHON_USEDEP}]
	>=dev-python/lxml-4.5.0[${PYTHON_USEDEP}]
	>=dev-python/pycountry-24.0.0[${PYTHON_USEDEP}]
	>=dev-python/pyyaml-5.4.1[${PYTHON_USEDEP}]
	>=dev-python/regex-2024.7.24[${PYTHON_USEDEP}]
	dev-python/SPARQLWrapper[${PYTHON_USEDEP}]
	s3fs? ( dev-python/s3fs[${PYTHON_USEDEP}] )
	oaipmh? ( dev-python/invenio-oaipmh-scythe[${PYTHON_USEDEP}] )
	rdf? ( >=dev-python/rdflib-7.0.0[${PYTHON_USEDEP}] )
	sparql? ( dev-python/SPARQLWrapper[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-black-ng[${PYTHON_USEDEP}] )
	tests? ( dev-python/invenio-app[${PYTHON_USEDEP}] )
	tests? ( dev-python/invenio-db[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/pytest-httpserver-1.0.10[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-invenio[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/sphinx-4.5[${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}"