commit:     3dc7b6cad12a4cc20d5a56c65a1c42b673cbf171
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sat Aug 14 10:13:16 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Aug 14 10:13:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dc7b6ca

sci-mathematics/ent: Port to EAPI 8

Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-mathematics/ent/ent-101202.ebuild         | 17 ++++++++---------
 sci-mathematics/ent/files/101202-gentoo.patch |  2 --
 2 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/sci-mathematics/ent/ent-101202.ebuild 
b/sci-mathematics/ent/ent-101202.ebuild
index 2c0a24c73da..694df9dc844 100644
--- a/sci-mathematics/ent/ent-101202.ebuild
+++ b/sci-mathematics/ent/ent-101202.ebuild
@@ -1,30 +1,29 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=8
 
-inherit epatch toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="Pseudorandom number sequence test"
 HOMEPAGE="http://www.fourmilab.ch/random/";
 SRC_URI="mirror://gentoo/random-${PV}.zip"
+S="${WORKDIR}"
 
-SLOT="0"
 LICENSE="public-domain"
+SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
 
-RDEPEND=""
-DEPEND="app-arch/unzip"
+BDEPEND="app-arch/unzip"
 
-S="${WORKDIR}"
+PATCHES=( "${FILESDIR}"/${PV}-gentoo.patch )
 
 src_prepare() {
-       epatch "${FILESDIR}"/${PV}-gentoo.patch
+       default
        tc-export CC
 }
 
 src_install() {
        dobin ${PN}
-       dohtml ${PN}.html ${PN}itle.gif
+       dodoc ${PN}.html ${PN}itle.gif
 }

diff --git a/sci-mathematics/ent/files/101202-gentoo.patch 
b/sci-mathematics/ent/files/101202-gentoo.patch
index a71bc505063..3bef25efe31 100644
--- a/sci-mathematics/ent/files/101202-gentoo.patch
+++ b/sci-mathematics/ent/files/101202-gentoo.patch
@@ -1,5 +1,3 @@
-diff --git a/Makefile b/Makefile
-index 2a150cf..3f9b883 100644
 --- a/Makefile
 +++ b/Makefile
 @@ -1,12 +1,12 @@

Reply via email to