From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1720145-garchives=archives.gentoo.org@lists.gentoo.org>
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) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 0B36F1582EF
	for <garchives@archives.gentoo.org>; Fri, 21 Feb 2025 23:45:27 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(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)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id E9EB2343067
	for <garchives@archives.gentoo.org>; Fri, 21 Feb 2025 23:45:26 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id E53D31102A2;
	Fri, 21 Feb 2025 23:45:25 +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) server-digest SHA256)
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id DE0461102A2
	for <gentoo-commits@lists.gentoo.org>; Fri, 21 Feb 2025 23:45:25 +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 90747343067
	for <gentoo-commits@lists.gentoo.org>; Fri, 21 Feb 2025 23:45:25 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id E6EAC107A
	for <gentoo-commits@lists.gentoo.org>; Fri, 21 Feb 2025 23:45:23 +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: <1740181424.266047631ed9f1288226a999e075c48bd1beab4f.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.14.1.ebuild dev-python/scipy/scipy-1.15.0.ebuild dev-python/scipy/scipy-1.15.1.ebuild dev-python/scipy/scipy-1.15.2.ebuild
X-VCS-Directories: dev-python/scipy/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 266047631ed9f1288226a999e075c48bd1beab4f
X-VCS-Branch: master
Date: Fri, 21 Feb 2025 23:45:23 +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: 640f8238-39dc-4080-bbd6-d36535d81cad
X-Archives-Hash: f3c3a5a6028bd7a5e0040653818e31db

commit:     266047631ed9f1288226a999e075c48bd1beab4f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 21 23:43:44 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 21 23:43:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26604763

dev-python/scipy: add dev-python/pythran to DEPEND as well as BDEPEND

It turns out that we need dev-python/pythran in both BDEPEND (for /usr/bin/pythran)
*and* DEPEND for pythran-generated code to be compiled as it uses headers
from pythran.

Bug: https://bugs.gentoo.org/922782
Bug: https://bugs.gentoo.org/950050
Closes: https://bugs.gentoo.org/950049
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/scipy/scipy-1.14.1.ebuild | 10 +++++++++-
 dev-python/scipy/scipy-1.15.0.ebuild |  8 ++++++++
 dev-python/scipy/scipy-1.15.1.ebuild |  8 ++++++++
 dev-python/scipy/scipy-1.15.2.ebuild |  8 ++++++++
 4 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/dev-python/scipy/scipy-1.14.1.ebuild b/dev-python/scipy/scipy-1.14.1.ebuild
index 3059a8fefe9d..d67d083e638d 100644
--- a/dev-python/scipy/scipy-1.14.1.ebuild
+++ b/dev-python/scipy/scipy-1.14.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -45,6 +45,9 @@ LICENSE="BSD LGPL-2"
 SLOT="0"
 IUSE="doc +fortran test-rust"
 
+# pythran is needed in both BDEPEND (for /usr/bin/pythran) and in DEPEND
+# to actually compile code generated by pythran (headers and such needed).
+#
 # umfpack is technically optional but it's preferred to have it available.
 DEPEND="
 	>=dev-python/numpy-1.23.5:=[lapack,${PYTHON_USEDEP}]
@@ -57,6 +60,11 @@ RDEPEND="
 	${DEPEND}
 	dev-python/pillow[${PYTHON_USEDEP}]
 "
+DEPEND+="
+	fortran? (
+		>=dev-python/pythran-0.16.0[${PYTHON_USEDEP}]
+	)
+"
 BDEPEND="
 	dev-lang/swig
 	>=dev-python/cython-3.0.8[${PYTHON_USEDEP}]

diff --git a/dev-python/scipy/scipy-1.15.0.ebuild b/dev-python/scipy/scipy-1.15.0.ebuild
index 9412dd55294c..87e8e7913028 100644
--- a/dev-python/scipy/scipy-1.15.0.ebuild
+++ b/dev-python/scipy/scipy-1.15.0.ebuild
@@ -45,6 +45,9 @@ LICENSE="BSD LGPL-2"
 SLOT="0"
 IUSE="doc +fortran test-rust"
 
+# pythran is needed in both BDEPEND (for /usr/bin/pythran) and in DEPEND
+# to actually compile code generated by pythran (headers and such needed).
+#
 # umfpack is technically optional but it's preferred to have it available.
 DEPEND="
 	>=dev-python/numpy-1.23.5:=[lapack,${PYTHON_USEDEP}]
@@ -57,6 +60,11 @@ RDEPEND="
 	${DEPEND}
 	dev-python/pillow[${PYTHON_USEDEP}]
 "
+DEPEND+="
+	fortran? (
+		>=dev-python/pythran-0.16.0[${PYTHON_USEDEP}]
+	)
+"
 BDEPEND="
 	dev-lang/swig
 	>=dev-python/cython-3.0.8[${PYTHON_USEDEP}]

diff --git a/dev-python/scipy/scipy-1.15.1.ebuild b/dev-python/scipy/scipy-1.15.1.ebuild
index 6f6e6f18f523..0e11bd7ac443 100644
--- a/dev-python/scipy/scipy-1.15.1.ebuild
+++ b/dev-python/scipy/scipy-1.15.1.ebuild
@@ -45,6 +45,9 @@ LICENSE="BSD LGPL-2"
 SLOT="0"
 IUSE="doc +fortran test-rust"
 
+# pythran is needed in both BDEPEND (for /usr/bin/pythran) and in DEPEND
+# to actually compile code generated by pythran (headers and such needed).
+#
 # umfpack is technically optional but it's preferred to have it available.
 DEPEND="
 	>=dev-python/numpy-1.23.5:=[lapack,${PYTHON_USEDEP}]
@@ -57,6 +60,11 @@ RDEPEND="
 	${DEPEND}
 	dev-python/pillow[${PYTHON_USEDEP}]
 "
+DEPEND+="
+	fortran? (
+		>=dev-python/pythran-0.16.0[${PYTHON_USEDEP}]
+	)
+"
 BDEPEND="
 	dev-lang/swig
 	>=dev-python/cython-3.0.8[${PYTHON_USEDEP}]

diff --git a/dev-python/scipy/scipy-1.15.2.ebuild b/dev-python/scipy/scipy-1.15.2.ebuild
index 73243ddf3913..30d711c136a7 100644
--- a/dev-python/scipy/scipy-1.15.2.ebuild
+++ b/dev-python/scipy/scipy-1.15.2.ebuild
@@ -45,6 +45,9 @@ LICENSE="BSD LGPL-2"
 SLOT="0"
 IUSE="doc +fortran test-rust"
 
+# pythran is needed in both BDEPEND (for /usr/bin/pythran) and in DEPEND
+# to actually compile code generated by pythran (headers and such needed).
+#
 # umfpack is technically optional but it's preferred to have it available.
 DEPEND="
 	>=dev-python/numpy-1.23.5:=[lapack,${PYTHON_USEDEP}]
@@ -57,6 +60,11 @@ RDEPEND="
 	${DEPEND}
 	dev-python/pillow[${PYTHON_USEDEP}]
 "
+DEPEND+="
+	fortran? (
+		>=dev-python/pythran-0.16.0[${PYTHON_USEDEP}]
+	)
+"
 BDEPEND="
 	dev-lang/swig
 	>=dev-python/cython-3.0.8[${PYTHON_USEDEP}]