commit:     20a6672dbb6439e59846df3b6af4555c4f8bc1f6
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  4 18:38:19 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Fri Aug  5 00:22:42 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20a6672d

games-board/natch: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

 games-board/natch/files/natch-2.4-format.patch |  4 ++--
 games-board/natch/natch-2.4-r1.ebuild          | 30 ++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 2 deletions(-)

diff --git a/games-board/natch/files/natch-2.4-format.patch 
b/games-board/natch/files/natch-2.4-format.patch
index cc2b320..38e2b79 100644
--- a/games-board/natch/files/natch-2.4-format.patch
+++ b/games-board/natch/files/natch-2.4-format.patch
@@ -1,5 +1,5 @@
---- src/pcpjtool.c.old 2014-10-17 08:38:21.547119790 +0200
-+++ src/pcpjtool.c     2014-10-17 08:42:04.949035648 +0200
+--- a/src/pcpjtool.c   2014-10-17 08:38:21.547119790 +0200
++++ b/src/pcpjtool.c   2014-10-17 08:42:04.949035648 +0200
 @@ -45,7 +45,7 @@
      int                       nb_libre = 0;
      const char*               separation_line = 
"+---+---+---+---+---+---+---+---+\n";

diff --git a/games-board/natch/natch-2.4-r1.ebuild 
b/games-board/natch/natch-2.4-r1.ebuild
new file mode 100644
index 0000000..239bac1
--- /dev/null
+++ b/games-board/natch/natch-2.4-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils
+
+MY_P="Natch-${PV}"
+DESCRIPTION="A program to solve chess proof games"
+HOMEPAGE="http://natch.free.fr/Natch.html";
+SRC_URI="http://natch.free.fr/Natch/${MY_P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses:0"
+RDEPEND=${DEPEND}
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+       "${FILESDIR}"/${P}-format.patch
+)
+
+src_install() {
+       newbin src/Natch natch
+       dodoc AUTHORS ChangeLog NEWS README THANKS example.txt
+}

Reply via email to