From: Johannes Huber Date: Mon, 25 Jun 2018 11:06:48 +0000 (+0200) Subject: x11-misc/xbatt: Migrate to eapi7-ver eclass X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=b210e585799c560d0e15b1e00ba31395f8810752;p=gentoo.git x11-misc/xbatt: Migrate to eapi7-ver eclass Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- diff --git a/x11-misc/xbatt/xbatt-1.3_rc1.ebuild b/x11-misc/xbatt/xbatt-1.3_rc1.ebuild index c7c8c3949274..350878f1db6c 100644 --- a/x11-misc/xbatt/xbatt-1.3_rc1.ebuild +++ b/x11-misc/xbatt/xbatt-1.3_rc1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit toolchain-funcs versionator +inherit toolchain-funcs eapi7-ver MY_PV=${PV/_rc/pr} DESCRIPTION="Notebook battery indicator for X" @@ -29,7 +29,7 @@ DEPEND=" PATCHES=( "${FILESDIR}"/${PN}-1.2.1-implicits.patch ) -S="${WORKDIR}"/${PN}-$(get_version_component_range 1-2) +S="${WORKDIR}"/${PN}-$(ver_cut 1-2) src_compile() { xmkmf || die