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 6E58F15815E for ; Sun, 11 Feb 2024 10:31:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65643E29BA; Sun, 11 Feb 2024 10:31:55 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 46E29E29BA for ; Sun, 11 Feb 2024 10:31:55 +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 5F74634313D for ; Sun, 11 Feb 2024 10:31:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A014E14D0 for ; Sun, 11 Feb 2024 10:31:50 +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: <1707647434.90016a8aba0de9114f1b1b5834a99eeeacabb508.flow@gentoo> Subject: [gentoo-commits] proj/tex:main commit in: / X-VCS-Repository: proj/tex X-VCS-Files: populate-distdir X-VCS-Directories: / X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 90016a8aba0de9114f1b1b5834a99eeeacabb508 X-VCS-Branch: main Date: Sun, 11 Feb 2024 10:31:50 +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: 2fa9fd84-7809-4728-b84c-0e8529b3de4c X-Archives-Hash: c93db227ef6e7a39603aed4e94cbc7d7 commit: 90016a8aba0de9114f1b1b5834a99eeeacabb508 Author: Florian Schmaus gentoo org> AuthorDate: Sun Feb 11 10:16:48 2024 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Sun Feb 11 10:30:34 2024 +0000 URL: https://gitweb.gentoo.org/proj/tex.git/commit/?id=90016a8a populate-distdir: improve, download doc and source too Signed-off-by: Florian Schmaus gentoo.org> populate-distdir | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/populate-distdir b/populate-distdir index 75e4042..7f805f5 100755 --- a/populate-distdir +++ b/populate-distdir @@ -3,14 +3,18 @@ set -euo pipefail SCRIPT_DIR=$(cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd) -: ${TEX_OVERLAY_PATH:=$(portageq get_repo_path / tex-overlay) -: ${DISTDIR:="${SCRIPT_DIR}/distdir"} +: "${TEX_OVERLAY_PATH:=$(portageq get_repo_path / tex-overlay)}" +: "${DISTDIR:=$(portageq distdir)}" if [[ ! -d "${DISTDIR}" ]]; then mkdir "${DISTDIR}" + # https://bford.info/cachedir/ + echo "Signature: 8a477f597d28d172789f06886806bc55" > "${DISTDIR}/CACHEDIR.TAG" fi export DISTDIR +export USE="doc source" + find "${TEX_OVERLAY_PATH}" -type f -name '*.ebuild' -print0 |\ xargs --null -I {} ebuild {} manifest fetch