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 0CCE315852A for ; Wed, 21 Aug 2024 05:45:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4753EE2A54; Wed, 21 Aug 2024 05:45:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 33224E2A54 for ; Wed, 21 Aug 2024 05:45:49 +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 65E27335CAF for ; Wed, 21 Aug 2024 05:45:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A3D3E15A1 for ; Wed, 21 Aug 2024 05:45:46 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1724219098.b075dce8596ea3dce23758125de7e291f8de7d4a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/sh/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/sh/Manifest dev-util/sh/sh-3.9.0.ebuild X-VCS-Directories: dev-util/sh/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b075dce8596ea3dce23758125de7e291f8de7d4a X-VCS-Branch: master Date: Wed, 21 Aug 2024 05:45: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: 57549714-91c6-40ba-9c1c-7d2905abea7a X-Archives-Hash: 37a1a2cf136066d9db0cec1b1cfdb982 commit: b075dce8596ea3dce23758125de7e291f8de7d4a Author: Sam James gentoo org> AuthorDate: Wed Aug 21 05:44:58 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Aug 21 05:44:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b075dce8 dev-util/sh: add 3.9.0 Signed-off-by: Sam James gentoo.org> dev-util/sh/Manifest | 2 ++ dev-util/sh/sh-3.9.0.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-util/sh/Manifest b/dev-util/sh/Manifest index d83812ede7c3..e724fc45efef 100644 --- a/dev-util/sh/Manifest +++ b/dev-util/sh/Manifest @@ -2,3 +2,5 @@ DIST sh-3.7.0-deps.tar.xz 9776560 BLAKE2B 2376bba34d0b57897f748ce277b8c40da2ac98 DIST sh-3.7.0.tar.gz 219380 BLAKE2B 5de1f5576f3e92f5cc892da730b62640b0922f879005e844b3e0b0d84a4e8f1a5f76e89c53152dd3de11c67da20411c5bddd44627ab31b66a72f950b1bf03393 SHA512 5869b68d4bb59907ff7543019e02e8e1efee5963475763b2b2daf0b1ef8621d919d54978a50e52d865b5b76b188c821fecb673e6a9ce42b30cd9907a020e6387 DIST sh-3.8.0-deps.tar.xz 3129756 BLAKE2B e8a7a6f4a699b55d2b2533065ff0030777fddcb444606889cbf0b811715e89af8f97fb28d1ed71e8bb9ee07517cf71930c03151c2f102c316902e6b55141ee85 SHA512 1bb8776d308aea471051002ba2c426d6a59b354e3615561e33f42938c55472e402b037651db8307d593be0489df30a0d99be3a4e0d75972a85266facebdab32e DIST sh-3.8.0.tar.gz 221631 BLAKE2B b2235c88d2601c0c223b8bc55682ee7490da7bf97696fdf3fa32787e5ef123bf4072e281daf29851695b590fe93f7bf180b03558974ad726fab10f799881ec92 SHA512 fbeba1883f9458c480663c31d51beaffb780205f5251cae956f6582d494109e21e062e444f7436db220fb647e833ec48498fa1f75daa7fa7ec88ba1f564d4213 +DIST sh-3.9.0-deps.tar.xz 3099656 BLAKE2B 8ec6608ba97825e9d4589978c76464777c276d02a56d5a27e08469aaa88791e42e633618c6b01025c981e3ef4f819e27cd155765b7dce9547561ceb33dbd57f7 SHA512 78412277e7882b8d68adbc71011646e0b189371bd6e033ed783c4ee7bf48fce5249c5e6fc25b6c700634a000053b92b2e8fb2ebebeb7e8285183e59880fba74e +DIST sh-3.9.0.tar.gz 224822 BLAKE2B b20e46fdc6db39efe54434a455dbd407af63e9b48dd616a895215047990ffcc42e0fabfd93607a0c4f5f50c64cc789616dfb5c8e685443451091cf2b99c7e64e SHA512 8e1ca255223d34fc5cdf8141b99029f1da5e3cdfdaea0c9838d68ed0eb9418b5bf7d363332919a632592c3d433fc40f1ae0b4df6bbfb20ff62d857325c4f10bf diff --git a/dev-util/sh/sh-3.9.0.ebuild b/dev-util/sh/sh-3.9.0.ebuild new file mode 100644 index 000000000000..6aa0a0969770 --- /dev/null +++ b/dev-util/sh/sh-3.9.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="A shell parser, formatter, and interpreter with bash support" +HOMEPAGE="https://github.com/mvdan/sh" +SRC_URI="https://github.com/mvdan/sh/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz" +S="${WORKDIR}/${PN//fmt/}-${PV}" + +LICENSE="Apache-2.0 BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +BDEPEND="app-text/scdoc" + +src_compile() { + # Not bothering with gosh for now as it's very new + # https://github.com/mvdan/sh#gosh + ego build ./cmd/shfmt + scdoc shfmt.1 || die "conversation of man page failed" +} + +src_test() { + cd syntax || die + ego test -run=- +} + +src_install() { + dobin shfmt + doman shfmt.1 +}