summaryrefslogtreecommitdiff
path: root/sys-apps/moar
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-24 03:02:55 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-24 03:02:55 +0000
commit530a5a826feeb71085fb8a01927f4d775a0b131b (patch)
treeb7669c45ea3f2a3a37b2437817a370226bb1c819 /sys-apps/moar
parent71dd9d29cdaf7cc0ecdb9ea37d128726a941c630 (diff)
gentoo auto-resync : 24:11:2024 - 03:02:54
Diffstat (limited to 'sys-apps/moar')
-rw-r--r--sys-apps/moar/Manifest3
-rw-r--r--sys-apps/moar/moar-1.29.0.ebuild51
2 files changed, 54 insertions, 0 deletions
diff --git a/sys-apps/moar/Manifest b/sys-apps/moar/Manifest
index bc31b935efe6..b4aea8b0d556 100644
--- a/sys-apps/moar/Manifest
+++ b/sys-apps/moar/Manifest
@@ -6,8 +6,11 @@ DIST moar-1.27.1-deps.tar.xz 1228028 BLAKE2B f8895cef15f6ab0eb5dcf826d86deb7dc2c
DIST moar-1.27.1.tar.gz 2812825 BLAKE2B 11998da52d8eebf0a2b1e9e82af5e78b5c559efdcc033dabc8d98dc9e324795c481e51dd63ef5eb7f46c544d60215708a967a5a47f2f87e974fc02f4cab78690 SHA512 6363bbb7399af16f844d61a630b192f866a2f9dd9a9f34caee14c7d704c52f193b3c0643053892b0483dbe0378bd87ed40bae5915bf366a877115b060d64d4b9
DIST moar-1.27.2-deps.tar.xz 1350592 BLAKE2B fc352d2f2b4a6faecdac05306306ba9c6b18c95a8844c1e9e37e0e9e7edb6ce04ef616bd1c627c688c71ab4236c3282c9bd4944347fd3bb0385f96dd7e92aab5 SHA512 e6de09efc97a682bebc6a8f21366a8982c1e211f74e0af80768e14302497b23a37863b8895a7e8fe6aa59cffd4114f57ad9db6ea6cf6cbfc18bfe0225ad8f4ff
DIST moar-1.27.2.tar.gz 2843838 BLAKE2B 600b070ac47a002cb96f4b87bc5f48a9d6ad5920ef17ba3100f30ca9852884476f41b07d38d98820e553ad0cfc28a679e55e986dfcba633f4fe89beba72ddd49 SHA512 f6ab70e929bfcec575f7f2d6e31ad6fd723355f68bc327d4ee59707b58617e635d089e501bd86cdca5d2c09c7db21fdedb7fab79e0456a5f806ab848ae0aa99b
+DIST moar-1.29.0-deps.tar.xz 1359500 BLAKE2B 302b176f2b22878a6a1eb0e5d57eeb83adf0b3dd790a070d969b4b840741700e4143d9abd7138d556cb7fa04b72412c52e8d4560cb8f925f5e6625633cbd1d4e SHA512 317df040f8541548bfec2d27557cf34a547cea60a3a921860fa50e099c792fd4a2b6822fadc7b0b4d395f7d7f338bc7cb39ef2f267a8a4df27e4d554a8b34b36
+DIST moar-1.29.0.tar.gz 2846285 BLAKE2B 4afbe74849985ac702b5847ebe640f074ea7603eff5d0ed6a04b3716373e0f73cb040c4869a469b8b36ebd964a0ed059ae3dd43d45d532753796b8478192f23f SHA512 a9d4944533aed9deeb2e87572147e522b65273e0eb0b0d04253d2d22d9e6f7c7dbf9ffa045a6e70f1d5f4b37e7e8a301f63f2a080742af90f4db2bdb20a04e18
EBUILD moar-1.24.6.ebuild 1141 BLAKE2B 6837c1c68e6c64e83a6fc3d51e0699676444231359a74e55e8229a83d41cbb59d30d22cf381c722cc34b857bb1680d104f83e0bf6163496be8538b1f85dafcd9 SHA512 4674a8715b00da1fa5ef4a3497c7df1cad6bb239445fd58ca4cd0883fc4a90bd095fc443555ad956f57b0070035bf1397ad93ca87e90db5e7d2f7f242e45cce6
EBUILD moar-1.26.0.ebuild 1141 BLAKE2B 6837c1c68e6c64e83a6fc3d51e0699676444231359a74e55e8229a83d41cbb59d30d22cf381c722cc34b857bb1680d104f83e0bf6163496be8538b1f85dafcd9 SHA512 4674a8715b00da1fa5ef4a3497c7df1cad6bb239445fd58ca4cd0883fc4a90bd095fc443555ad956f57b0070035bf1397ad93ca87e90db5e7d2f7f242e45cce6
EBUILD moar-1.27.1.ebuild 1143 BLAKE2B 3b995dadce97cddd595cc95ebcc290651b0c94255eae7d6fd36e9b8029764fb981dab2728a3ed808f9438080f5b3f0727474fe4051bd2f704e21df48a3437b90 SHA512 c29255a40fdec0fd4f37afd2d899e4ff9ed435ec5b5b14656ddbc4039572c56196dd597f61e444963096d1e0051f7e83a0ad2c4e5bc863cb8a141e134b4b1071
EBUILD moar-1.27.2.ebuild 1141 BLAKE2B 6837c1c68e6c64e83a6fc3d51e0699676444231359a74e55e8229a83d41cbb59d30d22cf381c722cc34b857bb1680d104f83e0bf6163496be8538b1f85dafcd9 SHA512 4674a8715b00da1fa5ef4a3497c7df1cad6bb239445fd58ca4cd0883fc4a90bd095fc443555ad956f57b0070035bf1397ad93ca87e90db5e7d2f7f242e45cce6
+EBUILD moar-1.29.0.ebuild 1143 BLAKE2B 3b995dadce97cddd595cc95ebcc290651b0c94255eae7d6fd36e9b8029764fb981dab2728a3ed808f9438080f5b3f0727474fe4051bd2f704e21df48a3437b90 SHA512 c29255a40fdec0fd4f37afd2d899e4ff9ed435ec5b5b14656ddbc4039572c56196dd597f61e444963096d1e0051f7e83a0ad2c4e5bc863cb8a141e134b4b1071
MISC metadata.xml 316 BLAKE2B 19b5d071afbcad1f05744cca494156dc634f3fc35afaf4828dcf1e691e75a0f47f162b6cf548e5a333441f25327970f6a71d6acb436b60a68deeb7fb44659d45 SHA512 44155ffd972d79d47e41fe2ed38583e41eaaeb9f6b0de7e52b666930906f561e73d1f604acf602750ae1bed50e516dbbe36327b47ba2005813438e0d2db070e1
diff --git a/sys-apps/moar/moar-1.29.0.ebuild b/sys-apps/moar/moar-1.29.0.ebuild
new file mode 100644
index 000000000000..928e03d26244
--- /dev/null
+++ b/sys-apps/moar/moar-1.29.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2023-2024 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
+}