commit:     65c6f547d13f0bf646544e6aef04a70e0d8976c3
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Sun Apr  3 08:11:12 2022 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Sun Apr  3 08:11:12 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=65c6f547

sci-biology/afni: corrected patch application

ebuild still fails, though, log included in comment and reposited here:
https://ppb.chymera.eu/4223de.log

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 sci-biology/afni/afni-22.0.21.ebuild | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/sci-biology/afni/afni-22.0.21.ebuild 
b/sci-biology/afni/afni-22.0.21.ebuild
index d8ad693bf..6694c9525 100644
--- a/sci-biology/afni/afni-22.0.21.ebuild
+++ b/sci-biology/afni/afni-22.0.21.ebuild
@@ -12,8 +12,7 @@ S="${WORKDIR}/${PN}-AFNI_${PV}/src"
 
 LICENSE="GPL-3+"
 SLOT="0"
-# Depends on some python version withoug pulling it in
-# `thd_selenium.c:18:10: fatal error: Python.h: No such file or directory`
+# SUMA error: https://ppb.chymera.eu/4223de.log
 KEYWORDS=""
 
 RDEPEND="
@@ -38,15 +37,12 @@ DEPEND="${RDEPEND}
        app-shells/tcsh
 "
 
-PATCHES=(
-       # Drop python2.7 dependency
-       "${FILESDIR}/${P}-python.patch"
-)
-
 BUILD="linux_fedora_19_64"
 BIN_CONFLICTS=(qdelaunay whirlgif djpeg cjpeg qhull rbox count)
 
 src_prepare() {
+       # more easily applied here than via PATCHES at phase end.
+       eapply "${FILESDIR}/${P}-python.patch" || die
        find -type f -exec sed -i -e "s/-lXp //g" {} + || die
        cp other_builds/Makefile.${BUILD} Makefile || die "Could not copy 
Makefile"
        # Unbundle imcat

Reply via email to