From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1336555-garchives=archives.gentoo.org@lists.gentoo.org> 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 95D16158086 for <garchives@archives.gentoo.org>; Fri, 5 Nov 2021 05:14:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B6F70E087E; Fri, 5 Nov 2021 05:14:54 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 232F6E087E for <gentoo-commits@lists.gentoo.org>; Fri, 5 Nov 2021 05:14:54 +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 BD7BD342AB9 for <gentoo-commits@lists.gentoo.org>; Fri, 5 Nov 2021 05:14:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 16BB3D0 for <gentoo-commits@lists.gentoo.org>; Fri, 5 Nov 2021 05:14:51 +0000 (UTC) From: "Sam James" <sam@gentoo.org> 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" <sam@gentoo.org> Message-ID: <1636089283.2297995a11f988512633d6b0799e3474a26f0b27.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/scipy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/scipy/metadata.xml dev-python/scipy/scipy-1.7.1.ebuild X-VCS-Directories: dev-python/scipy/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2297995a11f988512633d6b0799e3474a26f0b27 X-VCS-Branch: master Date: Fri, 5 Nov 2021 05:14:51 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 36c4f426-9980-4ce1-a418-014f5a52ce9f X-Archives-Hash: 65912e04980985a838a3f6dd2cda43d2 commit: 2297995a11f988512633d6b0799e3474a26f0b27 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Nov 5 05:14:10 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Nov 5 05:14:43 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2297995a dev-python/scipy: make pythran optional Bug: https://bugs.gentoo.org/804115 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-python/scipy/metadata.xml | 1 + dev-python/scipy/scipy-1.7.1.ebuild | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-python/scipy/metadata.xml b/dev-python/scipy/metadata.xml index 9e4a6eb32f2..0192620473a 100644 --- a/dev-python/scipy/metadata.xml +++ b/dev-python/scipy/metadata.xml @@ -18,6 +18,7 @@ algorithms, ODE solvers, and others. </longdescription> <use> + <flag name="pythran">Use <pkg>dev-python/pythran</pkg> to accelerate runtime</flag> <flag name="sparse">Adds support for sparse solving with <pkg>sci-libs/umfpack</pkg></flag> </use> <upstream> diff --git a/dev-python/scipy/scipy-1.7.1.ebuild b/dev-python/scipy/scipy-1.7.1.ebuild index b972b925817..ed5e007e4e2 100644 --- a/dev-python/scipy/scipy-1.7.1.ebuild +++ b/dev-python/scipy/scipy-1.7.1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD LGPL-2" SLOT="0" KEYWORDS="~amd64 ~arm64 ~riscv ~x86" -IUSE="doc sparse" +IUSE="doc pythran sparse" DEPEND=" >=dev-python/numpy-1.16.5[lapack,${PYTHON_USEDEP}] @@ -36,9 +36,9 @@ BDEPEND=" dev-lang/swig >=dev-python/cython-0.29.18[${PYTHON_USEDEP}] dev-python/pybind11[${PYTHON_USEDEP}] - dev-python/pythran[${PYTHON_USEDEP}] virtual/pkgconfig doc? ( app-arch/unzip ) + pythran? ( dev-python/pythran[${PYTHON_USEDEP}] ) test? ( dev-python/nose[${PYTHON_USEDEP}] )" @@ -122,6 +122,8 @@ python_prepare_all() { } python_configure_all() { + export SCIPY_USE_PYTHRAN=$(usex pythran 1 0) + # bug 721860 test-flag-FC -fallow-argument-mismatch && append-fflags -fallow-argument-mismatch