# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8..11} ) EGIT_REPO_URI="https://github.com/adeptex/${PN}.git" inherit distutils-r1 git-r3 DESCRIPTION="Identify hardcoded secrets in static structured text" HOMEPAGE="https://github.com/adeptex/whispers" SRC_URI="" LICENSE="GPL-3" SLOT="0" KEYWORDS="" RDEPEND="dev-python/astroid[${PYTHON_USEDEP}] dev-python/beautifulsoup4[${PYTHON_USEDEP}] dev-python/jellyfish[${PYTHON_USEDEP}] dev-python/jproperties[${PYTHON_USEDEP}] dev-python/lazy-object-proxy[${PYTHON_USEDEP}] dev-python/luhn[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] dev-python/soupsieve[${PYTHON_USEDEP}] dev-python/typing-extensions[${PYTHON_USEDEP}] dev-python/wrapt[${PYTHON_USEDEP}]" python_prepare_all() { # Remove pytest-runner sed -i '/setup_requires/d;/pytest-runner/,+1d' setup.py \ || die "sed failed for setup.py" distutils-r1_python_prepare_all } distutils_enable_tests pytest