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 A81F215ACFC for ; Thu, 4 May 2023 04:36:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3F0BE0F6A; Thu, 4 May 2023 04:36:09 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AADECE0F6A for ; Thu, 4 May 2023 04:36:09 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B511C340B0B for ; Thu, 4 May 2023 04:36:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 266F6990 for ; Thu, 4 May 2023 04:36:07 +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: <1683174799.80472c8edebf975ba22402bf16e776cbfe79d534.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.14.0.ebuild X-VCS-Directories: sys-apps/moar/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 80472c8edebf975ba22402bf16e776cbfe79d534 X-VCS-Branch: master Date: Thu, 4 May 2023 04:36:07 +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: e68b9a5e-be47-4fbb-ad0e-1e0cc5886542 X-Archives-Hash: 40f4c2365f8d719aec138b508cee0162 commit: 80472c8edebf975ba22402bf16e776cbfe79d534 Author: Sam James gentoo org> AuthorDate: Thu May 4 04:16:11 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu May 4 04:33:19 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80472c8e sys-apps/moar: add 1.14.0 Signed-off-by: Sam James gentoo.org> sys-apps/moar/Manifest | 2 ++ sys-apps/moar/moar-1.14.0.ebuild | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/sys-apps/moar/Manifest b/sys-apps/moar/Manifest index 256dea1116ad..07b731959a47 100644 --- a/sys-apps/moar/Manifest +++ b/sys-apps/moar/Manifest @@ -2,3 +2,5 @@ DIST moar-1.12.0-deps.tar.xz 26291664 BLAKE2B ebc16cbe23c26eacd84376b6e99d7484c7 DIST moar-1.12.0.tar.gz 2777752 BLAKE2B fa2f442e2b0e6d909e77be8df873c7b08a82b43d881583a7f1c4a3591f2bbe90b5adc77524b92e0fcf071ce4a1c18d8c58c7cce18807974fae7342148d7fbe28 SHA512 bfa15f5fd3ffa4146adec9110fbf8fd3bc31c95877f5e24ab911d1ef9e357dd41b46e2f466f2ce7d2fc986e463dcf2e1132c0a42ebfe2c46a8cd216355c4b98b DIST moar-1.13.0-deps.tar.xz 4808044 BLAKE2B cd7808337af5acb2bd6cb4b9696c9d04803df033b5a1d4904418602dc629cef7c16172b0eaa57644be76a02b6727d36f767bfafba1377ea95eb827fbb4a1d34b SHA512 e51ca15137f4b5dc5ea447c200341aaeb06cd77118cd8f2fb3efca0ffc2d4199e00687f980803c4ff09c535621b58206b22bff2c944ad8786c73c3a7c886d6c6 DIST moar-1.13.0.tar.gz 2778084 BLAKE2B 6f3dfc1b997c0176b57e613a822df4f25d7bb509ce245d3c9711bebc4dfccee4d423ce02dbf2845377b856a909cc9e5d8f88d9c65a85d8830bd713ef93729250 SHA512 fca30d496c2439cf5d1204eaa5c5114ef13522f38c8ddcc771ea45aee5faafb5aaf48a8947ff7d5846556130368625f47e851c2494489eb9371807eabb4c7c49 +DIST moar-1.14.0-deps.tar.xz 4808044 BLAKE2B cd7808337af5acb2bd6cb4b9696c9d04803df033b5a1d4904418602dc629cef7c16172b0eaa57644be76a02b6727d36f767bfafba1377ea95eb827fbb4a1d34b SHA512 e51ca15137f4b5dc5ea447c200341aaeb06cd77118cd8f2fb3efca0ffc2d4199e00687f980803c4ff09c535621b58206b22bff2c944ad8786c73c3a7c886d6c6 +DIST moar-1.14.0.tar.gz 2780033 BLAKE2B 42e985aef677830782e70c60748ce732a572352dad629126873bd9532314924ba4e8afc2be4ced0d3161b00b5d4088782908ee7a2f24d670aaf7ddf243473fb6 SHA512 ec0e851f031a03d8af3c4b8b11be2eab300d46adb08fd366d41c958f0d2227fb82800974af3fda72ac01a79e4d2c65e41816b2f1c4ec3b3c7534aeb9b9ded51e diff --git a/sys-apps/moar/moar-1.14.0.ebuild b/sys-apps/moar/moar-1.14.0.ebuild new file mode 100644 index 000000000000..177f577621ac --- /dev/null +++ b/sys-apps/moar/moar-1.14.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="A 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" + +RDEPEND="!dev-lang/moarvm" + +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 +}