public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/moar/
Date: Wed, 21 May 2025 22:53:07 +0000 (UTC)	[thread overview]
Message-ID: <1747867773.1d40807810f119fa2be0e85a958e44419332f85d.sam@gentoo> (raw)

commit:     1d40807810f119fa2be0e85a958e44419332f85d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May 21 22:49:33 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 21 22:49:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d408078

sys-apps/moar: add 1.31.7

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

 sys-apps/moar/Manifest           |  2 ++
 sys-apps/moar/moar-1.31.7.ebuild | 55 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/sys-apps/moar/Manifest b/sys-apps/moar/Manifest
index cd110ec0e2fd..c88ee27dde11 100644
--- a/sys-apps/moar/Manifest
+++ b/sys-apps/moar/Manifest
@@ -2,3 +2,5 @@ DIST moar-1.31.4-deps.tar.xz 1359500 BLAKE2B 302b176f2b22878a6a1eb0e5d57eeb83adf
 DIST moar-1.31.4.tar.gz 2848133 BLAKE2B 2818fc907e1ffdc8a1d7c04858fbe5c3d466b3eb62d2ad5f53baa8b556e206b65d6a953314f2cd4620175a7b1b6b849fdad1b4faf8c32b3afc4f5d6efc2a0d2c SHA512 617169d2973f53406c7e6c0d2b34e379fc26b50645cdb0560ffc4b3adf35df6ca6dadbd8d52fa5f3952dd6198cc97099a76803745ff0a5c6f5380e778b6338fa
 DIST moar-1.31.5-deps.tar.xz 1359500 BLAKE2B 302b176f2b22878a6a1eb0e5d57eeb83adf0b3dd790a070d969b4b840741700e4143d9abd7138d556cb7fa04b72412c52e8d4560cb8f925f5e6625633cbd1d4e SHA512 317df040f8541548bfec2d27557cf34a547cea60a3a921860fa50e099c792fd4a2b6822fadc7b0b4d395f7d7f338bc7cb39ef2f267a8a4df27e4d554a8b34b36
 DIST moar-1.31.5.tar.gz 2848250 BLAKE2B 1477ca301add9570ba029ce72821f2a71a64998a8ab300641fe953006607e454c40febdac49b0f9e2e25bc5f071139e102cb3393534dbfe54f07b0dff3b5ee37 SHA512 350d7472e0fbf66df8adfc42d7d0343485e3559b2cfc7e89cd8ac25a9438a83d9c01019f89b1f59c48f44be5e94d857d760c43376cf39f42af16eeb05667def5
+DIST moar-1.31.7-deps.tar.xz 1359500 BLAKE2B 302b176f2b22878a6a1eb0e5d57eeb83adf0b3dd790a070d969b4b840741700e4143d9abd7138d556cb7fa04b72412c52e8d4560cb8f925f5e6625633cbd1d4e SHA512 317df040f8541548bfec2d27557cf34a547cea60a3a921860fa50e099c792fd4a2b6822fadc7b0b4d395f7d7f338bc7cb39ef2f267a8a4df27e4d554a8b34b36
+DIST moar-1.31.7.tar.gz 2849759 BLAKE2B 27a38557610676c6d2692a462a5e9692f609508c8c41ff13c8a57ae3f0a5cdcb809b2bbc096caeec2e92ca6dcd2440643c759a5e3a5dbf512ea64105475dc9b4 SHA512 f5360357469e0ce3bb8eb2c595bf52aa12b06f1d2789f38feb5d3517a127253ad18c1e1401cf7ac227a8652703b4549a4059fc4dec83862483b7abfb2cdeda42

diff --git a/sys-apps/moar/moar-1.31.7.ebuild b/sys-apps/moar/moar-1.31.7.ebuild
new file mode 100644
index 000000000000..1c53ff3724e3
--- /dev/null
+++ b/sys-apps/moar/moar-1.31.7.ebuild
@@ -0,0 +1,55 @@
+# 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"
+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
+}


             reply	other threads:[~2025-05-21 22:53 UTC|newest]

Thread overview: 94+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-21 22:53 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-24 22:20 [gentoo-commits] repo/gentoo:master commit in: sys-apps/moar/ Sam James
2025-04-24 22:04 Sam James
2025-04-05 13:02 Arthur Zamarin
2025-03-14  5:17 Sam James
2025-02-25 23:45 Sam James
2025-02-23  5:42 Sam James
2025-01-18 23:39 Sam James
2025-01-12 16:52 Sam James
2025-01-12 14:10 Sam James
2025-01-12 13:42 Sam James
2024-11-23 21:54 Sam James
2024-10-25  5:46 Arthur Zamarin
2024-10-24 15:21 Arthur Zamarin
2024-09-22 10:10 Sam James
2024-09-20  8:42 Sam James
2024-09-20  8:42 Sam James
2024-08-29  6:34 Jakov Smolić
2024-08-29  5:10 Jakov Smolić
2024-08-15  0:26 Sam James
2024-07-04  0:49 Sam James
2024-06-28 16:01 Sam James
2024-06-25  4:14 Sam James
2024-06-24  5:39 Sam James
2024-06-24  4:00 Sam James
2024-06-24  4:00 Sam James
2024-06-24  4:00 Sam James
2024-06-23  2:42 Sam James
2024-06-23  2:42 Sam James
2024-06-23  2:38 Sam James
2024-05-28  1:06 Sam James
2024-05-16  2:39 Sam James
2024-05-11 20:59 Sam James
2024-05-11 20:59 Sam James
2024-05-06  5:03 Sam James
2024-05-03  8:57 Sam James
2024-05-03  8:57 Sam James
2024-04-17  4:42 Sam James
2024-04-15  7:30 Arthur Zamarin
2024-04-15  7:27 Sam James
2024-03-28  1:47 Sam James
2024-03-15  6:24 Sam James
2024-02-27 23:00 Sam James
2024-02-27 23:00 Sam James
2024-02-21 10:17 Sam James
2024-02-02  1:18 Sam James
2024-02-02  1:02 Sam James
2024-01-19 23:27 Sam James
2024-01-19 13:39 Arthur Zamarin
2024-01-19 10:07 Sam James
2024-01-14  3:56 Sam James
2024-01-14  3:56 Sam James
2024-01-05 14:16 Sam James
2024-01-05 13:37 Sam James
2024-01-05 11:38 Sam James
2024-01-05 11:38 Sam James
2024-01-02  6:54 Sam James
2023-12-28  3:43 Sam James
2023-12-20 10:04 Sam James
2023-12-14  9:31 Sam James
2023-12-14  9:31 Sam James
2023-12-03  8:24 Sam James
2023-11-25  5:28 Sam James
2023-11-25  4:49 Sam James
2023-11-12  6:36 Sam James
2023-11-12  6:35 Sam James
2023-10-20  3:49 Sam James
2023-10-20  0:51 Sam James
2023-10-15  8:26 Sam James
2023-10-11 11:37 Sam James
2023-09-30  5:59 Sam James
2023-09-29 23:54 Sam James
2023-09-29 23:54 Sam James
2023-09-16 12:25 Sam James
2023-09-13  5:38 Sam James
2023-09-01  8:04 Sam James
2023-08-28  4:05 Sam James
2023-08-01 12:44 Sam James
2023-07-09  7:59 Sam James
2023-06-09 13:40 Sam James
2023-05-31  0:29 Sam James
2023-05-31  0:29 Sam James
2023-05-19  0:56 Sam James
2023-05-19  0:56 Sam James
2023-05-04  4:36 Sam James
2023-05-02 15:21 Arthur Zamarin
2023-03-20  5:06 Sam James
2023-03-20  5:06 Sam James
2023-03-01  2:30 Sam James
2023-02-10 23:29 Sam James
2023-01-11 13:22 Sam James
2023-01-04  9:17 Sam James
2023-01-04  5:03 Sam James
2023-01-04  4:56 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1747867773.1d40807810f119fa2be0e85a958e44419332f85d.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox