commit:     916a7e79337d1323a1541f2049ead10153c02541
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 29 20:07:33 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Sep 30 04:52:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=916a7e79

sci-biology/fasttree: update EAPI 7 -> 8

Closes: https://bugs.gentoo.org/953853
Closes: https://bugs.gentoo.org/957242
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-biology/fasttree/fasttree-2.1.11.ebuild | 15 ++++++++-------
 sci-biology/fasttree/files/CMakeLists.txt   |  2 +-
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/sci-biology/fasttree/fasttree-2.1.11.ebuild 
b/sci-biology/fasttree/fasttree-2.1.11.ebuild
index cb2d16791ee3..979e8427e476 100644
--- a/sci-biology/fasttree/fasttree-2.1.11.ebuild
+++ b/sci-biology/fasttree/fasttree-2.1.11.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit cmake
 
 DESCRIPTION="Fast inference of approximately-maximum-likelihood phylogenetic 
trees"
-HOMEPAGE="http://www.microbesonline.org/fasttree/";
+HOMEPAGE="https://morgannprice.github.io/fasttree/";
 SRC_URI="
        http://www.microbesonline.org/fasttree/FastTree-${PV}.c
        http://www.microbesonline.org/fasttree/FastTreeUPGMA.c -> 
FastTreeUPGMA-${PV}.c
@@ -26,10 +26,11 @@ PATCHES=( "${FILESDIR}"/${P}-format-security.patch )
 
 src_unpack() {
        mkdir "${S}" || die
-       cd "${S}" || die
-       unpack ${A}
-       cp "${DISTDIR}"/{FastTreeUPGMA-${PV}.c,FastTree-${PV}.c} . || die
-       cp "${FILESDIR}"/CMakeLists.txt . || die
+       pushd "${S}" > /dev/null || die
+               unpack ${A}
+               cp "${DISTDIR}"/{FastTreeUPGMA-${PV}.c,FastTree-${PV}.c} . || 
die
+               cp "${FILESDIR}"/CMakeLists.txt . || die
+       popd > /dev/null || die
 }
 
 src_configure() {

diff --git a/sci-biology/fasttree/files/CMakeLists.txt 
b/sci-biology/fasttree/files/CMakeLists.txt
index c52b90cc7be2..26e060696631 100644
--- a/sci-biology/fasttree/files/CMakeLists.txt
+++ b/sci-biology/fasttree/files/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required (VERSION 2.8.12)
+cmake_minimum_required (VERSION 3.10)
 project(fasttree C)
 
 include(GNUInstallDirs)

Reply via email to