summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-19 04:04:14 +0000
committerSam James <sam@gentoo.org>2021-04-19 04:30:51 +0000
commit6909b0acb6a1f40a9e3dae8d6cf1b231f7adcdce (patch)
tree2dd4db57f890951a2ef314f752d44aa38ab4cd03 /games-board/gnuchess-book
parentdev-games/mercator: port to EAPI 7, ltprune-- (diff)
downloadgentoo-6909b0acb6a1f40a9e3dae8d6cf1b231f7adcdce.tar.gz
gentoo-6909b0acb6a1f40a9e3dae8d6cf1b231f7adcdce.tar.bz2
gentoo-6909b0acb6a1f40a9e3dae8d6cf1b231f7adcdce.zip
games-board/gnuchess-book: update EAPI 5 -> 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-board/gnuchess-book')
-rw-r--r--games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild b/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
index 47e9b358322c..bba4122489d1 100644
--- a/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
+++ b/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
@@ -1,22 +1,20 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
DESCRIPTION="Opening book for gnuchess"
HOMEPAGE="https://www.gnu.org/software/chess/chess.html"
SRC_URI="mirror://gnu/chess/book_${PV}.pgn.gz"
+S="${WORKDIR}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE=""
RESTRICT="userpriv" # bug #112898
-DEPEND=">=games-board/gnuchess-6.2.3"
-RDEPEND=${DEPEND}
-
-S=${WORKDIR}
+BDEPEND=">=games-board/gnuchess-6.2.3"
+RDEPEND="${BDEPEND}"
src_compile() {
gnuchess --addbook=book_${PV}.pgn || die