commit:     95cc9eac4746c603c229b4e1c598df54866c0edd
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 30 15:05:22 2023 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Dec  2 20:56:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95cc9eac

games-board/crafty: EAPI 8

Update HOMEPAGE and SRC_URIs, minor QA fixes.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/34065
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 .../{crafty-24.1-r1.ebuild => crafty-24.1-r2.ebuild}      | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/games-board/crafty/crafty-24.1-r1.ebuild 
b/games-board/crafty/crafty-24.1-r2.ebuild
similarity index 86%
rename from games-board/crafty/crafty-24.1-r1.ebuild
rename to games-board/crafty/crafty-24.1-r2.ebuild
index 36cccd3f57c8..9c83673aaa80 100644
--- a/games-board/crafty/crafty-24.1-r1.ebuild
+++ b/games-board/crafty/crafty-24.1-r2.ebuild
@@ -1,14 +1,14 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
+
 inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Bob Hyatt's strong chess engine"
-HOMEPAGE="http://www.craftychess.com/";
-SRC_URI="http://www.craftychess.com/${P}.zip
-       http://www.cis.uab.edu/hyatt/crafty/source/${P}.zip
-       ftp://ftp.cis.uab.edu/pub/hyatt/documentation/${PN}.doc.ascii";
+HOMEPAGE="https://web.archive.org/web/20231106192545/http://craftychess.com/";
+SRC_URI="https://web.archive.org/web/20210304102649/http://www.craftychess.com/downloads/source/${P}.zip
+       mirror://gentoo/85/${PN}.doc.ascii"
 
 LICENSE="crafty"
 SLOT="0"
@@ -16,9 +16,7 @@ KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
 IUSE="no-opts"
 RESTRICT="test"
 
-RDEPEND=""
-DEPEND="${RDEPEND}
-       app-arch/unzip"
+BDEPEND="app-arch/unzip"
 
 src_prepare() {
        default
@@ -62,6 +60,7 @@ src_compile() {
                        fi
                fi
        fi
+       tc-export CC CXX
        append-cppflags -DPOSIX -DSKILL
        emake ${makeopts} crafty-make LDFLAGS="${LDFLAGS} -pthread"
 }

Reply via email to