Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/autoconf/
Date: Thu, 28 Jan 2021 23:49:48
Message-Id: 1611877780.56227c8be30ea6f3b60e9b6d512ea77f43ab8042.polynomial-c@gentoo
1 commit: 56227c8be30ea6f3b60e9b6d512ea77f43ab8042
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 28 23:45:23 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 28 23:49:40 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56227c8b
7
8 sys-devel/autoconf: Bump to version 2.71
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-devel/autoconf/Manifest | 1 +
14 sys-devel/autoconf/autoconf-2.71.ebuild | 71 +++++++++++++++++++++++++++++++++
15 2 files changed, 72 insertions(+)
16
17 diff --git a/sys-devel/autoconf/Manifest b/sys-devel/autoconf/Manifest
18 index 0a40af81ae8..26d4a38e2e7 100644
19 --- a/sys-devel/autoconf/Manifest
20 +++ b/sys-devel/autoconf/Manifest
21 @@ -4,3 +4,4 @@ DIST autoconf-2.69-runstatedir_patches.tar.xz 257096 BLAKE2B ae765e0ca7fe8261117
22 DIST autoconf-2.69.tar.xz 1214744 BLAKE2B 71d33d72a06e9a05fbed0eda73bc9d8a3805c7c90bf082959862f93f3c5f01192114176e84d84ecb58fa99512eafbc0ab21ad1407be18c8c63bb3dc1117c482d SHA512 995d3e5a8eb1eb37e2b7fae53c6ec7a9b4df997286b7d643344818f94636756b1bf5ff5ea9155e755cb9461149a853dfbf2886fc6bd7132e5afa9c168e306e9b
23 DIST autoconf-2.70-patches-01.tar.xz 27284 BLAKE2B fa4ef923d487f600de98d765d3db23c73cd546f777c19986f9179cbe0e9eb254e3bb4c8107b6ce9f2c1f008b4c72033565711f0d8b63e6538b83ec56a2d75875 SHA512 648604ec24decbc48d281049eca94e7e7146d013c006297d9d9c71b749bd856684b8ab8550ac8961ce506b036ad25b7236dfb5e53114c10edfefbd58ecc55020
24 DIST autoconf-2.70.tar.xz 1346528 BLAKE2B 7a14f966f1fb89a250aedb03d483ab1f92d73a7085bc289094b62984620563922d041e717274270af0afaf52f058b4c6402c1af14cce58d70d5d884414797c80 SHA512 af4af6b8811baa424c00990b368a6cbfb1d598dde9ee08dce2a5fc32cb9517e6e683a59d6852507f6a72d499fc298c4171b6f06962cf3ba40cf1557cfb6069fe
25 +DIST autoconf-2.71.tar.xz 1292296 BLAKE2B 7fd4b98b4cfff10720e8da6ee91045637991643b50fcb3e47a0ecfcc01600f7b7b36fd1c0a5f08b68a418f1bdbd8d5a98de1008157595dd37cc3a31facb61416 SHA512 73d32b4adcbe24e3bafa9f43f59ed3b6efbd3de0f194e5ec90375f35da1199c583f5d3e89139b7edbad35171403709270e339ffa56a2ecb9b3123e9285021ff0
26
27 diff --git a/sys-devel/autoconf/autoconf-2.71.ebuild b/sys-devel/autoconf/autoconf-2.71.ebuild
28 new file mode 100644
29 index 00000000000..e5bc4fffa76
30 --- /dev/null
31 +++ b/sys-devel/autoconf/autoconf-2.71.ebuild
32 @@ -0,0 +1,71 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +if [[ ${PV} == "9999" ]] ; then
39 + EGIT_REPO_URI="https://git.savannah.gnu.org/git/autoconf.git"
40 + inherit git-r3
41 +else
42 + # For _beta handling replace with real version number
43 + MY_PV="${PV}"
44 + MY_P="${PN}-${MY_PV}"
45 + #PATCH_TARBALL_NAME="${PN}-2.70-patches-01"
46 + SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz -> ${P}.tar.xz
47 + https://alpha.gnu.org/pub/gnu/${PN}/${MY_P}.tar.xz -> ${P}.tar.xz"
48 + #SRC_URI+=" https://dev.gentoo.org/~polynomial-c/${PATCH_TARBALL_NAME}.tar.xz"
49 + [[ "${PV}" == *_beta* ]] || \
50 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
51 + S="${WORKDIR}/${MY_P}"
52 +fi
53 +
54 +inherit toolchain-autoconf
55 +
56 +DESCRIPTION="Used to create autoconfiguration files"
57 +HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html"
58 +
59 +LICENSE="GPL-3"
60 +SLOT="${PV/_*}"
61 +IUSE="emacs"
62 +
63 +BDEPEND=">=sys-devel/m4-1.4.16
64 + >=dev-lang/perl-5.6"
65 +RDEPEND="${BDEPEND}
66 + >=sys-devel/autoconf-wrapper-15
67 + sys-devel/gnuconfig
68 + !~sys-devel/${P}:2.5"
69 +[[ ${PV} == "9999" ]] && BDEPEND+=" >=sys-apps/texinfo-4.3"
70 +PDEPEND="emacs? ( app-emacs/autoconf-mode )"
71 +
72 +src_prepare() {
73 + # usr/bin/libtool is provided by binutils-apple, need gnu libtool
74 + if [[ ${CHOST} == *-darwin* ]] ; then
75 + PATCHES+=( "${FILESDIR}"/${PN}-2.61-darwin.patch )
76 + fi
77 +
78 + # Save timestamp to avoid later makeinfo call
79 + touch -r doc/{,old_}autoconf.texi || die
80 +
81 + local pdir
82 + for pdir in "${WORKDIR}"/{upstream_,}patches ; do
83 + if [[ -d "${pdir}" ]] ; then
84 + eapply ${pdir}
85 + fi
86 + done
87 +
88 + toolchain-autoconf_src_prepare
89 +
90 + # Restore timestamp to avoid makeinfo call
91 + # We already have an up to date autoconf.info page at this point.
92 + touch -r doc/{old_,}autoconf.texi || die
93 +}
94 +
95 +src_install() {
96 + default
97 +
98 + local f
99 + for f in config.{guess,sub} ; do
100 + ln -fs ../../gnuconfig/${f} \
101 + "${ED}"/usr/share/autoconf-*/build-aux/${f} || die
102 + done
103 +}