Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/gnuchess-book/
Date: Sat, 24 Sep 2016 10:50:53
Message-Id: 1474714231.f00f451b2ebbf824b57d8db40cf2d619977c73bc.sping@gentoo
1 commit: f00f451b2ebbf824b57d8db40cf2d619977c73bc
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 24 10:35:59 2016 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 24 10:50:31 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f00f451b
7
8 games-board/gnuchess-book: gnuchess no longer uses games eclass (bug #594916)
9
10 Package-Manager: portage-2.3.0
11
12 ...nuchess-book-1.02.ebuild => gnuchess-book-1.02-r1.ebuild} | 12 +++++-------
13 games-board/gnuchess-book/gnuchess-book-1.02.ebuild | 4 ++--
14 2 files changed, 7 insertions(+), 9 deletions(-)
15
16 diff --git a/games-board/gnuchess-book/gnuchess-book-1.02.ebuild b/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
17 similarity index 62%
18 copy from games-board/gnuchess-book/gnuchess-book-1.02.ebuild
19 copy to games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
20 index f89a607..7e2cbc5 100644
21 --- a/games-board/gnuchess-book/gnuchess-book-1.02.ebuild
22 +++ b/games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild
23 @@ -1,9 +1,8 @@
24 -# Copyright 1999-2015 Gentoo Foundation
25 +# Copyright 1999-2016 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 # $Id$
28
29 EAPI=5
30 -inherit games
31
32 DESCRIPTION="Opening book for gnuchess"
33 HOMEPAGE="https://www.gnu.org/software/chess/chess.html"
34 @@ -11,21 +10,20 @@ SRC_URI="mirror://gnu/chess/book_${PV}.pgn.gz"
35
36 LICENSE="GPL-2"
37 SLOT="0"
38 -KEYWORDS="amd64 ppc ppc64 x86"
39 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
40 IUSE=""
41 RESTRICT="userpriv" # bug #112898
42
43 -DEPEND=">=games-board/gnuchess-6"
44 +DEPEND=">=games-board/gnuchess-6.2.3"
45 RDEPEND=${DEPEND}
46
47 S=${WORKDIR}
48
49 src_compile() {
50 - "${GAMES_BINDIR}"/gnuchess --addbook=book_${PV}.pgn || die
51 + gnuchess --addbook=book_${PV}.pgn || die
52 }
53
54 src_install() {
55 - insinto "${GAMES_DATADIR}/gnuchess"
56 + insinto /usr/share/gnuchess
57 doins book.bin
58 - prepgamesdirs
59 }
60
61 diff --git a/games-board/gnuchess-book/gnuchess-book-1.02.ebuild b/games-board/gnuchess-book/gnuchess-book-1.02.ebuild
62 index f89a607..a2ba676 100644
63 --- a/games-board/gnuchess-book/gnuchess-book-1.02.ebuild
64 +++ b/games-board/gnuchess-book/gnuchess-book-1.02.ebuild
65 @@ -1,4 +1,4 @@
66 -# Copyright 1999-2015 Gentoo Foundation
67 +# Copyright 1999-2016 Gentoo Foundation
68 # Distributed under the terms of the GNU General Public License v2
69 # $Id$
70
71 @@ -15,7 +15,7 @@ KEYWORDS="amd64 ppc ppc64 x86"
72 IUSE=""
73 RESTRICT="userpriv" # bug #112898
74
75 -DEPEND=">=games-board/gnuchess-6"
76 +DEPEND="<games-board/gnuchess-6.2.3"
77 RDEPEND=${DEPEND}
78
79 S=${WORKDIR}