From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1554014-garchives=archives.gentoo.org@lists.gentoo.org>
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) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id AB2D0158089
	for <garchives@archives.gentoo.org>; Wed, 13 Sep 2023 05:38:43 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id DE7EC2BC014;
	Wed, 13 Sep 2023 05:38:42 +0000 (UTC)
Received: from smtp.gentoo.org (mail.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 C30B22BC022
	for <gentoo-commits@lists.gentoo.org>; Wed, 13 Sep 2023 05:38:42 +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 CD40F335CCD
	for <gentoo-commits@lists.gentoo.org>; Wed, 13 Sep 2023 05:38:41 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 42681118F
	for <gentoo-commits@lists.gentoo.org>; Wed, 13 Sep 2023 05:38:40 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1694583493.ad954348b391c1b51bbffab25c8611c4ad596f4a.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.16.1.ebuild
X-VCS-Directories: sys-apps/moar/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: ad954348b391c1b51bbffab25c8611c4ad596f4a
X-VCS-Branch: master
Date: Wed, 13 Sep 2023 05:38:40 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 727da1d3-caa5-44ef-8172-0f0e9b46eca2
X-Archives-Hash: fbb6ae6e2b6a0f74eafbde897724b109

commit:     ad954348b391c1b51bbffab25c8611c4ad596f4a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 13 05:15:46 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 13 05:38:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad954348

sys-apps/moar: add 1.16.1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/moar/Manifest           |  2 ++
 sys-apps/moar/moar-1.16.1.ebuild | 41 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/sys-apps/moar/Manifest b/sys-apps/moar/Manifest
index 596166af4c95..ccb97fb6e4cb 100644
--- a/sys-apps/moar/Manifest
+++ b/sys-apps/moar/Manifest
@@ -4,3 +4,5 @@ DIST moar-1.15.4-deps.tar.xz 4760036 BLAKE2B 6fd72d710a620fdf104766be84f3fa68652
 DIST moar-1.15.4.tar.gz 2782491 BLAKE2B 467429bbc9dae085065ebc17e1b8b56ebe67b0cd8f4675a72f9032150513876f66dbddf4a3e9baa8d921cbb0779aea24b51a10f9af628c64724313aa60ab4ecc SHA512 c4068fbf1a8ea64d8a169f2aa8e73d6dedc4cc781ebd011dcdae4093f277843566f88d4e087417f3e02097e252653e487547b8dbe6889dd06a5d9956c9b93a67
 DIST moar-1.16.0-deps.tar.xz 4760036 BLAKE2B 6fd72d710a620fdf104766be84f3fa68652c760818cdee66bb8475cc8949872c82be026c04b54cb61c0108c5977cb1f787f9a4fa0316bde0293cdedb1f6f94f8 SHA512 f40520a1b2e94f4a3e97d6a4e19191484b66e13a57c7b30416c813d84cad3d29295e862d5b75870313cc905112425c731d052619d49e78b33fb3d5d8750df3df
 DIST moar-1.16.0.tar.gz 2782723 BLAKE2B 9a715de13bb522b4aae1940dcd7a017a3f31c50c13a7f3463447318843c9dafc51539450cbaf4adb773966a48cc5d7c04955492d6a0fc18fce1bd219172bf51e SHA512 92321b6eea8609ea02a0955d0ea5fa8f362c51260e62f3a23384663ffaa269183c57d4258235400191b61c056b5dbed7bdb86710f2fe57ec97af2dca12f754e9
+DIST moar-1.16.1-deps.tar.xz 4760036 BLAKE2B 6fd72d710a620fdf104766be84f3fa68652c760818cdee66bb8475cc8949872c82be026c04b54cb61c0108c5977cb1f787f9a4fa0316bde0293cdedb1f6f94f8 SHA512 f40520a1b2e94f4a3e97d6a4e19191484b66e13a57c7b30416c813d84cad3d29295e862d5b75870313cc905112425c731d052619d49e78b33fb3d5d8750df3df
+DIST moar-1.16.1.tar.gz 2782748 BLAKE2B b77ed0a3cdc205c9863eefd934a0eb92e67cc9ea45af6c904a7a8934e07f9db87cd9b450ec3a082f4905063910e829fd6aac2754e2056e25e66bf08a34b49c72 SHA512 e2d70d898a4a12dbef87f0869a9add49f06f898cb29ac0abc2c754fbe2717ce413d9862abfb1e270cab40b54c94dfccebd7cccfbc666b1b5e078c6417644dacd

diff --git a/sys-apps/moar/moar-1.16.1.ebuild b/sys-apps/moar/moar-1.16.1.ebuild
new file mode 100644
index 000000000000..a32bbea5ec05
--- /dev/null
+++ b/sys-apps/moar/moar-1.16.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="A 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"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="!dev-lang/moarvm"
+BDEPEND="
+	test? (
+		app-arch/bzip2
+		app-arch/xz-utils
+	)
+"
+
+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
+}