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 337E1158089 for ; Sun, 15 Oct 2023 08:26:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 511592BC016; Sun, 15 Oct 2023 08:26:29 +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 166A12BC015 for ; Sun, 15 Oct 2023 08:26:29 +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 D58E0335CEE for ; Sun, 15 Oct 2023 08:26:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5776395E for ; Sun, 15 Oct 2023 08:26:26 +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: <1697358154.7d26314a84bc2fbaf297f38d99bb2e5bb3b271d2.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.1.ebuild X-VCS-Directories: sys-apps/moar/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7d26314a84bc2fbaf297f38d99bb2e5bb3b271d2 X-VCS-Branch: master Date: Sun, 15 Oct 2023 08:26:26 +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: 6dda4723-af78-427e-a7d6-b8847b46ab56 X-Archives-Hash: 2f954e28fd1ae3a5554b30364694624d commit: 7d26314a84bc2fbaf297f38d99bb2e5bb3b271d2 Author: Sam James gentoo org> AuthorDate: Sun Oct 15 08:22:34 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Oct 15 08:22:34 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d26314a sys-apps/moar: add 1.18.1 Signed-off-by: Sam James gentoo.org> sys-apps/moar/Manifest | 2 ++ sys-apps/moar/moar-1.18.1.ebuild | 41 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/sys-apps/moar/Manifest b/sys-apps/moar/Manifest index 30b1c53a218b..bfe2fdeafc8d 100644 --- a/sys-apps/moar/Manifest +++ b/sys-apps/moar/Manifest @@ -4,3 +4,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.0-deps.tar.xz 4760036 BLAKE2B 6fd72d710a620fdf104766be84f3fa68652c760818cdee66bb8475cc8949872c82be026c04b54cb61c0108c5977cb1f787f9a4fa0316bde0293cdedb1f6f94f8 SHA512 f40520a1b2e94f4a3e97d6a4e19191484b66e13a57c7b30416c813d84cad3d29295e862d5b75870313cc905112425c731d052619d49e78b33fb3d5d8750df3df DIST moar-1.18.0.tar.gz 2784174 BLAKE2B 3d9ee7fda27419b419f47bae3336d9f0d7ae48bbdad1fb8c501c85b4ea34aaaf6cf1c865f1b56d195ec6e129333d63e552d96b147fb9c26c739482a546d6286e SHA512 a76f19465d03deec8f778fda213be6ab33fdd48d309231f4f0ad0cdd8ea2facc41e2bdb1b74771c4a9ce3a31c30a72754f790e5eb9edb06e19d26fe3e224b507 +DIST moar-1.18.1-deps.tar.xz 4760036 BLAKE2B 6fd72d710a620fdf104766be84f3fa68652c760818cdee66bb8475cc8949872c82be026c04b54cb61c0108c5977cb1f787f9a4fa0316bde0293cdedb1f6f94f8 SHA512 f40520a1b2e94f4a3e97d6a4e19191484b66e13a57c7b30416c813d84cad3d29295e862d5b75870313cc905112425c731d052619d49e78b33fb3d5d8750df3df +DIST moar-1.18.1.tar.gz 2784232 BLAKE2B eee1b0d805150f5a0e09b3038dd13189d20886fbe8159e9fddea4ea97edfafba400b5ab542795ba222c2757e684e41e2db95774ad33a8039e62e1244cd69c16e SHA512 2dbe3b4f461f6ee77b8093e1783a06cf1703ec8c5682565cfb3d28d296296b562fd1032126f0f3ad835de9236d31e2930456b59ed8efb168c5243f4265c6b355 diff --git a/sys-apps/moar/moar-1.18.1.ebuild b/sys-apps/moar/moar-1.18.1.ebuild new file mode 100644 index 000000000000..091d314e2ac3 --- /dev/null +++ b/sys-apps/moar/moar-1.18.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="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 +}