# 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 PID relations to the Invenio-PIDStore module."

HOMEPAGE="https://github.com/inveniosoftware/invenio-pidrelations"
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="docs elasticsearch7 indexer mysql opensearch2 postgresql records sqlite tests"
DEPENDENCIES="dev-python/invenio-base[${PYTHON_USEDEP}]
	dev-python/invenio-i18n[${PYTHON_USEDEP}]
	dev-python/invenio-pidstore[${PYTHON_USEDEP}]
	<dev-python/marshmallow-4.0.0[${PYTHON_USEDEP}]
	dev-python/speaklater[${PYTHON_USEDEP}]
	docs? ( >=dev-python/sphinx-5.0[${PYTHON_USEDEP}] )
	elasticsearch7? ( dev-python/invenio-search[${PYTHON_USEDEP}] )
	opensearch2? ( dev-python/invenio-search[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-invenio[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-black[${PYTHON_USEDEP}] )
	tests? ( dev-python/invenio-app[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/pytest-mock-1.6.0[${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}] )
	records? ( dev-python/invenio-records[${PYTHON_USEDEP}] )
	records? ( dev-python/invenio-records-ui[${PYTHON_USEDEP}] )
	indexer? ( dev-python/invenio-indexer[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"