# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 pypi DESCRIPTION="Lightweight static analysis for many languages" HOMEPAGE="https://github.com/semgrep/semgrep" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" RESTRICT="test" # no tests RDEPEND="dev-python/attrs[${PYTHON_USEDEP}] dev-python/boltons[${PYTHON_USEDEP}] dev-python/click[${PYTHON_USEDEP}] dev-python/click-option-group[${PYTHON_USEDEP}] dev-python/colorama[${PYTHON_USEDEP}] dev-python/defusedxml[${PYTHON_USEDEP}] dev-python/exceptiongroup[${PYTHON_USEDEP}] dev-python/glom[${PYTHON_USEDEP}] dev-python/jsonschema[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}] dev-python/peewee[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] dev-python/rich[${PYTHON_USEDEP}] dev-python/ruamel-yaml[${PYTHON_USEDEP}] dev-python/tomli[${PYTHON_USEDEP}] dev-python/typing-extensions[${PYTHON_USEDEP}] dev-python/urllib3[${PYTHON_USEDEP}] dev-python/wcmatch[${PYTHON_USEDEP}]" BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" QA_PREBUILT="usr/lib/python3.12/site-packages/semgrep/bin/semgrep-core" distutils_enable_tests pytest