From: Akinori Hattori Date: Sat, 8 Jul 2017 08:22:56 +0000 (+0900) Subject: dev-libs/libspt: update to EAPI 6 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=6aa55ac4f972749a72a4240de823ce87c6a460a3;p=gentoo.git dev-libs/libspt: update to EAPI 6 Package-Manager: Portage-2.3.6, Repoman-2.3.1 --- diff --git a/dev-libs/libspt/libspt-1.1-r2.ebuild b/dev-libs/libspt/libspt-1.1-r2.ebuild index af55debe5e61..55536d07fd32 100644 --- a/dev-libs/libspt/libspt-1.1-r2.ebuild +++ b/dev-libs/libspt/libspt-1.1-r2.ebuild @@ -1,9 +1,7 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="2" - -inherit base +EAPI="6" DESCRIPTION="Library for handling root privilege" #HOMEPAGE="http://www.j10n.org/libspt/index.html" @@ -16,12 +14,4 @@ KEYWORDS="alpha amd64 ppc x86" IUSE="" RESTRICT="test" -src_prepare() { - epatch "${FILESDIR}/${PN}-gentoo.patch" -} - -src_install() { - emake DESTDIR="${D}" install || die - - dodoc CHANGES -} +PATCHES=( "${FILESDIR}/${PN}-gentoo.patch" )