From 6b7c73d318c3f1d495c70263cf34f1ca69511180 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 20 Jun 2020 17:31:09 +0200 Subject: dev-python/clang-python: Apply patches in WORKDIR in 10.0.1+ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/clang-python/clang-python-10.0.1.9999.ebuild | 5 +++++ dev-python/clang-python/clang-python-10.0.1_rc1.ebuild | 5 +++++ dev-python/clang-python/clang-python-11.0.0.9999.ebuild | 5 +++++ 3 files changed, 15 insertions(+) (limited to 'dev-python/clang-python') 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 fc791c8175c3..07ca5abe4b27 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 fc791c8175c3..07ca5abe4b27 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 fc791c8175c3..07ca5abe4b27 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}" } -- cgit v1.2.3