# 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="calamus is a library built on top of marshmallow to allow (de-)Serialization of Python classes to JSON-LD."

HOMEPAGE="https://github.com/SwissDataScienceCenter/calamus/"
LICENSE="Apache-2.0"
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"
DEPENDENCIES="<dev-python/marshmallow-3.24.0[${PYTHON_USEDEP}]
	dev-python/PyLD[${PYTHON_USEDEP}]
	docs? ( <dev-python/jinja2-3.1.0[${PYTHON_USEDEP}] )
	docs? ( <dev-python/sphinx-6.0.0[${PYTHON_USEDEP}] )
	docs? ( <dev-python/sphinx-rtd-theme-0.5.0[${PYTHON_USEDEP}] )
	docs? ( <dev-python/sphinxcontrib-spelling-6.0.0[${PYTHON_USEDEP}] )
	<dev-python/lazy-object-proxy-2.0.0[${PYTHON_USEDEP}]
	<dev-python/rdflib-7.0.0[${PYTHON_USEDEP}]"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"