commit:     c1e2d7c24e9f857efb4093c5fe1bd30ef7889f68
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  5 17:04:57 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar  5 18:04:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1e2d7c2

games-board/xmille: port to EAPI 7, away from epatch.eclass

* EAPI 7
* Kill epatch.eclass

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{xmille-2.0-r3.ebuild => xmille-2.0-r4.ebuild}    | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/games-board/xmille/xmille-2.0-r3.ebuild 
b/games-board/xmille/xmille-2.0-r4.ebuild
similarity index 82%
rename from games-board/xmille/xmille-2.0-r3.ebuild
rename to games-board/xmille/xmille-2.0-r4.ebuild
index 7821de3430b..4ca1f38b760 100644
--- a/games-board/xmille/xmille-2.0-r3.ebuild
+++ b/games-board/xmille/xmille-2.0-r4.ebuild
@@ -1,32 +1,31 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit desktop epatch toolchain-funcs
+EAPI=7
+
+inherit desktop toolchain-funcs
 
 DEB_PATCH_VER="13"
 DESCRIPTION="Mille Bournes card game"
 HOMEPAGE="http://www.milleborne.info/";
 SRC_URI="mirror://debian/pool/main/x/xmille/${PN}_${PV}.orig.tar.gz
        mirror://debian/pool/main/x/xmille/${PN}_${PV}-${DEB_PATCH_VER}.diff.gz"
+S="${WORKDIR}/${P}.orig"
 
 LICENSE="public-domain"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
-RDEPEND="x11-libs/libXext"
-DEPEND="${RDEPEND}
+BDEPEND="
        app-text/rman
        x11-misc/imake
 "
-
-S="${WORKDIR}/${P}.orig"
+RDEPEND="x11-libs/libXext"
+DEPEND="${RDEPEND}"
 
 src_prepare() {
        default
-       epatch "${WORKDIR}"/${PN}_${PV}-${DEB_PATCH_VER}.diff
-
+       eapply "${WORKDIR}"/${PN}_${PV}-${DEB_PATCH_VER}.diff
 }
 
 src_configure() {

Reply via email to