From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1569907-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))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 89452158089
	for <garchives@archives.gentoo.org>; Sun, 12 Nov 2023 06:35:04 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B3C332BC017;
	Sun, 12 Nov 2023 06:35:03 +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 pigeon.gentoo.org (Postfix) with ESMTPS id 978762BC017
	for <gentoo-commits@lists.gentoo.org>; Sun, 12 Nov 2023 06:35:03 +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 588DE335D0E
	for <gentoo-commits@lists.gentoo.org>; Sun, 12 Nov 2023 06:35:02 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 6CF179D3
	for <gentoo-commits@lists.gentoo.org>; Sun, 12 Nov 2023 06:35:00 +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: <1699770095.69fe4b5f20d1a4632542f01ae5c56f71091f3fde.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.18.3.ebuild
X-VCS-Directories: sys-apps/moar/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 69fe4b5f20d1a4632542f01ae5c56f71091f3fde
X-VCS-Branch: master
Date: Sun, 12 Nov 2023 06:35:00 +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: 1d6c4384-2f74-41aa-960e-e5a6c8cac48a
X-Archives-Hash: 30c16e259dbe0b57ea2557b4c604433b

commit:     69fe4b5f20d1a4632542f01ae5c56f71091f3fde
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 12 06:21:35 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 12 06:21:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69fe4b5f

sys-apps/moar: add 1.18.3

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

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

diff --git a/sys-apps/moar/Manifest b/sys-apps/moar/Manifest
index ba3f1f0e9dde..c836bb9c6a86 100644
--- a/sys-apps/moar/Manifest
+++ b/sys-apps/moar/Manifest
@@ -2,3 +2,5 @@ DIST moar-1.17.1-deps.tar.xz 4760036 BLAKE2B 6fd72d710a620fdf104766be84f3fa68652
 DIST moar-1.17.1.tar.gz 2784584 BLAKE2B 486520a89969bde12bed683e28fd37a90d32b35ecc80261901595ccfe9d12deb26c307404ba0505919b1a35c237e07b59aa5469f04b51bd12d6e71e39571b648 SHA512 f502e930cf78c86eccacb4c23b1d4874bb39d5add2b36dbaa5426d269b5a315204782e1f539262f04adab510d177e374fcf9ff79df5ba2974f32e513e8d56fd6
 DIST moar-1.18.2-deps.tar.xz 4893264 BLAKE2B 48ac9d4992c2f6d1aa0f9160bde87bd19d66acfe912753645c9dbb6e5bc007eb68caf1fff53bae84b03e4a6607858717666b1527bf8d0080b0aca6dbb37a894e SHA512 bf141777d4fee5c14e76130671862f255675da3c628c21cb892d53a469a0872d4c7f47699c16c50728df76ba4d9e467e9b8744a322c1acc8d0151f9eb5987b66
 DIST moar-1.18.2.tar.gz 2784141 BLAKE2B 0ed2df0926390ef1de11cefb8933d39e90b704d943afe83e578adee745c0e27411e7f8b3741766176b6d66b44ee56592d8d0b84484d5e83d360dc4039428b3d4 SHA512 552e9fb635c554f16c250db1702314e34d2f961cbbd50106b696c096b31f2e7f86109e99c843911829905bb5390716f642ce0ebe70f0f1b71cada1b47c53e17a
+DIST moar-1.18.3-deps.tar.xz 4893264 BLAKE2B 48ac9d4992c2f6d1aa0f9160bde87bd19d66acfe912753645c9dbb6e5bc007eb68caf1fff53bae84b03e4a6607858717666b1527bf8d0080b0aca6dbb37a894e SHA512 bf141777d4fee5c14e76130671862f255675da3c628c21cb892d53a469a0872d4c7f47699c16c50728df76ba4d9e467e9b8744a322c1acc8d0151f9eb5987b66
+DIST moar-1.18.3.tar.gz 2784912 BLAKE2B 8ad06cfb0c21225e5b949d39adbadadef98e4e4292432cd3e6533240afa416118fb9a9d21b06d6bdf85a6f2a19b90f09c3e298db24fec755a168423e85dc9c64 SHA512 81e54889fa0a12d127abc5596fd820d5adc5f5162adedd7125cf9e8cbd0cb0dc75c5570a1504b2c68e063880e77df4299d7830a44479c6690f6ba48ec97ea4ac

diff --git a/sys-apps/moar/moar-1.18.3.ebuild b/sys-apps/moar/moar-1.18.3.ebuild
new file mode 100644
index 000000000000..091d314e2ac3
--- /dev/null
+++ b/sys-apps/moar/moar-1.18.3.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="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
+}