From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2EFC71582EF for ; Mon, 17 Feb 2025 21:52:50 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 1768834168D for ; Mon, 17 Feb 2025 21:52:50 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 07DA01103A8; Mon, 17 Feb 2025 21:52:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id F21D11103A8 for ; Mon, 17 Feb 2025 21:52:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A6D37340DE6 for ; Mon, 17 Feb 2025 21:52:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 107CA1236 for ; Mon, 17 Feb 2025 21:52:47 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1739829140.e914e98d160c0fe6945bb576f59c3fd427e8028c.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/autotools.eclass X-VCS-Directories: eclass/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: e914e98d160c0fe6945bb576f59c3fd427e8028c X-VCS-Branch: master Date: Mon, 17 Feb 2025 21:52:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2582ab42-8c10-4217-bc03-41e22d4d10a0 X-Archives-Hash: bef46ff5635cc41d2ee04d71f7866ce3 commit: e914e98d160c0fe6945bb576f59c3fd427e8028c Author: Mike Gilbert gentoo org> AuthorDate: Fri Jan 17 18:57:02 2025 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Mon Feb 17 21:52:20 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e914e98d autotools.eclass: simplify WANT_AUTOCONF logic Update WANT_AUTOMAKE atoms to match. Drop 2.71 from _LATEST_AUTOCONF since 2.72 is stable. Closes: https://bugs.gentoo.org/948125 Signed-off-by: Mike Gilbert gentoo.org> eclass/autotools.eclass | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index 518f6addcc50..a36b6ba859be 100644 --- a/eclass/autotools.eclass +++ b/eclass/autotools.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: autotools.eclass @@ -71,7 +71,7 @@ inherit gnuconfig libtool # Do NOT change this variable in your ebuilds! # If you want to force a newer minor version, you can specify the correct # WANT value by using a colon: : -_LATEST_AUTOCONF=( 2.72-r1:2.72 2.71-r6:2.71 ) +_LATEST_AUTOCONF=( 2.72-r1:2.72 ) # @ECLASS_VARIABLE: _LATEST_AUTOMAKE # @INTERNAL @@ -109,14 +109,13 @@ if [[ -n ${WANT_AUTOMAKE} ]] ; then unset _automake_atom_tmp ;; *) - _automake_atom="=dev-build/automake-${WANT_AUTOMAKE}*" + _automake_atom="dev-build/automake:${WANT_AUTOMAKE}" ;; esac export WANT_AUTOMAKE fi if [[ -n ${WANT_AUTOCONF} ]] ; then - # TODO: Fix the slot mess here and just have proper PV-as-SLOT? # TODO: Make _LATEST_AUTOCONF an assoc. array and instead iterate over # its keys. case ${WANT_AUTOCONF} in @@ -124,25 +123,13 @@ if [[ -n ${WANT_AUTOCONF} ]] ; then # some packages don't require autoconf at all _autoconf_atom="" ;; - 2.1) - _autoconf_atom=">=dev-build/autoconf-2.13-r7:2.1" - ;; - 2.5) - _autoconf_atom=">=dev-build/autoconf-2.71-r6:2.71" - ;; - 2.69) - _autoconf_atom=">=dev-build/autoconf-2.69-r9:2.69" - ;; - 2.71) - _autoconf_atom=">=dev-build/autoconf-2.71-r6:2.71" - ;; latest) printf -v _autoconf_atom_tmp '>=dev-build/autoconf-%s:%s ' ${_LATEST_AUTOCONF[@]/:/ } _autoconf_atom="|| ( ${_autoconf_atom_tmp} )" unset _autoconf_atom_tmp ;; *) - die "Invalid WANT_AUTOCONF value '${WANT_AUTOCONF}'" + _autoconf_atom="dev-build/autoconf:${WANT_AUTOCONF}" ;; esac export WANT_AUTOCONF