diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-07 00:00:56 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-07 00:00:56 +0100 |
commit | 7bcfea9c5e79a425a62a66bba477b9d3c0d7fdd0 (patch) | |
tree | 02bad8e4f1f060d4858a1a2ec3fc9404f0b7a197 /sys-apps/moar | |
parent | 43c2a85d4e20318dd3d35872e348707900870067 (diff) |
gentoo auto-resync : 07:05:2024 - 00:00:56
Diffstat (limited to 'sys-apps/moar')
-rw-r--r-- | sys-apps/moar/Manifest | 3 | ||||
-rw-r--r-- | sys-apps/moar/moar-1.23.12.ebuild | 51 |
2 files changed, 54 insertions, 0 deletions
diff --git a/sys-apps/moar/Manifest b/sys-apps/moar/Manifest index af243c6d85f2..cdecbfc9844c 100644 --- a/sys-apps/moar/Manifest +++ b/sys-apps/moar/Manifest @@ -2,9 +2,12 @@ DIST moar-1.23.10-deps.tar.xz 37188500 BLAKE2B a5c92f8e56d4c7588265132f33089f108 DIST moar-1.23.10.tar.gz 2804040 BLAKE2B f3e4b53b3457461766c04d81f081c01a7d12a261502b1c59970099b403c562bd3276510ab0b59d1629e9d5e97922cc6a9839ae4525f62cecad752b5d65ce27ac SHA512 835b9910fb6451a58e04008517ede25644b897e94cfd5fc7ed5d7104107e91458b77e2a6230668169c9f213df297335767de6bc467a6f6e928b53d2e1060e4e9 DIST moar-1.23.11-deps.tar.xz 1228028 BLAKE2B f8895cef15f6ab0eb5dcf826d86deb7dc2c67dd6e692e456d5d98830fba93b3a17e5d3b3026c0f7ea10e3810db1f17ccb27b3cb704cff1c9bcbd267fbf68acbd SHA512 f12f2fa563b5170c8fe092f15476692815c2e0ab341d8becff504e5ded426efae5fc20697ef935ca5d037fa40abbfebbe5d0f59ac4e805e2d7d60e19070df3d4 DIST moar-1.23.11.tar.gz 2804497 BLAKE2B 5472aa0cbcf3e781e0ef57ebf7d5424e481f96acd04f82e8e816adf4e0182a85fcd16567daa986564f09f0a54416cbf02b90f6a5cd50250d4593392a6bed1b45 SHA512 31d64d97475e2f82af19d770010d0972c469105d1b797cf63521021906a5eef666932b9227ff94d60cca20dfcb956193954687939b92e1042a1473052d4539f4 +DIST moar-1.23.12-deps.tar.xz 1228028 BLAKE2B f8895cef15f6ab0eb5dcf826d86deb7dc2c67dd6e692e456d5d98830fba93b3a17e5d3b3026c0f7ea10e3810db1f17ccb27b3cb704cff1c9bcbd267fbf68acbd SHA512 f12f2fa563b5170c8fe092f15476692815c2e0ab341d8becff504e5ded426efae5fc20697ef935ca5d037fa40abbfebbe5d0f59ac4e805e2d7d60e19070df3d4 +DIST moar-1.23.12.tar.gz 2804471 BLAKE2B b366fa309000622c7eee59613895381bfd736a1ef6291ae7771e04aa93654f538872afa121c6fac360bb5d9436d4533986534bdc129afa49efa6d940df30c91d SHA512 1e096da3549c33722dbeb2ef8c223138b926a6eea8562efd95ef260b2adc2f5bf60d9417540c942b9726619e3bb7255f6d7bb7f2fbefdbcc6784394739573057 DIST moar-1.23.9-deps.tar.xz 37188500 BLAKE2B a5c92f8e56d4c7588265132f33089f1086fb7a14b1d1023caf7594cbda16772776751a80d44f451a9c5c765bd03d25687a63b5a00c4a50603b4598162920d840 SHA512 44c924339dbde95b647c464a00382786dfd8adfc72f307a9df63ed39f85fefe76260fde082a39738fb97c571217e8d591bdeada054dbe75ed56aa0156e7cf2fa DIST moar-1.23.9.tar.gz 2804191 BLAKE2B d5663fedd70fc80d70a206c276ece6ec11da4f4b4dc396a3e11b1fb8edd5bd9f3395e943158c4bb297b5ebfeecd8f61bdbaaff79e78c4a89458f1b1a02db0e71 SHA512 9ab4a3e49b66b39f642b6a1f882c0980a4e755e3e127ca37d1319615ae836fe3250676a8c0e95ccd0f8e714357df5dc00235bf67be6097a7b2811f0e3bf02e9f EBUILD moar-1.23.10.ebuild 986 BLAKE2B e9f5c41907da162be3ffaea0fe77bc7aea55176d4c15ad3833fc72806c7bd24fdcb9ccf9b389d20ea037628f6c6858553465dd5f6710971d46ae0489d7acc28a SHA512 a65b9b98e31c52869882d4b0b4ad855383a2ddd444c74883d70a64be377c4d6706eed78d930ebbfc7cc61a83cad793d4f0d9d652ab96ac03d59753456f226b6a EBUILD moar-1.23.11.ebuild 1097 BLAKE2B 17e50fb8feed6ce38e7016cc781fa39256b5d8090480386fc7172e49423126dc898b857c154323a2647e47c5ad390a8915b2797428adca544239e42b5456c0c6 SHA512 886afe4a9d3bf1ef75859fd59856b94644f8ddcdc4de3d0d99f9abae96f69781e799cefc5dd064f3618bb08ffc2743025b0b42285b4f1404dbf1fc4c70bc4037 +EBUILD moar-1.23.12.ebuild 1143 BLAKE2B 3b995dadce97cddd595cc95ebcc290651b0c94255eae7d6fd36e9b8029764fb981dab2728a3ed808f9438080f5b3f0727474fe4051bd2f704e21df48a3437b90 SHA512 c29255a40fdec0fd4f37afd2d899e4ff9ed435ec5b5b14656ddbc4039572c56196dd597f61e444963096d1e0051f7e83a0ad2c4e5bc863cb8a141e134b4b1071 EBUILD moar-1.23.9.ebuild 984 BLAKE2B 59e8ecfe756c1a600b9ca5e39bc43663264434288be4e7a1a7064c8e2b7dbbf47f130ebe847e6385e28d92aba622d5999a1f48777fe2eae62cf0aec56c24d78e SHA512 a4e31acdd2bc81ff9789e9b1c871a3d080dccf2532c4210f7c1b4a02b2a6366a98cf46eb785f9b896523ef401b71c4e3cda313c9162f1d8ea6151a2b54db8fd7 MISC metadata.xml 316 BLAKE2B 19b5d071afbcad1f05744cca494156dc634f3fc35afaf4828dcf1e691e75a0f47f162b6cf548e5a333441f25327970f6a71d6acb436b60a68deeb7fb44659d45 SHA512 44155ffd972d79d47e41fe2ed38583e41eaaeb9f6b0de7e52b666930906f561e73d1f604acf602750ae1bed50e516dbbe36327b47ba2005813438e0d2db070e1 diff --git a/sys-apps/moar/moar-1.23.12.ebuild b/sys-apps/moar/moar-1.23.12.ebuild new file mode 100644 index 000000000000..928e03d26244 --- /dev/null +++ b/sys-apps/moar/moar-1.23.12.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 +} |