summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2019-11-16 22:06:15 -0700
committerTim Harder <radhermit@gentoo.org>2019-11-16 22:06:50 -0700
commit6cda4c86cd81db6aa4eefc6904bda51ae9a928c2 (patch)
tree80427aa537e7572cb807e13f19c3fe743ebcd413
parentapp-text/docx2txt: remove old (diff)
downloadgentoo-6cda4c86cd81db6aa4eefc6904bda51ae9a928c2.tar.gz
gentoo-6cda4c86cd81db6aa4eefc6904bda51ae9a928c2.tar.bz2
gentoo-6cda4c86cd81db6aa4eefc6904bda51ae9a928c2.zip
app-text/docx2txt: update to EAPI 7
Signed-off-by: Tim Harder <radhermit@gentoo.org>
-rw-r--r--app-text/docx2txt/docx2txt-1.4.ebuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/app-text/docx2txt/docx2txt-1.4.ebuild b/app-text/docx2txt/docx2txt-1.4.ebuild
index 322943c0bd9e..46c9ea99a966 100644
--- a/app-text/docx2txt/docx2txt-1.4.ebuild
+++ b/app-text/docx2txt/docx2txt-1.4.ebuild
@@ -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() { :; }