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 A6ADD15802E for ; Tue, 2 Jul 2024 09:47:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E9B00E2A47; Tue, 2 Jul 2024 09:47:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 C98D4E2A47 for ; Tue, 2 Jul 2024 09:47: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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 079C9335C0D for ; Tue, 2 Jul 2024 09:47:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 926271BC0 for ; Tue, 2 Jul 2024 09:47:46 +0000 (UTC) From: "Petr Vaněk" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Petr Vaněk" Message-ID: <1719913605.a877d8061c001c557e78c6ee60254e6457b793eb.arkamar@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/entr/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/entr/Manifest app-admin/entr/entr-5.6.ebuild X-VCS-Directories: app-admin/entr/ X-VCS-Committer: arkamar X-VCS-Committer-Name: Petr Vaněk X-VCS-Revision: a877d8061c001c557e78c6ee60254e6457b793eb X-VCS-Branch: master Date: Tue, 2 Jul 2024 09:47:46 +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: 164df786-a472-4f46-9057-49ae33a18bb2 X-Archives-Hash: ebc9bc6cc7bd808a0d4682da2ef537bc commit: a877d8061c001c557e78c6ee60254e6457b793eb Author: Petr Vaněk gentoo org> AuthorDate: Tue Jul 2 08:16:16 2024 +0000 Commit: Petr Vaněk gentoo org> CommitDate: Tue Jul 2 09:46:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a877d806 app-admin/entr: add 5.6 Entr newly supports status filter [1,2], which can be enabled by -x or -xx parameters. Filtering is done by /usr/bin/awk spawned on background. Entr additionally passes the -S parameter to awk (in order to enable sandboxing) if the filter is enabled by -x. However, the -S parameter seems to be available only in gawk and tests cover the sandbox feature, therefore /usr/bin/awk must point to gawk, which is the reason why app-alternatives/awk[gawk] was added to BDEPEND. [1] https://github.com/eradman/entr/pull/141 [2] http://eradman.com/entrproject/status-filters.html Signed-off-by: Petr Vaněk gentoo.org> app-admin/entr/Manifest | 1 + app-admin/entr/entr-5.6.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/app-admin/entr/Manifest b/app-admin/entr/Manifest index 4d3e78c93ae2..db19310fb362 100644 --- a/app-admin/entr/Manifest +++ b/app-admin/entr/Manifest @@ -1 +1,2 @@ DIST entr-5.5.tar.gz 21225 BLAKE2B 8a160894220b63c510fe432a033ba7770e8811da4c5d642391a61a11ca1865293675bc3adbb505b70da9d01b258c27770bc07fad18de7a993e172b2b1214df9b SHA512 5150744142cf1639289c2d845cf8cd3cbc0ef57fce8285bc0e2908c430d8344659ff064810e175e69bd8a6f06144734b2efa4d733e0fba7fec83a1f48d053a0d +DIST entr-5.6.tar.gz 23370 BLAKE2B 52b2e2d49d550c7ba82199cc70500598c50809136bc9bed881174ab59806802ac09cf7ff32f0476eeb66ee9fdb87bef72dbf28bfd4495f0301ee80809800dbfa SHA512 9c65449b6fd7e172fde23a6d4d776b6fdbcec210ef54234db0af056e481acd11f53f9b25432a278435943bd998be734fcd997b5debdcace58112ac99d103f653 diff --git a/app-admin/entr/entr-5.6.ebuild b/app-admin/entr/entr-5.6.ebuild new file mode 100644 index 000000000000..e7f905243699 --- /dev/null +++ b/app-admin/entr/entr-5.6.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo toolchain-funcs + +DESCRIPTION="Run arbitrary commands when files change" +HOMEPAGE=" + https://eradman.com/entrproject/ + https://github.com/eradman/entr +" +SRC_URI="https://eradman.com/entrproject/code/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + app-alternatives/awk[gawk] + app-editors/vim + app-misc/tmux + dev-vcs/git + sys-apps/file + ) +" + +src_configure() { + tc-export CC + export PREFIX="${EPREFIX}/usr" + export SHELL="${BROOT}/bin/bash" + export TMUX_TMPDIR="${T}" + + edo ./configure +}