app-emulation/xen: update inherit lines and use git-r3
authorDoug Goldstein <cardoe@gentoo.org>
Sun, 6 Dec 2015 05:00:03 +0000 (23:00 -0600)
committerDoug Goldstein <cardoe@gentoo.org>
Sun, 6 Dec 2015 05:35:02 +0000 (23:35 -0600)
Move the inherit lines back up near the top and switch to using git-r3
for the live version.

Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
app-emulation/xen/xen-4.6.0-r2.ebuild

index 337751158d499cb271ac9c6bcf701b5a431eca8a..f3d1b62bed9b5c44c731b8dd5f42ceed7070e873 100644 (file)
@@ -6,13 +6,16 @@ EAPI=5
 
 PYTHON_COMPAT=( python2_7 )
 
+inherit eutils mount-boot flag-o-matic python-any-r1 toolchain-funcs
+
 MY_PV=${PV/_/-}
 MY_P=${PN}-${PV/_/-}
 
 if [[ $PV == *9999 ]]; then
+       inherit git-r3
        KEYWORDS=""
-       EGIT_REPO_URI="git://xenbits.xen.org/${PN}.git"
-       live_eclass="git-2"
+       EGIT_REPO_URI="git://xenbits.xen.org/xen.git"
+       SRC_URI=""
 else
        KEYWORDS="~amd64 ~arm ~arm64 -x86"
        UPSTREAM_VER=0
@@ -32,8 +35,6 @@ else
                https://dev.gentoo.org/~idella4/distfiles/${PN}-security-patches.tar.gz"
 fi
 
-inherit mount-boot flag-o-matic python-any-r1 toolchain-funcs eutils ${live_eclass}
-
 DESCRIPTION="The Xen virtual machine monitor"
 HOMEPAGE="http://xen.org/"
 LICENSE="GPL-2"