From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 5E0FB15815E for ; Fri, 2 Feb 2024 01:02:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 508BDE2A5F; Fri, 2 Feb 2024 01:02:37 +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 A1237E2A5F for ; Fri, 2 Feb 2024 01:02:36 +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 94A35343231 for ; Fri, 2 Feb 2024 01:02:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BF14713DB for ; Fri, 2 Feb 2024 01:02:33 +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: <1706835679.cb284ad8359619ed9315ef28e839e711ebe04bb4.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.23.4.ebuild X-VCS-Directories: sys-apps/moar/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: cb284ad8359619ed9315ef28e839e711ebe04bb4 X-VCS-Branch: master Date: Fri, 2 Feb 2024 01:02:33 +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: 8305a518-7f0a-4bf8-94ec-8f91cb294286 X-Archives-Hash: fe9a3084a9550460e11b8e283f9ab14c commit: cb284ad8359619ed9315ef28e839e711ebe04bb4 Author: Sam James gentoo org> AuthorDate: Fri Feb 2 00:19:55 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri Feb 2 01:01:19 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb284ad8 sys-apps/moar: add 1.23.4 Signed-off-by: Sam James gentoo.org> sys-apps/moar/Manifest | 2 ++ sys-apps/moar/moar-1.23.4.ebuild | 42 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/sys-apps/moar/Manifest b/sys-apps/moar/Manifest index f4da6fd0b5e7..2747dcd9c99d 100644 --- a/sys-apps/moar/Manifest +++ b/sys-apps/moar/Manifest @@ -4,3 +4,5 @@ DIST moar-1.22.3-deps.tar.xz 61027724 BLAKE2B ba22db246b20f4a6b28c19a3654f1b1cd6 DIST moar-1.22.3.tar.gz 2799819 BLAKE2B 681297e9a84f6846d7ea6cd591403fd3100079fc8418ce5841a50755927239eca5abbfc0477d1a74e3af687ef1ebe372d4f708c38a64ba61b3095ac161f1cb8e SHA512 377cdf4916b036088f48abd4aa9818f002dd5ab025a54f4d91626380bb3d370daf046da6f3dc31fcc11a375d7da1a84288fb3e2e3357181a6ecc6a46af78c452 DIST moar-1.23.1-deps.tar.xz 61027724 BLAKE2B ba22db246b20f4a6b28c19a3654f1b1cd68e0a92aff43ff02a592b303ff3318c3766381bd4b0abff5f479fe571b753a272213d7dc7da809a33ded36228dac100 SHA512 a1be9f66480867faa06fb451bcc6a294bb1e2e4601c97c1beac67a3f866104b196ecd2653dc9ddd48a5223d4f3067a01abbaf45fc07333d97c4f8489424ff5cf DIST moar-1.23.1.tar.gz 2801572 BLAKE2B 535a574e421d25d0b1452ba0b345e7e8291db76e058f33f1a8a045732e7a79a56e9b681e9a01ecd6d023fe63fc215648a1c91daeeaff1b8856a54d716baa2053 SHA512 bf06709e95299648eadec86ac6af1d91449268efc7d6a9aaa74a26c54a28a6edfebecf0e7a6921fe7c509646361ff0c9e624e53a37ce577a469c52f5cfc040b6 +DIST moar-1.23.4-deps.tar.xz 61027724 BLAKE2B ba22db246b20f4a6b28c19a3654f1b1cd68e0a92aff43ff02a592b303ff3318c3766381bd4b0abff5f479fe571b753a272213d7dc7da809a33ded36228dac100 SHA512 a1be9f66480867faa06fb451bcc6a294bb1e2e4601c97c1beac67a3f866104b196ecd2653dc9ddd48a5223d4f3067a01abbaf45fc07333d97c4f8489424ff5cf +DIST moar-1.23.4.tar.gz 2801843 BLAKE2B 93b0ce5159d0b3b244716e0643f2ff9ac27f7179ab116a3be037c5efc16d78e37e92c2367181ecc28e641048b3768acf584911acee1c8f4eeee28ad32f574bba SHA512 55e2d24d8ccef2d8b0582027b70527500aec9fc24f8dd03a90677e2743742f9fa0e664e5cad6a8630d8bb47b402ef54778a4efc656b102afec7578ffd62d3bfe diff --git a/sys-apps/moar/moar-1.23.4.ebuild b/sys-apps/moar/moar-1.23.4.ebuild new file mode 100644 index 000000000000..7ba82f9aa27b --- /dev/null +++ b/sys-apps/moar/moar-1.23.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 2023-2024 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 ~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_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 +}