dev-libs/appstream: Switch to eapi7-ver
authorAndreas Sturmlechner <asturm@gentoo.org>
Fri, 18 May 2018 16:35:38 +0000 (18:35 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Fri, 18 May 2018 16:44:11 +0000 (18:44 +0200)
Package-Manager: Portage-2.3.38, Repoman-2.3.9

dev-libs/appstream/appstream-0.11.5.ebuild

index 1a70d5615e08feb022afef0da6a006596d5bf3c1..227ab977dc59e0efb52695ee7b2a1f18459d952e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -9,8 +9,8 @@ if [[ ${PV} = 9999 ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/ximion/${PN}"
 else
-       inherit versionator
-       MY_PV="$(replace_all_version_separators '_')"
+       inherit eapi7-ver
+       MY_PV="$(ver_rs 0- '_')"
        MY_P="APPSTREAM_${MY_PV}"
        SRC_URI="https://github.com/ximion/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
        KEYWORDS="~amd64 ~arm ~arm64 ~x86"