app-text/docx2txt: update to EAPI 7
authorTim Harder <radhermit@gentoo.org>
Sun, 17 Nov 2019 05:06:15 +0000 (22:06 -0700)
committerTim Harder <radhermit@gentoo.org>
Sun, 17 Nov 2019 05:06:50 +0000 (22:06 -0700)
Signed-off-by: Tim Harder <radhermit@gentoo.org>
app-text/docx2txt/docx2txt-1.4.ebuild

index 322943c0bd9e3048e971be6f3076e0f4383cce38..46c9ea99a966623e24093fb6e1cf1a60689d4227 100644 (file)
@@ -1,9 +1,7 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-
-inherit eutils
+EAPI=7
 
 DESCRIPTION="Convert MS Office docx files to plain text"
 HOMEPAGE="http://docx2txt.sourceforge.net/"
@@ -16,9 +14,7 @@ KEYWORDS="~amd64 ~x86"
 RDEPEND="app-arch/unzip
        dev-lang/perl"
 
-src_prepare() {
-       epatch "${FILESDIR}"/${PN}-1.1-paragraph-newline.patch
-}
+PATCHES=( "${FILESDIR}"/${PN}-1.1-paragraph-newline.patch )
 
 src_compile() { :; }