PyShExC-0.10.3_p1tgbugs-overlay
download
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYPI_NO_NORMALIZE=1
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{10..14} pypy3 pypy3_11 )
PYPI_NO_NORMALIZE=1
PYPI_PN=pyshexc
inherit pypi distutils-r1
DESCRIPTION="Idiomatic conversion between URIs and compact URIs (CURIEs) in Python"
HOMEPAGE="
https://pypi.org/project/PyShExC/
https://github.com/shexSpec/grammar-python-antlr
"
S=$WORKDIR/${PYPI_PN}-${PV/_p/.post}
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
PATCHES="${FILESDIR}/no-shim.patch"
RDEPEND="
dev-python/chardet[${PYTHON_USEDEP}]
>=dev-python/jsonasobj-1.2.1[${PYTHON_USEDEP}]
>=dev-python/PyJSG-0.11.10[${PYTHON_USEDEP}]
>=dev-python/ShExJSG-0.8.1[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest