From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EB190158094 for ; Wed, 21 Sep 2022 04:05:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6E290E0CE3; Wed, 21 Sep 2022 04:05:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A5FE2E0CE3 for ; Wed, 21 Sep 2022 04:05:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B34BA340BE2 for ; Wed, 21 Sep 2022 04:05:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D8D755E0 for ; Wed, 21 Sep 2022 04:05:14 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1663733101.a5010cf3a2d735b2ba041401d3d9ea13839d295a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/scipy/scipy-1.9.9999.ebuild X-VCS-Directories: dev-python/scipy/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a5010cf3a2d735b2ba041401d3d9ea13839d295a X-VCS-Branch: master Date: Wed, 21 Sep 2022 04:05:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 86187f4c-6539-4f7f-a407-2d279a486577 X-Archives-Hash: 6f3a36b9c56f38182f661f8385b6436c commit: a5010cf3a2d735b2ba041401d3d9ea13839d295a Author: Sam James gentoo org> AuthorDate: Wed Sep 21 04:03:48 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Sep 21 04:05:01 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5010cf3 dev-python/scipy: disable docs for live Closes: https://bugs.gentoo.org/872122 Signed-off-by: Sam James gentoo.org> dev-python/scipy/scipy-1.9.9999.ebuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild index 47dd4358d2c0..e2718fe21ca6 100644 --- a/dev-python/scipy/scipy-1.9.9999.ebuild +++ b/dev-python/scipy/scipy-1.9.9999.ebuild @@ -84,7 +84,7 @@ distutils_enable_tests pytest src_unpack() { default - if use doc; then + if [[ ${PV} != *9999 ]] && use doc; then unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die fi } @@ -96,9 +96,10 @@ python_test() { } python_install_all() { - use doc && \ - local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \ + if [[ ${PV} != *9999 ]] && use doc; then + local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) local HTML_DOCS=( "${WORKDIR}"/html/. ) + fi distutils-r1_python_install_all }