# 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_12,3_13,3_14} )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="\"Invenio data model for Learning Object Metadata.\""

HOMEPAGE="https://github.com/tu-graz-library/invenio-records-lom"
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/invenio-previewer[${PYTHON_USEDEP}]
	dev-python/invenio-rdm-records[${PYTHON_USEDEP}]
	dev-python/invenio-stats[${PYTHON_USEDEP}]
	>=dev-python/marshmallow-3.24.0[${PYTHON_USEDEP}]
	tests? ( dev-python/invenio-app[${PYTHON_USEDEP}] )
	tests? ( dev-python/invenio-cache[${PYTHON_USEDEP}] )
	tests? ( dev-python/invenio-db[${PYTHON_USEDEP}] )
	tests? ( dev-python/invenio-i18n[${PYTHON_USEDEP}] )
	tests? ( dev-python/invenio-search[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-black-ng[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-invenio[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/pytest-mock-1.6.0[${PYTHON_USEDEP}] )
	tests? ( dev-python/ruff[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/sphinx-4.4.0[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/sphinx-autodoc-typehints-1.10.3[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"