commit:     b210e585799c560d0e15b1e00ba31395f8810752
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 25 11:06:48 2018 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Mon Jun 25 11:30:18 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b210e585

x11-misc/xbatt: Migrate to eapi7-ver eclass

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 x11-misc/xbatt/xbatt-1.3_rc1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/xbatt/xbatt-1.3_rc1.ebuild 
b/x11-misc/xbatt/xbatt-1.3_rc1.ebuild
index c7c8c394927..350878f1db6 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

Reply via email to