commit:     cddc2262f3f7822de987c780e1921a60db6de99e
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 13 12:58:43 2019 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Fri Dec 13 13:02:26 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cddc2262

app-editors/shed: update to EAPI 7

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>

 app-editors/shed/shed-1.15.ebuild | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/app-editors/shed/shed-1.15.ebuild 
b/app-editors/shed/shed-1.15.ebuild
index 6d1bfdeb8c3..3ab48acb1d1 100644
--- a/app-editors/shed/shed-1.15.ebuild
+++ b/app-editors/shed/shed-1.15.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit autotools eutils
+EAPI="7"
+
+inherit autotools
 
 DESCRIPTION="Simple Hex EDitor"
 HOMEPAGE="http://shed.sourceforge.net/";
@@ -13,15 +14,17 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
 
 RDEPEND="sys-libs/ncurses:0="
-DEPEND="
-       ${RDEPEND}
-       virtual/pkgconfig
-"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+       "${FILESDIR}"/${P}-cflags.patch
+       "${FILESDIR}"/${P}-interix.patch
+       "${FILESDIR}"/${P}-tinfo.patch
+)
 
 src_prepare() {
-       epatch \
-               "${FILESDIR}"/${P}-cflags.patch \
-               "${FILESDIR}"/${P}-interix.patch \
-               "${FILESDIR}"/${P}-tinfo.patch
+       default
+
+       mv configure.{in,ac} || die
        eautoreconf
 }

Reply via email to