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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D416F158064 for ; Thu, 2 May 2024 17:45:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1329CE2A2B; Thu, 2 May 2024 17:45:34 +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 pigeon.gentoo.org (Postfix) with ESMTPS id EA7EAE2A2B for ; Thu, 2 May 2024 17:45:33 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E1FE833BF08 for ; Thu, 2 May 2024 17:45:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A9361979 for ; Thu, 2 May 2024 17:45:31 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1714671928.b40da5fa4427360df77633ea7ea1890057235c92.flow@gentoo> Subject: [gentoo-commits] proj/tex-overlay:main commit in: eclass/ X-VCS-Repository: proj/tex-overlay X-VCS-Files: eclass/texlive-module.eclass X-VCS-Directories: eclass/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: b40da5fa4427360df77633ea7ea1890057235c92 X-VCS-Branch: main Date: Thu, 2 May 2024 17:45:31 +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: 50ed6806-1ab7-46bf-a2bc-bff12ac4d36a X-Archives-Hash: f713ad9e095bb7eabd54f5d5dbe28106 commit: b40da5fa4427360df77633ea7ea1890057235c92 Author: Florian Schmaus gentoo org> AuthorDate: Thu May 2 17:45:28 2024 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Thu May 2 17:45:28 2024 +0000 URL: https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=b40da5fa texlive-module.eclass: sync with ::gentoo Signed-off-by: Florian Schmaus gentoo.org> eclass/texlive-module.eclass | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index b02b2b8..da33e25 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive-module.eclass @@ -523,19 +523,23 @@ texlive-module_src_install() { xetex.1 xml2pmx.1 ) + local f local grep_expressions=() + # Transform texlive_core_man_pages into grep expressions + # that will be used to filter out any man page that is + # already installed by app-text/texlive-core. for f in "${texlive_core_man_pages[@]}"; do # Ensure that all dots are escaped so that they are - # matched lilterarily. Also wrap the file in '/' and '$' + # matched literarily. Also wrap the file in '/' and '$' # within the expression. - grep_expressions+=(-e "/${f//./\\.}$") + grep_expressions+=(-e "/${f//./\\.}\$") done ebegin "Installing man pages" find texmf-dist/doc/man -type f -name '*.[0-9n]' -print | grep -v "${grep_expressions[@]}" | xargs -d '\n' --no-run-if-empty doman - nonfatal assert -n + [[ "${PIPESTATUS[*]}" =~ ^0(" 0")*$ ]] eend $? || die "error installing man pages" # Delete all man pages under texmf-dist/doc/man