From a72d533b95595e753a6ffd1db7d2c4d1639ffc6d Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 21 Feb 2024 15:46:51 -0600 Subject: [PATCH] dev-util/act: new package, add 0.2.59 This utility allows you to run github workflows locally. Signed-off-by: William Hubbs --- dev-util/act/Manifest | 2 ++ dev-util/act/act-0.2.59.ebuild | 22 ++++++++++++++++++++++ dev-util/act/metadata.xml | 11 +++++++++++ 3 files changed, 35 insertions(+) create mode 100644 dev-util/act/Manifest create mode 100644 dev-util/act/act-0.2.59.ebuild create mode 100644 dev-util/act/metadata.xml diff --git a/dev-util/act/Manifest b/dev-util/act/Manifest new file mode 100644 index 0000000000000..0c7ab72844705 --- /dev/null +++ b/dev-util/act/Manifest @@ -0,0 +1,2 @@ +DIST act-0.2.59-deps.tar.xz 141042948 BLAKE2B d433f89748585a642e06d31f1699bdd070c5d484f2115d3290238442adc96ea4abfa1b67c1b0dd05d790512545c25f8fa2ce0529f94d89f8475e7cc70d8025f2 SHA512 6550c886c117bdf148ebbe25f88bb2696fb52d5d9770439a6494e9cc1113a69e491206751e695edc85cf9c180c041eac61a7a1e48ddf316dfad2dccca15920e6 +DIST act-0.2.59.tar.gz 9271012 BLAKE2B 69d692cc2df6c00cbacf5015fb56eff19f741f9081d70d0e88b5f27a3743cddd9f4baecc2d1d88edd4416282c7195e691b49fd0bef269c8b100b695bdb61b375 SHA512 30b61ea07e31ca9ba7ee8a5111a743ab486c4e2b628796e92c879ed2c055594144506e370002f54f8c3544eb55023f11cb336c9323830edbdd5e5898b5a6b661 diff --git a/dev-util/act/act-0.2.59.ebuild b/dev-util/act/act-0.2.59.ebuild new file mode 100644 index 0000000000000..677e4e2243502 --- /dev/null +++ b/dev-util/act/act-0.2.59.ebuild @@ -0,0 +1,22 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="run github workflows locally" +HOMEPAGE="https://nektosact.com" +SRC_URI="https://github.com/nektos/act/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + emake VERSION="${PV}" build +} + +src_install() { +dobin dist/local/act +} diff --git a/dev-util/act/metadata.xml b/dev-util/act/metadata.xml new file mode 100644 index 0000000000000..410072af64da2 --- /dev/null +++ b/dev-util/act/metadata.xml @@ -0,0 +1,11 @@ + + + + + williamh@gentoo.org + William Hubbs + + + nektos/act + +