From: Sergei Trofimovich Date: Fri, 8 Nov 2019 23:55:07 +0000 (+0000) Subject: sys-devel/binutils: update live ebuild to EAPI=7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4ba7ea61625be6c78cc4e76b4110b0e0a6471e0b;p=gentoo.git sys-devel/binutils: update live ebuild to EAPI=7 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich --- diff --git a/sys-devel/binutils/binutils-2.33.1.ebuild b/sys-devel/binutils/binutils-2.33.1.ebuild index e4e5fd60e822..e7f493b2b0e2 100644 --- a/sys-devel/binutils/binutils-2.33.1.ebuild +++ b/sys-devel/binutils/binutils-2.33.1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit eutils libtool flag-o-matic gnuconfig multilib versionator +inherit eutils libtool flag-o-matic gnuconfig multilib DESCRIPTION="Tools necessary to build programs" HOMEPAGE="https://sourceware.org/binutils/" @@ -36,13 +36,13 @@ case ${PV} in inherit git-r3 S=${WORKDIR}/binutils EGIT_CHECKOUT_DIR=${S} - EGIT_BRANCH=$(get_version_component_range 1-2) + EGIT_BRANCH=$(ver_cut 1-2) EGIT_BRANCH="binutils-${EGIT_BRANCH/./_}-branch" - SLOT=$(get_version_component_range 1-2) + SLOT=$(ver_cut 1-2) ;; *) SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.xz" - SLOT=$(get_version_component_range 1-2) + SLOT=$(ver_cut 1-2) ;; esac diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild index ac40bd24d645..ef0da89a59f5 100644 --- a/sys-devel/binutils/binutils-9999.ebuild +++ b/sys-devel/binutils/binutils-9999.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit eutils libtool flag-o-matic gnuconfig multilib versionator +inherit eutils libtool flag-o-matic gnuconfig multilib DESCRIPTION="Tools necessary to build programs" HOMEPAGE="https://sourceware.org/binutils/" @@ -35,13 +35,13 @@ case ${PV} in inherit git-r3 S=${WORKDIR}/binutils EGIT_CHECKOUT_DIR=${S} - EGIT_BRANCH=$(get_version_component_range 1-2) + EGIT_BRANCH=$(ver_cut 1-2) EGIT_BRANCH="binutils-${EGIT_BRANCH/./_}-branch" - SLOT=$(get_version_component_range 1-2) + SLOT=$(ver_cut 1-2) ;; *) SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.xz" - SLOT=$(get_version_component_range 1-2) + SLOT=$(ver_cut 1-2) ;; esac