From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1708866-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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6FD5015813A for <garchives@archives.gentoo.org>; Sun, 12 Jan 2025 16:52:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9C15E0822; Sun, 12 Jan 2025 16:52:53 +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 9E11CE0822 for <gentoo-commits@lists.gentoo.org>; Sun, 12 Jan 2025 16:52:53 +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 A5017340C40 for <gentoo-commits@lists.gentoo.org>; Sun, 12 Jan 2025 16:52:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0F47FB2C for <gentoo-commits@lists.gentoo.org>; Sun, 12 Jan 2025 16:52:51 +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: <1736700703.5ce4c4f1ce329589ca7c3e4ab70c71db2473bfdd.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.31.2.ebuild X-VCS-Directories: sys-apps/moar/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 5ce4c4f1ce329589ca7c3e4ab70c71db2473bfdd X-VCS-Branch: master Date: Sun, 12 Jan 2025 16:52:51 +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: 16936a50-e1ab-430b-848d-d809450f6d53 X-Archives-Hash: 866ed85822b8352e83f6fb427ab641b8 commit: 5ce4c4f1ce329589ca7c3e4ab70c71db2473bfdd Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Jan 12 16:51:30 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jan 12 16:51:43 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ce4c4f1 sys-apps/moar: add 1.31.2 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-apps/moar/Manifest | 2 ++ sys-apps/moar/moar-1.31.2.ebuild | 51 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/sys-apps/moar/Manifest b/sys-apps/moar/Manifest index 58d880b9f8c1..84e29170f310 100644 --- a/sys-apps/moar/Manifest +++ b/sys-apps/moar/Manifest @@ -10,3 +10,5 @@ DIST moar-1.29.0-deps.tar.xz 1359500 BLAKE2B 302b176f2b22878a6a1eb0e5d57eeb83adf DIST moar-1.29.0.tar.gz 2846285 BLAKE2B 4afbe74849985ac702b5847ebe640f074ea7603eff5d0ed6a04b3716373e0f73cb040c4869a469b8b36ebd964a0ed059ae3dd43d45d532753796b8478192f23f SHA512 a9d4944533aed9deeb2e87572147e522b65273e0eb0b0d04253d2d22d9e6f7c7dbf9ffa045a6e70f1d5f4b37e7e8a301f63f2a080742af90f4db2bdb20a04e18 DIST moar-1.30.0-deps.tar.xz 1359500 BLAKE2B 302b176f2b22878a6a1eb0e5d57eeb83adf0b3dd790a070d969b4b840741700e4143d9abd7138d556cb7fa04b72412c52e8d4560cb8f925f5e6625633cbd1d4e SHA512 317df040f8541548bfec2d27557cf34a547cea60a3a921860fa50e099c792fd4a2b6822fadc7b0b4d395f7d7f338bc7cb39ef2f267a8a4df27e4d554a8b34b36 DIST moar-1.30.0.tar.gz 2846509 BLAKE2B 7bd6d1365c8144245c41b7604aababc708c8f91ff0780f261c448725945fe771e327ce16fe8956bdc0a3c72f0a0134441e0a60a3af5b4a352ad2fd5598f44841 SHA512 2a3c4bd6ce42aada69307d2b0d638faa72674defe8dfa67a6bf98808a20b35564b23deb6cb0697f3f5cde993a125c44441c7f50d37d420ed1b160048d7e5dd97 +DIST moar-1.31.2-deps.tar.xz 1359500 BLAKE2B 302b176f2b22878a6a1eb0e5d57eeb83adf0b3dd790a070d969b4b840741700e4143d9abd7138d556cb7fa04b72412c52e8d4560cb8f925f5e6625633cbd1d4e SHA512 317df040f8541548bfec2d27557cf34a547cea60a3a921860fa50e099c792fd4a2b6822fadc7b0b4d395f7d7f338bc7cb39ef2f267a8a4df27e4d554a8b34b36 +DIST moar-1.31.2.tar.gz 2848497 BLAKE2B e6fa227a770b9df1b5eb352c94851179eda42979f496dd621d65329b5ad7d12aa6763823d9f2c23281389133f3961f6a5d3e42d67b2a4c7b381931adaca4d0db SHA512 47aa7c8349460c67a90adccd9331fe5e0a19b2a0647a45492f1d2e9b5cbf3c944f0d64a7cb9b54364ba0ab8e2d501a83dd92e838495626f104fe6d9b52da6505 diff --git a/sys-apps/moar/moar-1.31.2.ebuild b/sys-apps/moar/moar-1.31.2.ebuild new file mode 100644 index 000000000000..85a4dd69c341 --- /dev/null +++ b/sys-apps/moar/moar-1.31.2.ebuild @@ -0,0 +1,51 @@ +# 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" +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 +}