# 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="\"A Python client for DataCite MDS and REST APIs.\""

HOMEPAGE="https://github.com/inveniosoftware/datacite"
LICENSE="BSD"
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="all docs tests"
DEPENDENCIES=">=dev-python/jsonschema-3.0.0[${PYTHON_USEDEP}]
	>=dev-python/lxml-4.5.2[${PYTHON_USEDEP}]
	>=dev-python/requests-2.12.2[${PYTHON_USEDEP}]
	dev-python/idutils[${PYTHON_USEDEP}]
	>=dev-python/importlib-metadata-6.11.0[${PYTHON_USEDEP}]
	all? ( dev-python/datacite[${PYTHON_USEDEP}] )
	docs? ( >=dev-python/sphinx-4.5.0[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/responses-0.10.6[${PYTHON_USEDEP}] )
	tests? ( >=dev-python/mock-1.3.0[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-invenio[${PYTHON_USEDEP}] )
	tests? ( dev-python/pytest-black-ng[${PYTHON_USEDEP}] )
	tests? ( dev-python/datacite[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"