commit: e50f1938154bbb8f24f2127a56a9f81e3d2ba046 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Oct 17 05:08:53 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Oct 17 05:28:50 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e50f1938
dev-python/vine: Remove the dep on dev-python/case Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/vine/vine-5.0.0-r1.ebuild | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/dev-python/vine/vine-5.0.0-r1.ebuild b/dev-python/vine/vine-5.0.0-r1.ebuild index 95ef0d3d5b0b..43c22bd3a3f1 100644 --- a/dev-python/vine/vine-5.0.0-r1.ebuild +++ b/dev-python/vine/vine-5.0.0-r1.ebuild @@ -19,10 +19,13 @@ LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ~arm64 x86" -BDEPEND=" - test? ( - >=dev-python/case-1.3.1[${PYTHON_USEDEP}] - ) -" - distutils_enable_tests pytest + +src_prepare() { + # remove the dep on dead dev-python/case package + sed -i -e 's:from case:from unittest.mock:' t/unit/*.py || die + # also removed upstream + rm t/unit/conftest.py || die + + distutils-r1_src_prepare +}