From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 538F4139337 for ; Tue, 27 Jul 2021 14:23:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96BA9E08F9; Tue, 27 Jul 2021 14:23:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3040BE08F9 for ; Tue, 27 Jul 2021 14:23:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DC008342C3F for ; Tue, 27 Jul 2021 14:23:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 29A617CB for ; Tue, 27 Jul 2021 14:23:01 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1627395722.bafc6bc7fd2d41bd5452c85fc7cc6bb398be4a45.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/lua-single.eclass X-VCS-Directories: eclass/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: bafc6bc7fd2d41bd5452c85fc7cc6bb398be4a45 X-VCS-Branch: master Date: Tue, 27 Jul 2021 14:23:01 +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: 64182dca-e1e8-477a-befb-5bce930a855f X-Archives-Hash: 3b0bc62e91f5c5491e6cc9244966432b commit: bafc6bc7fd2d41bd5452c85fc7cc6bb398be4a45 Author: Marek Szuba gentoo org> AuthorDate: Fri Jul 23 22:56:10 2021 +0000 Commit: Marek Szuba gentoo org> CommitDate: Tue Jul 27 14:22:02 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bafc6bc7 lua-single.eclass: consider historical impls in _lua_verify_patterns() This is so that lua_gen_foo() calls die on mentions of formerly supported implementations, allowing for such mentions to be gradually removed from ebuilds which contain them. Signed-off-by: Marek Szuba gentoo.org> eclass/lua-single.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/lua-single.eclass b/eclass/lua-single.eclass index ab4fdb3c75a..f55c3f80948 100644 --- a/eclass/lua-single.eclass +++ b/eclass/lua-single.eclass @@ -348,7 +348,7 @@ _lua_verify_patterns() { local impl pattern for pattern; do - for impl in "${_LUA_ALL_IMPLS[@]}"; do + for impl in "${_LUA_ALL_IMPLS[@]}" "${_LUA_HISTORICAL_IMPLS[@]}"; do [[ ${impl} == ${pattern/./-} ]] && continue 2 done