# 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="INSPIRE-specific rules to transform from MARCXML to JSON and back. [top-max 63.2.32]"

HOMEPAGE="https://github.com/inspirehep/inspire-dojson"
LICENSE="GPL-3"
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 tests"
DEPENDENCIES="<dev-python/flask-2.0.0[${PYTHON_USEDEP}]
	dev-python/idutils[${PYTHON_USEDEP}]
	dev-python/dojson[${PYTHON_USEDEP}]
	dev-python/inspire-schemas[${PYTHON_USEDEP}]
	dev-python/inspire-utils[${PYTHON_USEDEP}]
	dev-python/isbnid-fork[${PYTHON_USEDEP}]
	dev-python/langdetect[${PYTHON_USEDEP}]
	~dev-python/pycountry-17.0[${PYTHON_USEDEP}]
	<dev-python/markupsafe-2.1.0[${PYTHON_USEDEP}]
	~dev-python/urllib3-1.25.0[${PYTHON_USEDEP}]
	all? ( dev-python/flake8-future-import[${PYTHON_USEDEP}] )
	all? ( ~dev-python/mock-2.0[${PYTHON_USEDEP}] )
	all? ( ~dev-python/pytest-4.0[${PYTHON_USEDEP}] )
	all? ( ~dev-python/pytest-cov-2.0[${PYTHON_USEDEP}] )
	all? ( dev-python/unicode-string-literal[${PYTHON_USEDEP}] )
	tests? ( dev-python/flake8-future-import[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/mock-2.0[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/pytest-4.0[${PYTHON_USEDEP}] )
	tests? ( ~dev-python/pytest-cov-2.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"