From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 79B3A15808A for ; Wed, 06 Aug 2025 05:21:45 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 487E633BEE9 for ; Wed, 06 Aug 2025 05:21:45 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 4E04711036D; Wed, 06 Aug 2025 05:21:44 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 4752711036D for ; Wed, 06 Aug 2025 05:21:44 +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 F1E0D33BEE9 for ; Wed, 06 Aug 2025 05:21:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 648B5322F for ; Wed, 06 Aug 2025 05:21:42 +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: <1754456515.59a6444d87803273a41e79b330d862426ca2393a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/moar/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/moar/Manifest sys-apps/moar/moar-1.33.0.ebuild X-VCS-Directories: sys-apps/moar/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 59a6444d87803273a41e79b330d862426ca2393a X-VCS-Branch: master Date: Wed, 06 Aug 2025 05:21:42 +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: 5806ee05-3810-4103-9ba9-2e10c5ee48c2 X-Archives-Hash: 3a6526740162aabbce13d0bf9fd75668 commit: 59a6444d87803273a41e79b330d862426ca2393a Author: Sam James gentoo org> AuthorDate: Wed Aug 6 05:01:55 2025 +0000 Commit: Sam James gentoo org> CommitDate: Wed Aug 6 05:01:55 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59a6444d sys-apps/moar: add 1.33.0 Signed-off-by: Sam James gentoo.org> sys-apps/moar/Manifest | 2 ++ sys-apps/moar/moar-1.33.0.ebuild | 65 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/sys-apps/moar/Manifest b/sys-apps/moar/Manifest index 2541c45c895d..6500e871c4d1 100644 --- a/sys-apps/moar/Manifest +++ b/sys-apps/moar/Manifest @@ -10,3 +10,5 @@ DIST moar-1.32.2-deps.tar.xz 1448708 BLAKE2B b425797d45a1895679ee8f6735ef2fcce44 DIST moar-1.32.2.tar.gz 2853115 BLAKE2B ae5fb36cb76a24ee4707ec0283c53faa238a266cf7b4038bfae2c08bef1aef20ece600129616bdcb9c823a2a63b20596732715c0701ceb7273472f3dcf6ff381 SHA512 4881ae57d309923ad8e1e010d79aacbb781b19a5353ab629294e2eb25e57d7b67e5e47f0d2c2311f8b8babe8ddf8867054924bf41acde5d34ca5e2bb9d6168fd DIST moar-1.32.3-deps.tar.xz 1448708 BLAKE2B b425797d45a1895679ee8f6735ef2fcce44d63b42da59f659383878ae961d68034f840cdaa24ecad6643714377c44f65a1520849dab215c0d2dad92faea18076 SHA512 9f7ec9272f4bec3567c3b69961c4c5858ebc826623e8b99d07b2d9e56567938bb9c1e108ba44ad933892a7c350341e71789bf9a9737adb14ee5edb343c2b3914 DIST moar-1.32.3.tar.gz 2853141 BLAKE2B 2a4150a9ac4fd5109af45d5664762831992fe967bbecff5ef2953b7635df27649623eb1d2ea8e934c5c4c11039adbd0f7ba84dd2bd14be665038eb6a5a31b9e4 SHA512 3315b1ea8869018b5114e96339befc64d1e7ca269ba7153e80a3d1d11a06536ca176ba0aad4faea62ec3be5247ed7e49e9f2229b34ef78017856c2cfbba1383e +DIST moar-1.33.0-deps.tar.xz 1455220 BLAKE2B 6cba60dd76f756aa1f7886908167980bdf07834940ef0843e20f7bf75b18860dac1ef5b4196c5b4215e91e6152656e12676ae061f1ca05b2c28553a153a9f278 SHA512 dbc1c19aec4188a07bfd676bf798ede215cf1c453204a9f2774772b5cc539e05d459f1fdf12f28bc61f0b079791c5fb8c6d0e5096d2b57db403090297def16f3 +DIST moar-1.33.0.tar.gz 2870767 BLAKE2B 51f52d23245eed30951d0ba12ed3cff5b441d4d15ae308ede6324da64bbf7c46205b5ba1b1ebb1391af6e12f083297990dc412670262354285700f31d4e9ed23 SHA512 a24272f23da523c2fc0eb0887652c317a9d66d7fb757adcb22a5f1c61c0677480c85fe5ae16f385f15832f102bf248c357806323a006d52f519beabb5a529b20 diff --git a/sys-apps/moar/moar-1.33.0.ebuild b/sys-apps/moar/moar-1.33.0.ebuild new file mode 100644 index 000000000000..5848e244a6ea --- /dev/null +++ b/sys-apps/moar/moar-1.33.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-env go-module + +DESCRIPTION="Pager designed to do the right thing without any configuration" +HOMEPAGE="https://github.com/walles/moar" +SRC_URI="https://github.com/walles/moar/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz" + +LICENSE="BSD-2 BSD MIT" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 MIT" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 MIT" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 MIT" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 MIT" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 MIT" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 MIT" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" +IUSE="test" +RESTRICT="!test? ( test )" + +# moarvm: https://github.com/walles/moar/issues/143 +RDEPEND="!dev-lang/moarvm" +BDEPEND=" + test? ( + app-arch/bzip2 + app-arch/xz-utils + ) +" + +src_unpack() { + default + + if [[ -d "${WORKDIR}"/vendor ]] ; then + mv "${WORKDIR}"/vendor "${S}"/vendor || die + fi + go-env_set_compile_environment +} + +src_compile() { + # https://github.com/walles/moar/blob/master/build.sh#L28 + ego build -ldflags="-w -X main.versionString=${PV}" -o moar +} + +src_test() { + # From test.sh (we don't run that because it has some linting etc) + ego test -timeout 20s ./... +} + +src_install() { + dobin moar + doman moar.1 + einstalldocs +}