--- enrich-1.2.6.ebuild 2021-02-27 00:09:18.000000000 +0200 +++ enrich-1.2.6.ebuild 2021-03-03 19:13:44.810916257 +0200 @@ -4,7 +4,6 @@ EAPI=7 PYTHON_COMPAT=( python3_{7..9} ) -DISTUTILS_USE_SETUPTOOLS=pyproject.toml inherit distutils-r1 DESCRIPTION="Extend rich functionality" @@ -21,3 +20,8 @@ test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )" distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + find "${ED}" -type d -name "test" -exec rm -rv {} + || die "test removing failed" +}