sys-devel/autoconf: Update live ebuild to EAPI 6
authorDavid Seifert <soap@gentoo.org>
Wed, 17 Jan 2018 23:31:19 +0000 (00:31 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Thu, 18 Jan 2018 09:40:32 +0000 (10:40 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

sys-devel/autoconf/autoconf-9999.ebuild

index 9495cddbedd91d95ce618695ba11ccf91464d1ac..82ed3494918b2ff4c0a38553fa4910e1d18a566f 100644 (file)
@@ -1,14 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=6
 
 if [[ ${PV} == "9999" ]] ; then
-       EGIT_REPO_URI="git://git.savannah.gnu.org/${PN}.git
-               http://git.savannah.gnu.org/r/${PN}.git"
-       # We need all the tags in order to figure out the right version.
-       # The git-r3 eclass doesn't support that, so have to stick to 2.
-       inherit git-2
+       EGIT_REPO_URI="https://git.savannah.gnu.org/git/autoconf.git"
+       inherit git-r3
 else
        SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
                ftp://alpha.gnu.org/pub/gnu/${PN}/${P}.tar.xz"
@@ -36,7 +33,7 @@ src_prepare() {
        # Avoid the "dirty" suffix in the git version by generating it
        # before we run later stages which might modify source files.
        local ver=$(./build-aux/git-version-gen .tarball-version)
-       echo "${ver}" > .tarball-version
+       echo "${ver}" > .tarball-version || die
 
        autoreconf -f -i || die