diff --git a/dev-python/clang-python/clang-python-10.0.1.9999.ebuild b/dev-python/clang-python/clang-python-10.0.1.9999.ebuild index fc791c8175c30..07ca5abe4b274 100644 --- a/dev-python/clang-python/clang-python-10.0.1.9999.ebuild +++ b/dev-python/clang-python/clang-python-10.0.1.9999.ebuild @@ -27,6 +27,11 @@ RDEPEND=" ${PYTHON_DEPS}" DEPEND="${RDEPEND}" +src_prepare() { + cd "${WORKDIR}" || die + default +} + python_test() { "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" } diff --git a/dev-python/clang-python/clang-python-10.0.1_rc1.ebuild b/dev-python/clang-python/clang-python-10.0.1_rc1.ebuild index fc791c8175c30..07ca5abe4b274 100644 --- a/dev-python/clang-python/clang-python-10.0.1_rc1.ebuild +++ b/dev-python/clang-python/clang-python-10.0.1_rc1.ebuild @@ -27,6 +27,11 @@ RDEPEND=" ${PYTHON_DEPS}" DEPEND="${RDEPEND}" +src_prepare() { + cd "${WORKDIR}" || die + default +} + python_test() { "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" } diff --git a/dev-python/clang-python/clang-python-11.0.0.9999.ebuild b/dev-python/clang-python/clang-python-11.0.0.9999.ebuild index fc791c8175c30..07ca5abe4b274 100644 --- a/dev-python/clang-python/clang-python-11.0.0.9999.ebuild +++ b/dev-python/clang-python/clang-python-11.0.0.9999.ebuild @@ -27,6 +27,11 @@ RDEPEND=" ${PYTHON_DEPS}" DEPEND="${RDEPEND}" +src_prepare() { + cd "${WORKDIR}" || die + default +} + python_test() { "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" }