commit:     99da2fe4f76491197cfe9f984b57642dbc2258b2
Author:     Rob Walker <bob.mt.wya <AT> gmail <DOT> com>
AuthorDate: Sun Oct 21 18:28:54 2018 +0000
Commit:     Nick Sarnie <sarnex <AT> gentoo <DOT> org>
CommitDate: Mon Oct 22 23:35:49 2018 +0000
URL:        https://gitweb.gentoo.org/repo/proj/wine.git/commit/?id=99da2fe4

app-emulation/wine: migrate to new eapi7-ver eclass

Signed-off-by: Rob Walker <bob.mt.wya <AT> gmail.com>

 app-emulation/wine/wine-2.0.ebuild  | 4 ++--
 app-emulation/wine/wine-2.1.ebuild  | 4 ++--
 app-emulation/wine/wine-2.2.ebuild  | 4 ++--
 app-emulation/wine/wine-2.3.ebuild  | 4 ++--
 app-emulation/wine/wine-9999.ebuild | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/app-emulation/wine/wine-2.0.ebuild 
b/app-emulation/wine/wine-2.0.ebuild
index bd2ad3a..99a23d9 100644
--- a/app-emulation/wine/wine-2.0.ebuild
+++ b/app-emulation/wine/wine-2.0.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt 
ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv 
te th tr uk wa zh_CN zh_TW"
 PLOCALE_BACKUP="en"
 
-inherit autotools eutils fdo-mime flag-o-matic gnome2-utils l10n multilib 
multilib-minimal pax-utils toolchain-funcs virtualx versionator
+inherit autotools eapi7-ver eutils fdo-mime flag-o-matic gnome2-utils l10n 
multilib multilib-minimal pax-utils toolchain-funcs virtualx
 
 if [[ ${PV} == "9999" ]] ; then
        EGIT_REPO_URI="git://source.winehq.org/git/wine.git 
http://source.winehq.org/git/wine.git";
@@ -15,7 +15,7 @@ if [[ ${PV} == "9999" ]] ; then
        SRC_URI=""
        #KEYWORDS=""
 else
-       MAJOR_V=$(get_version_component_range 1-2)
+       MAJOR_V=$(ver_cut 1-2)
        SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}/${P}.tar.bz2";
        KEYWORDS="-* amd64 x86 ~x86-fbsd"
 fi

diff --git a/app-emulation/wine/wine-2.1.ebuild 
b/app-emulation/wine/wine-2.1.ebuild
index 73cfefe..c0a183e 100644
--- a/app-emulation/wine/wine-2.1.ebuild
+++ b/app-emulation/wine/wine-2.1.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt 
ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv 
te th tr uk wa zh_CN zh_TW"
 PLOCALE_BACKUP="en"
 
-inherit autotools eutils fdo-mime flag-o-matic gnome2-utils l10n multilib 
multilib-minimal pax-utils toolchain-funcs virtualx versionator
+inherit autotools eapi7-ver eutils fdo-mime flag-o-matic gnome2-utils l10n 
multilib multilib-minimal pax-utils toolchain-funcs virtualx
 
 if [[ ${PV} == "9999" ]] ; then
        EGIT_REPO_URI="git://source.winehq.org/git/wine.git 
http://source.winehq.org/git/wine.git";
@@ -15,7 +15,7 @@ if [[ ${PV} == "9999" ]] ; then
        SRC_URI=""
        #KEYWORDS=""
 else
-       MAJOR_V=$(get_version_component_range 1)
+       MAJOR_V=$(ver_cut 1)
        SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${P}.tar.xz";
        KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
 fi

diff --git a/app-emulation/wine/wine-2.2.ebuild 
b/app-emulation/wine/wine-2.2.ebuild
index 73cfefe..c0a183e 100644
--- a/app-emulation/wine/wine-2.2.ebuild
+++ b/app-emulation/wine/wine-2.2.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt 
ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv 
te th tr uk wa zh_CN zh_TW"
 PLOCALE_BACKUP="en"
 
-inherit autotools eutils fdo-mime flag-o-matic gnome2-utils l10n multilib 
multilib-minimal pax-utils toolchain-funcs virtualx versionator
+inherit autotools eapi7-ver eutils fdo-mime flag-o-matic gnome2-utils l10n 
multilib multilib-minimal pax-utils toolchain-funcs virtualx
 
 if [[ ${PV} == "9999" ]] ; then
        EGIT_REPO_URI="git://source.winehq.org/git/wine.git 
http://source.winehq.org/git/wine.git";
@@ -15,7 +15,7 @@ if [[ ${PV} == "9999" ]] ; then
        SRC_URI=""
        #KEYWORDS=""
 else
-       MAJOR_V=$(get_version_component_range 1)
+       MAJOR_V=$(ver_cut 1)
        SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${P}.tar.xz";
        KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
 fi

diff --git a/app-emulation/wine/wine-2.3.ebuild 
b/app-emulation/wine/wine-2.3.ebuild
index 73cfefe..c0a183e 100644
--- a/app-emulation/wine/wine-2.3.ebuild
+++ b/app-emulation/wine/wine-2.3.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt 
ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv 
te th tr uk wa zh_CN zh_TW"
 PLOCALE_BACKUP="en"
 
-inherit autotools eutils fdo-mime flag-o-matic gnome2-utils l10n multilib 
multilib-minimal pax-utils toolchain-funcs virtualx versionator
+inherit autotools eapi7-ver eutils fdo-mime flag-o-matic gnome2-utils l10n 
multilib multilib-minimal pax-utils toolchain-funcs virtualx
 
 if [[ ${PV} == "9999" ]] ; then
        EGIT_REPO_URI="git://source.winehq.org/git/wine.git 
http://source.winehq.org/git/wine.git";
@@ -15,7 +15,7 @@ if [[ ${PV} == "9999" ]] ; then
        SRC_URI=""
        #KEYWORDS=""
 else
-       MAJOR_V=$(get_version_component_range 1)
+       MAJOR_V=$(ver_cut 1)
        SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${P}.tar.xz";
        KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
 fi

diff --git a/app-emulation/wine/wine-9999.ebuild 
b/app-emulation/wine/wine-9999.ebuild
index e176a78..a872411 100644
--- a/app-emulation/wine/wine-9999.ebuild
+++ b/app-emulation/wine/wine-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt 
ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv 
te th tr uk wa zh_CN zh_TW"
 PLOCALE_BACKUP="en"
 
-inherit autotools eutils fdo-mime flag-o-matic gnome2-utils l10n multilib 
multilib-minimal pax-utils toolchain-funcs virtualx versionator
+inherit autotools eapi7-ver eutils fdo-mime flag-o-matic gnome2-utils l10n 
multilib multilib-minimal pax-utils toolchain-funcs virtualx
 
 if [[ ${PV} == "9999" ]] ; then
        EGIT_REPO_URI="git://source.winehq.org/git/wine.git 
http://source.winehq.org/git/wine.git";
@@ -15,7 +15,7 @@ if [[ ${PV} == "9999" ]] ; then
        SRC_URI=""
        #KEYWORDS=""
 else
-       MAJOR_V=$(get_version_component_range 1)
+       MAJOR_V=$(ver_cut 1)
        SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${P}.tar.xz";
        KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
 fi

Reply via email to