From 121e6a1633b2dbde9d83485f7bb39a682ebac641 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 1 Aug 2022 00:02:27 +0100 Subject: dev-python/scipy: fix USE=doc Closes: https://bugs.gentoo.org/862567 Signed-off-by: Sam James --- dev-python/scipy/scipy-1.9.9999.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'dev-python/scipy/scipy-1.9.9999.ebuild') diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild index 888ff2073ebb..47dd4358d2c0 100644 --- a/dev-python/scipy/scipy-1.9.9999.ebuild +++ b/dev-python/scipy/scipy-1.9.9999.ebuild @@ -38,7 +38,7 @@ else S="${WORKDIR}"/${MY_P} if [[ ${PV} != *rc* ]] ; then - KEYWORDS="~amd64 -hppa" + KEYWORDS="~amd64 -hppa ~ppc64 ~riscv" fi fi @@ -81,6 +81,14 @@ EPYTEST_DESELECT=( distutils_enable_tests pytest +src_unpack() { + default + + if use doc; then + unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die + fi +} + python_test() { cd "${T}" || die -- cgit v1.2.3-65-gdbad