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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E4C4F1581B9 for ; Tue, 30 Sep 2025 23:52:30 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id CAE02340F50 for ; Tue, 30 Sep 2025 23:52:30 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id BD9321103CB; Tue, 30 Sep 2025 23:52:29 +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 B271D1103CB for ; Tue, 30 Sep 2025 23:52:29 +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 62DEA340DA1 for ; Tue, 30 Sep 2025 23:52:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CEF3F3A61 for ; Tue, 30 Sep 2025 23:52:27 +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: <1759274373.8fd95581271d31e5643a40bb6a08c1f68b809b59.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/moor/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/moor/Manifest sys-apps/moor/moor-2.4.0.ebuild X-VCS-Directories: sys-apps/moor/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8fd95581271d31e5643a40bb6a08c1f68b809b59 X-VCS-Branch: master Date: Tue, 30 Sep 2025 23:52:27 +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: ec0f7c2c-8225-4c10-9d00-f64fd713a7c7 X-Archives-Hash: 1e0cf983dd1cbc6dae8a0330d205acfa commit: 8fd95581271d31e5643a40bb6a08c1f68b809b59 Author: Sam James gentoo org> AuthorDate: Tue Sep 30 23:19:33 2025 +0000 Commit: Sam James gentoo org> CommitDate: Tue Sep 30 23:19:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fd95581 sys-apps/moor: add 2.4.0 Signed-off-by: Sam James gentoo.org> sys-apps/moor/Manifest | 2 ++ sys-apps/moor/moor-2.4.0.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/sys-apps/moor/Manifest b/sys-apps/moor/Manifest index 12d1eb96de47..f3c0be4082a7 100644 --- a/sys-apps/moor/Manifest +++ b/sys-apps/moor/Manifest @@ -2,3 +2,5 @@ DIST moar-1.33.0-deps.tar.xz 1455220 BLAKE2B 6cba60dd76f756aa1f7886908167980bdf0 DIST moar-1.33.0.tar.gz 2870767 BLAKE2B 51f52d23245eed30951d0ba12ed3cff5b441d4d15ae308ede6324da64bbf7c46205b5ba1b1ebb1391af6e12f083297990dc412670262354285700f31d4e9ed23 SHA512 a24272f23da523c2fc0eb0887652c317a9d66d7fb757adcb22a5f1c61c0677480c85fe5ae16f385f15832f102bf248c357806323a006d52f519beabb5a529b20 DIST moor-2.1.1-deps.tar.xz 1456600 BLAKE2B bc0fe03321adfe2f57bc8920712cddb86f1fb8745fc2c05a87b970ac874c5022812963ee3a223412acd2d308a97e583ba888bbaf058b152a8645343c2acf91b6 SHA512 c176c7fda29be5493811743e366ce2fa0f3185b578687c699010ae97e0fb38e9b6da93cb8ee1217280c3bf73b487441b69f1bb3c1a14460a20306f285138832d DIST moor-2.1.1.tar.gz 3013310 BLAKE2B b1627dba55aafff95f93ab16f66581a93385f3dfa921b6efc32d6dbf8c969c56883649292fc4534261ec56cb4c9ef833904c72b88bf3a59cb69571a0cb742ad8 SHA512 56569df932fdda4b23f59344c03d0d3f1aa749704ee993bb074117a53a6de5beb7cfe1e3cbd601f3997752cd8755d679b10ed22fa17e4c76a05d6b063e4ff787 +DIST moor-2.4.0-deps.tar.xz 1461024 BLAKE2B bcdccd79020a6c461ccc81a4e65af3d7efcd2c0c2101ac2896f779efd8ddd1272fac20125522d9a1528c21949783fe87046f15aef2088c6abcc0aeaa4f446583 SHA512 1f854a03fb58b82baf9ba5be6750c0a043c9d1460e75d775d2ae1acca1574927b5da25270247464ace182b7e2e46d3e447e3f36d345e5da957905b7ddebed14b +DIST moor-2.4.0.tar.gz 3013760 BLAKE2B 068070c45b4c673cce9a2242b6c6b9b022dc7e3823cf0d9a074d3c790d17d2a3ba55e9bc16a58e217a1581c03277791bad4ee3261df25ab6ce52f4a338d2e14b SHA512 86b03094931556fc3b689225ea5460c12685c55bf7733efec944cc2f5363f4ef09a5104b0b4d3e8d15da48491cb1077fd4a2c703618c8694aeea69f681885764 diff --git a/sys-apps/moor/moor-2.4.0.ebuild b/sys-apps/moor/moor-2.4.0.ebuild new file mode 100644 index 000000000000..b1b78a8298ed --- /dev/null +++ b/sys-apps/moor/moor-2.4.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-env go-module eapi9-ver + +DESCRIPTION="Pager designed to do the right thing without any configuration" +HOMEPAGE="https://github.com/walles/moor" +SRC_URI="https://github.com/walles/moor/archive/refs/tags/v${PV}.tar.gz -> moor-${PV}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/moor/moor-${PV}-deps.tar.xz" + +LICENSE="BSD-2 BSD MIT" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" +IUSE="test" +RESTRICT="!test? ( test )" + +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/moor/blob/master/build.sh#L28 + ego build -ldflags="-w -X main.versionString=${PV}" -o moor ./cmd/moor +} + +src_test() { + # From test.sh (we don't run that because it has some linting etc) + ego test -timeout 20s ./... +} + +src_install() { + dobin moor + doman moor.1 + einstalldocs +} + +pkg_postinst() { + if ver_replacing -lt 2 ; then + ewarn "moar has been renamed to moor, please update any scripts." + fi +}