1 |
commit: 20a6672dbb6439e59846df3b6af4555c4f8bc1f6 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 4 18:38:19 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 5 00:22:42 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20a6672d |
7 |
|
8 |
games-board/natch: remove deprecated games eclass |
9 |
|
10 |
Also update to EAPI 6 |
11 |
|
12 |
Gentoo-Bug: https://bugs.gentoo.org/574082 |
13 |
|
14 |
Package-Manager: portage-2.3.0 |
15 |
|
16 |
games-board/natch/files/natch-2.4-format.patch | 4 ++-- |
17 |
games-board/natch/natch-2.4-r1.ebuild | 30 ++++++++++++++++++++++++++ |
18 |
2 files changed, 32 insertions(+), 2 deletions(-) |
19 |
|
20 |
diff --git a/games-board/natch/files/natch-2.4-format.patch b/games-board/natch/files/natch-2.4-format.patch |
21 |
index cc2b320..38e2b79 100644 |
22 |
--- a/games-board/natch/files/natch-2.4-format.patch |
23 |
+++ b/games-board/natch/files/natch-2.4-format.patch |
24 |
@@ -1,5 +1,5 @@ |
25 |
---- src/pcpjtool.c.old 2014-10-17 08:38:21.547119790 +0200 |
26 |
-+++ src/pcpjtool.c 2014-10-17 08:42:04.949035648 +0200 |
27 |
+--- a/src/pcpjtool.c 2014-10-17 08:38:21.547119790 +0200 |
28 |
++++ b/src/pcpjtool.c 2014-10-17 08:42:04.949035648 +0200 |
29 |
@@ -45,7 +45,7 @@ |
30 |
int nb_libre = 0; |
31 |
const char* separation_line = "+---+---+---+---+---+---+---+---+\n"; |
32 |
|
33 |
diff --git a/games-board/natch/natch-2.4-r1.ebuild b/games-board/natch/natch-2.4-r1.ebuild |
34 |
new file mode 100644 |
35 |
index 0000000..239bac1 |
36 |
--- /dev/null |
37 |
+++ b/games-board/natch/natch-2.4-r1.ebuild |
38 |
@@ -0,0 +1,30 @@ |
39 |
+# Copyright 1999-2016 Gentoo Foundation |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+# $Id$ |
42 |
+ |
43 |
+EAPI=6 |
44 |
+inherit eutils |
45 |
+ |
46 |
+MY_P="Natch-${PV}" |
47 |
+DESCRIPTION="A program to solve chess proof games" |
48 |
+HOMEPAGE="http://natch.free.fr/Natch.html" |
49 |
+SRC_URI="http://natch.free.fr/Natch/${MY_P}.tar.gz" |
50 |
+ |
51 |
+LICENSE="GPL-2" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~ppc ~x86" |
54 |
+IUSE="" |
55 |
+ |
56 |
+DEPEND="sys-libs/ncurses:0" |
57 |
+RDEPEND=${DEPEND} |
58 |
+ |
59 |
+S=${WORKDIR}/${MY_P} |
60 |
+ |
61 |
+PATCHES=( |
62 |
+ "${FILESDIR}"/${P}-format.patch |
63 |
+) |
64 |
+ |
65 |
+src_install() { |
66 |
+ newbin src/Natch natch |
67 |
+ dodoc AUTHORS ChangeLog NEWS README THANKS example.txt |
68 |
+} |