sys-kernel/genkernel: git-2->git-r3, general cleanup.
authorMarty E. Plummer <hanetzer@startmail.com>
Mon, 23 Apr 2018 01:47:18 +0000 (20:47 -0500)
committerRobin H. Johnson <robbat2@gentoo.org>
Mon, 23 Apr 2018 20:37:26 +0000 (13:37 -0700)
Swapped eutils for epatch, as its the only function 'from' eutils
actually used.

Package-Manager: Portage-2.3.31, Repoman-2.3.9
(cherry picked from commit 05f68bebf4b0a8129e5a3b0159972e1f80c453b4)
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/8112

12 files changed:
sys-kernel/genkernel/genkernel-3.4.52.3.ebuild
sys-kernel/genkernel/genkernel-3.4.52.4-r1.ebuild
sys-kernel/genkernel/genkernel-3.4.52.4-r2.ebuild
sys-kernel/genkernel/genkernel-3.5.1.1.ebuild
sys-kernel/genkernel/genkernel-3.5.2.0-r1.ebuild
sys-kernel/genkernel/genkernel-3.5.2.1.ebuild
sys-kernel/genkernel/genkernel-3.5.2.2.ebuild
sys-kernel/genkernel/genkernel-3.5.2.3.ebuild
sys-kernel/genkernel/genkernel-3.5.2.4.ebuild
sys-kernel/genkernel/genkernel-3.5.2.5.ebuild
sys-kernel/genkernel/genkernel-3.5.3.2.ebuild
sys-kernel/genkernel/genkernel-9999.ebuild

index 3ccaa2a85bfe706e1f2c7a549353a12da66dab43..d68852ad3a7da61c704b44dd9f87c8c98376ee1e 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
 
 # genkernel-9999        -> latest Git branch "master"
@@ -6,6 +6,8 @@
 
 EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
 
+inherit bash-completion-r1 epatch
+
 VERSION_BUSYBOX='1.20.2'
 VERSION_DMRAID='1.0.0.rc16-3'
 VERSION_MDADM='3.1.5'
@@ -34,13 +36,11 @@ COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
 
 if [[ ${PV} == 9999* ]]
 then
-       EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
-               https://anongit.gentoo.org/git/proj/${PN}.git"
-       inherit git-2 bash-completion-r1 eutils
-       S="${WORKDIR}/${PN}"
+       EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
+       inherit git-r3
+       S="${WORKDIR}/${P}"
        SRC_URI="${COMMON_URI}"
 else
-       inherit bash-completion-r1 eutils
        SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz
                ${COMMON_URI}"
        KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
@@ -77,14 +77,6 @@ pkg_pretend() {
        fi
 }
 
-src_unpack() {
-       if [[ ${PV} == 9999* ]] ; then
-               git-2_src_unpack
-       else
-               unpack ${P}.tar.xz
-       fi
-}
-
 src_prepare() {
        if [[ ${PV} == 9999* ]] ; then
                einfo "Producing ChangeLog from Git history..."
index 19782837c8b306b082831ae79d2845c23ad34009..c33c583ed95809ea30abee9ad11e6d2175e635ff 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
 
 # genkernel-9999        -> latest Git branch "master"
@@ -6,6 +6,8 @@
 
 EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
 
+inherit bash-completion-r1 epatch
+
 VERSION_BUSYBOX='1.20.2'
 VERSION_DMRAID='1.0.0.rc16-3'
 VERSION_MDADM='3.1.5'
@@ -34,13 +36,11 @@ COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
 
 if [[ ${PV} == 9999* ]]
 then
-       EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
-               https://anongit.gentoo.org/git/proj/${PN}.git"
-       inherit git-2 bash-completion-r1 eutils
-       S="${WORKDIR}/${PN}"
+       EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
+       inherit git-r3
+       S="${WORKDIR}/${P}"
        SRC_URI="${COMMON_URI}"
 else
-       inherit bash-completion-r1 eutils
        SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz
                ${COMMON_URI}"
        KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 s390 ~sh ~sparc ~x86"
@@ -77,14 +77,6 @@ pkg_pretend() {
        fi
 }
 
-src_unpack() {
-       if [[ ${PV} == 9999* ]] ; then
-               git-2_src_unpack
-       else
-               unpack ${P}.tar.xz
-       fi
-}
-
 src_prepare() {
        if [[ ${PV} == 9999* ]] ; then
                einfo "Producing ChangeLog from Git history..."
index 1a919d3d126ff72b7022bbfe122cc7b7ddb38883..017c88e0784761c5f6eff3551990a75c726c55b0 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
 
 # genkernel-9999        -> latest Git branch "master"
@@ -6,6 +6,8 @@
 
 EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
 
+inherit bash-completion-r1 epatch
+
 VERSION_BUSYBOX='1.20.2'
 VERSION_DMRAID='1.0.0.rc16-3'
 VERSION_MDADM='3.1.5'
@@ -34,13 +36,11 @@ COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
 
 if [[ ${PV} == 9999* ]]
 then
-       EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
-               https://anongit.gentoo.org/git/proj/${PN}.git"
-       inherit git-2 bash-completion-r1 eutils
-       S="${WORKDIR}/${PN}"
+       EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
+       inherit git-r3
+       S="${WORKDIR}/${P}"
        SRC_URI="${COMMON_URI}"
 else
-       inherit bash-completion-r1 eutils
        SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz
                ${COMMON_URI}"
        KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
@@ -77,14 +77,6 @@ pkg_pretend() {
        fi
 }
 
-src_unpack() {
-       if [[ ${PV} == 9999* ]] ; then
-               git-2_src_unpack
-       else
-               unpack ${P}.tar.xz
-       fi
-}
-
 src_prepare() {
        if [[ ${PV} == 9999* ]] ; then
                einfo "Producing ChangeLog from Git history..."
index bed5f3fcaea40535fff355b22185fba7b9df0bb6..7dca6926ea2a5e3b4005e26b8cd5974c3d0f4ff4 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
 
 # genkernel-9999        -> latest Git branch "master"
@@ -6,6 +6,8 @@
 
 EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
 
+inherit bash-completion-r1 epatch
+
 VERSION_BUSYBOX='1.26.0'
 VERSION_DMRAID='1.0.0.rc16-3'
 VERSION_MDADM='3.1.5'
@@ -34,13 +36,11 @@ COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
 
 if [[ ${PV} == 9999* ]]
 then
-       EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
-               https://anongit.gentoo.org/git/proj/${PN}.git"
-       inherit git-2 bash-completion-r1 eutils
-       S="${WORKDIR}/${PN}"
+       EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
+       inherit git-r3
+       S="${WORKDIR}/${P}"
        SRC_URI="${COMMON_URI}"
 else
-       inherit bash-completion-r1 eutils
        SRC_URI="mirror://gentoo/${P}.tar.xz
                ${COMMON_URI}"
        KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
@@ -78,14 +78,6 @@ pkg_pretend() {
        fi
 }
 
-src_unpack() {
-       if [[ ${PV} == 9999* ]] ; then
-               git-2_src_unpack
-       else
-               unpack ${P}.tar.xz
-       fi
-}
-
 src_prepare() {
        if [[ ${PV} == 9999* ]] ; then
                einfo "Updating version tag"
index 412593ca904456cfd5ec200d1ff0edf8cde64a8e..a4053e3111180c3af57e888b72edb74e31f982c5 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
 
 # genkernel-9999        -> latest Git branch "master"
@@ -6,6 +6,8 @@
 
 EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
 
+inherit bash-completion-r1 epatch
+
 VERSION_BUSYBOX='1.27.2' # warning, be sure to bump patches
 VERSION_DMRAID='1.0.0.rc16-3' # warning, be sure to bump patches
 VERSION_MDADM='4.0' # warning, be sure to bump patches
@@ -34,13 +36,11 @@ COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
 
 if [[ ${PV} == 9999* ]]
 then
-       EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
-               https://anongit.gentoo.org/git/proj/${PN}.git"
-       inherit git-2 bash-completion-r1 eutils
-       S="${WORKDIR}/${PN}"
+       EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
+       inherit git-r3
+       S="${WORKDIR}/${P}"
        SRC_URI="${COMMON_URI}"
 else
-       inherit bash-completion-r1 eutils
        SRC_URI="mirror://gentoo/${P}.tar.xz
                ${COMMON_URI}"
        KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
@@ -79,14 +79,6 @@ pkg_pretend() {
        fi
 }
 
-src_unpack() {
-       if [[ ${PV} == 9999* ]] ; then
-               git-2_src_unpack
-       else
-               unpack ${P}.tar.xz
-       fi
-}
-
 src_prepare() {
        if [[ ${PV} == 9999* ]] ; then
                einfo "Updating version tag"
index 412593ca904456cfd5ec200d1ff0edf8cde64a8e..a4053e3111180c3af57e888b72edb74e31f982c5 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
 
 # genkernel-9999        -> latest Git branch "master"
@@ -6,6 +6,8 @@
 
 EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
 
+inherit bash-completion-r1 epatch
+
 VERSION_BUSYBOX='1.27.2' # warning, be sure to bump patches
 VERSION_DMRAID='1.0.0.rc16-3' # warning, be sure to bump patches
 VERSION_MDADM='4.0' # warning, be sure to bump patches
@@ -34,13 +36,11 @@ COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
 
 if [[ ${PV} == 9999* ]]
 then
-       EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
-               https://anongit.gentoo.org/git/proj/${PN}.git"
-       inherit git-2 bash-completion-r1 eutils
-       S="${WORKDIR}/${PN}"
+       EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
+       inherit git-r3
+       S="${WORKDIR}/${P}"
        SRC_URI="${COMMON_URI}"
 else
-       inherit bash-completion-r1 eutils
        SRC_URI="mirror://gentoo/${P}.tar.xz
                ${COMMON_URI}"
        KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
@@ -79,14 +79,6 @@ pkg_pretend() {
        fi
 }
 
-src_unpack() {
-       if [[ ${PV} == 9999* ]] ; then
-               git-2_src_unpack
-       else
-               unpack ${P}.tar.xz
-       fi
-}
-
 src_prepare() {
        if [[ ${PV} == 9999* ]] ; then
                einfo "Updating version tag"
index 412593ca904456cfd5ec200d1ff0edf8cde64a8e..a4053e3111180c3af57e888b72edb74e31f982c5 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
 
 # genkernel-9999        -> latest Git branch "master"
@@ -6,6 +6,8 @@
 
 EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
 
+inherit bash-completion-r1 epatch
+
 VERSION_BUSYBOX='1.27.2' # warning, be sure to bump patches
 VERSION_DMRAID='1.0.0.rc16-3' # warning, be sure to bump patches
 VERSION_MDADM='4.0' # warning, be sure to bump patches
@@ -34,13 +36,11 @@ COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
 
 if [[ ${PV} == 9999* ]]
 then
-       EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
-               https://anongit.gentoo.org/git/proj/${PN}.git"
-       inherit git-2 bash-completion-r1 eutils
-       S="${WORKDIR}/${PN}"
+       EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
+       inherit git-r3
+       S="${WORKDIR}/${P}"
        SRC_URI="${COMMON_URI}"
 else
-       inherit bash-completion-r1 eutils
        SRC_URI="mirror://gentoo/${P}.tar.xz
                ${COMMON_URI}"
        KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
@@ -79,14 +79,6 @@ pkg_pretend() {
        fi
 }
 
-src_unpack() {
-       if [[ ${PV} == 9999* ]] ; then
-               git-2_src_unpack
-       else
-               unpack ${P}.tar.xz
-       fi
-}
-
 src_prepare() {
        if [[ ${PV} == 9999* ]] ; then
                einfo "Updating version tag"
index 412593ca904456cfd5ec200d1ff0edf8cde64a8e..a4053e3111180c3af57e888b72edb74e31f982c5 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
 
 # genkernel-9999        -> latest Git branch "master"
@@ -6,6 +6,8 @@
 
 EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
 
+inherit bash-completion-r1 epatch
+
 VERSION_BUSYBOX='1.27.2' # warning, be sure to bump patches
 VERSION_DMRAID='1.0.0.rc16-3' # warning, be sure to bump patches
 VERSION_MDADM='4.0' # warning, be sure to bump patches
@@ -34,13 +36,11 @@ COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
 
 if [[ ${PV} == 9999* ]]
 then
-       EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
-               https://anongit.gentoo.org/git/proj/${PN}.git"
-       inherit git-2 bash-completion-r1 eutils
-       S="${WORKDIR}/${PN}"
+       EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
+       inherit git-r3
+       S="${WORKDIR}/${P}"
        SRC_URI="${COMMON_URI}"
 else
-       inherit bash-completion-r1 eutils
        SRC_URI="mirror://gentoo/${P}.tar.xz
                ${COMMON_URI}"
        KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
@@ -79,14 +79,6 @@ pkg_pretend() {
        fi
 }
 
-src_unpack() {
-       if [[ ${PV} == 9999* ]] ; then
-               git-2_src_unpack
-       else
-               unpack ${P}.tar.xz
-       fi
-}
-
 src_prepare() {
        if [[ ${PV} == 9999* ]] ; then
                einfo "Updating version tag"
index 412593ca904456cfd5ec200d1ff0edf8cde64a8e..a4053e3111180c3af57e888b72edb74e31f982c5 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
 
 # genkernel-9999        -> latest Git branch "master"
@@ -6,6 +6,8 @@
 
 EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
 
+inherit bash-completion-r1 epatch
+
 VERSION_BUSYBOX='1.27.2' # warning, be sure to bump patches
 VERSION_DMRAID='1.0.0.rc16-3' # warning, be sure to bump patches
 VERSION_MDADM='4.0' # warning, be sure to bump patches
@@ -34,13 +36,11 @@ COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
 
 if [[ ${PV} == 9999* ]]
 then
-       EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
-               https://anongit.gentoo.org/git/proj/${PN}.git"
-       inherit git-2 bash-completion-r1 eutils
-       S="${WORKDIR}/${PN}"
+       EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
+       inherit git-r3
+       S="${WORKDIR}/${P}"
        SRC_URI="${COMMON_URI}"
 else
-       inherit bash-completion-r1 eutils
        SRC_URI="mirror://gentoo/${P}.tar.xz
                ${COMMON_URI}"
        KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
@@ -79,14 +79,6 @@ pkg_pretend() {
        fi
 }
 
-src_unpack() {
-       if [[ ${PV} == 9999* ]] ; then
-               git-2_src_unpack
-       else
-               unpack ${P}.tar.xz
-       fi
-}
-
 src_prepare() {
        if [[ ${PV} == 9999* ]] ; then
                einfo "Updating version tag"
index 412593ca904456cfd5ec200d1ff0edf8cde64a8e..a4053e3111180c3af57e888b72edb74e31f982c5 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
 
 # genkernel-9999        -> latest Git branch "master"
@@ -6,6 +6,8 @@
 
 EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
 
+inherit bash-completion-r1 epatch
+
 VERSION_BUSYBOX='1.27.2' # warning, be sure to bump patches
 VERSION_DMRAID='1.0.0.rc16-3' # warning, be sure to bump patches
 VERSION_MDADM='4.0' # warning, be sure to bump patches
@@ -34,13 +36,11 @@ COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
 
 if [[ ${PV} == 9999* ]]
 then
-       EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
-               https://anongit.gentoo.org/git/proj/${PN}.git"
-       inherit git-2 bash-completion-r1 eutils
-       S="${WORKDIR}/${PN}"
+       EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
+       inherit git-r3
+       S="${WORKDIR}/${P}"
        SRC_URI="${COMMON_URI}"
 else
-       inherit bash-completion-r1 eutils
        SRC_URI="mirror://gentoo/${P}.tar.xz
                ${COMMON_URI}"
        KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
@@ -79,14 +79,6 @@ pkg_pretend() {
        fi
 }
 
-src_unpack() {
-       if [[ ${PV} == 9999* ]] ; then
-               git-2_src_unpack
-       else
-               unpack ${P}.tar.xz
-       fi
-}
-
 src_prepare() {
        if [[ ${PV} == 9999* ]] ; then
                einfo "Updating version tag"
index 3e7468aabcfdd16b8d6f1a787a3df9825c72967b..8f31925c7a060366767dfdf2b460d199b6eac6f8 100644 (file)
@@ -6,6 +6,8 @@
 
 EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
 
+inherit bash-completion-r1 epatch
+
 VERSION_BUSYBOX='1.27.2' # warning, be sure to bump patches
 VERSION_DMRAID='1.0.0.rc16-3' # warning, be sure to bump patches
 VERSION_MDADM='4.0' # warning, be sure to bump patches
@@ -34,13 +36,11 @@ COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
 
 if [[ ${PV} == 9999* ]]
 then
-       EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
-               https://anongit.gentoo.org/git/proj/${PN}.git"
-       inherit git-2 bash-completion-r1 eutils
+       EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
+       inherit git-r3
        S="${WORKDIR}/${PN}"
        SRC_URI="${COMMON_URI}"
 else
-       inherit bash-completion-r1 eutils
        SRC_URI="mirror://gentoo/${P}.tar.xz
                ${COMMON_URI}"
        KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
@@ -79,14 +79,6 @@ pkg_pretend() {
        fi
 }
 
-src_unpack() {
-       if [[ ${PV} == 9999* ]] ; then
-               git-2_src_unpack
-       else
-               unpack ${P}.tar.xz
-       fi
-}
-
 src_prepare() {
        if [[ ${PV} == 9999* ]] ; then
                einfo "Updating version tag"
index 412593ca904456cfd5ec200d1ff0edf8cde64a8e..a4053e3111180c3af57e888b72edb74e31f982c5 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
 
 # genkernel-9999        -> latest Git branch "master"
@@ -6,6 +6,8 @@
 
 EAPI=5 # approved 2012.09.11, required by all profiles since 2014.03.12
 
+inherit bash-completion-r1 epatch
+
 VERSION_BUSYBOX='1.27.2' # warning, be sure to bump patches
 VERSION_DMRAID='1.0.0.rc16-3' # warning, be sure to bump patches
 VERSION_MDADM='4.0' # warning, be sure to bump patches
@@ -34,13 +36,11 @@ COMMON_URI="${DM_HOME}/dmraid-${VERSION_DMRAID}.tar.bz2
 
 if [[ ${PV} == 9999* ]]
 then
-       EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git
-               https://anongit.gentoo.org/git/proj/${PN}.git"
-       inherit git-2 bash-completion-r1 eutils
-       S="${WORKDIR}/${PN}"
+       EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
+       inherit git-r3
+       S="${WORKDIR}/${P}"
        SRC_URI="${COMMON_URI}"
 else
-       inherit bash-completion-r1 eutils
        SRC_URI="mirror://gentoo/${P}.tar.xz
                ${COMMON_URI}"
        KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
@@ -79,14 +79,6 @@ pkg_pretend() {
        fi
 }
 
-src_unpack() {
-       if [[ ${PV} == 9999* ]] ; then
-               git-2_src_unpack
-       else
-               unpack ${P}.tar.xz
-       fi
-}
-
 src_prepare() {
        if [[ ${PV} == 9999* ]] ; then
                einfo "Updating version tag"