# 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="ScanCode is a tool to scan code for license, copyright, package and their documented dependencies and other interesting facts."

HOMEPAGE="https://github.com/aboutcode-org/scancode-toolkit"
LICENSE="Apache-2.0 AND CC-BY-4.0 AND LicenseRef-scancode-other-permissive AND LicenseRef-scancode-other-copyleft"
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=""
DEPENDENCIES=">=dev-python/attrs-22.1.0[${PYTHON_USEDEP}]
	>=dev-python/beautifulsoup4-4.13.0[${PYTHON_USEDEP}]
	>=dev-python/boolean-py-4.0[${PYTHON_USEDEP}]
	>=dev-python/chardet-3.0.0[${PYTHON_USEDEP}]
	>=dev-python/click-8.2.0[${PYTHON_USEDEP}]
	>=dev-python/colorama-0.3.9[${PYTHON_USEDEP}]
	dev-python/commoncode[${PYTHON_USEDEP}]
	dev-python/container-inspector[${PYTHON_USEDEP}]
	dev-python/cyseq[${PYTHON_USEDEP}]
	dev-python/debian-inspector[${PYTHON_USEDEP}]
	dev-python/dparse2[${PYTHON_USEDEP}]
	dev-python/fasteners[${PYTHON_USEDEP}]
	dev-python/fingerprints[${PYTHON_USEDEP}]
	>=dev-python/ftfy-6.0.0[${PYTHON_USEDEP}]
	dev-python/gemfileparser2[${PYTHON_USEDEP}]
	dev-python/html5lib[${PYTHON_USEDEP}]
	dev-python/importlib-metadata[${PYTHON_USEDEP}]
	dev-python/intbitset[${PYTHON_USEDEP}]
	dev-python/jaraco-functools[${PYTHON_USEDEP}]
	dev-python/javaproperties[${PYTHON_USEDEP}]
	>=dev-python/jinja2-2.7.0[${PYTHON_USEDEP}]
	dev-python/jsonstreams[${PYTHON_USEDEP}]
	>=dev-python/license-expression-30.4.4[${PYTHON_USEDEP}]
	>=dev-python/lxml-5.4.0[${PYTHON_USEDEP}]
	>=dev-python/markupsafe-2.1.2[${PYTHON_USEDEP}]
	dev-python/multiregex[${PYTHON_USEDEP}]
	dev-python/normality[${PYTHON_USEDEP}]
	dev-python/packageurl-python[${PYTHON_USEDEP}]
	dev-python/packvers[${PYTHON_USEDEP}]
	dev-python/parameter-expansion-patched[${PYTHON_USEDEP}]
	dev-python/pdfminer-six[${PYTHON_USEDEP}]
	>=dev-python/pefile-2020.1.1[${PYTHON_USEDEP}]
	dev-python/pkginfo2[${PYTHON_USEDEP}]
	dev-python/pip-requirements-parser[${PYTHON_USEDEP}]
	>=dev-python/pluggy-1.0.0[${PYTHON_USEDEP}]
	dev-python/plugincode[${PYTHON_USEDEP}]
	dev-python/publicsuffix2[${PYTHON_USEDEP}]
	dev-python/pyahocorasick[${PYTHON_USEDEP}]
	dev-python/pygmars[${PYTHON_USEDEP}]
	dev-python/pygments[${PYTHON_USEDEP}]
	dev-python/pymaven-patch[${PYTHON_USEDEP}]
	>=dev-python/requests-2.7.0[${PYTHON_USEDEP}]
	dev-python/saneyaml[${PYTHON_USEDEP}]
	dev-python/spdx-tools[${PYTHON_USEDEP}]
	>=dev-python/text-unidecode-1.0[${PYTHON_USEDEP}]
	dev-python/urlpy[${PYTHON_USEDEP}]
	>=dev-python/xmltodict-0.11.0[${PYTHON_USEDEP}]"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"