summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2018-06-25 13:06:48 +0200
committerJohannes Huber <johu@gentoo.org>2018-06-25 13:30:18 +0200
commitb210e585799c560d0e15b1e00ba31395f8810752 (patch)
tree8eb25c202b5521525e74e27d0c00af09c6f50bac /x11-misc/xbatt
parentdev-python/jaraco-packaging: amd64 stable (diff)
downloadgentoo-b210e585799c560d0e15b1e00ba31395f8810752.tar.gz
gentoo-b210e585799c560d0e15b1e00ba31395f8810752.tar.bz2
gentoo-b210e585799c560d0e15b1e00ba31395f8810752.zip
x11-misc/xbatt: Migrate to eapi7-ver eclass
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'x11-misc/xbatt')
-rw-r--r--x11-misc/xbatt/xbatt-1.3_rc1.ebuild4
1 files 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 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