From 63fe55de2af709e5e360e8e638d47866fbabecbd Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Fri, 12 Nov 2021 21:47:24 +0200 Subject: dev-python/bandit: fix prepare calls Fixes: 20c7c7acd861c0a462c611702587993a004faf14 Closes: https://bugs.gentoo.org/802564 Signed-off-by: Arthur Zamarin --- dev-python/bandit/bandit-1.7.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev-python/bandit') diff --git a/dev-python/bandit/bandit-1.7.0.ebuild b/dev-python/bandit/bandit-1.7.0.ebuild index 917f337ff285..c30765e91f50 100644 --- a/dev-python/bandit/bandit-1.7.0.ebuild +++ b/dev-python/bandit/bandit-1.7.0.ebuild @@ -37,9 +37,9 @@ RDEPEND=" >=dev-python/six-1.10.0[${PYTHON_USEDEP}] >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]" -python_prepare() { +src_prepare() { sed -i 's/yaml.load/yaml.safe_load/g' tests/unit/formatters/test_yaml.py || die - distutils-r1_python_prepare_all + distutils-r1_src_prepare } python_test() { -- cgit v1.2.3-65-gdbad