dev-util/act: new package, add 0.2.59

This utility allows you to run github workflows locally.

Signed-off-by: William Hubbs <williamh@gentoo.org>
This commit is contained in:
William Hubbs
2024-02-21 15:46:51 -06:00
parent 7938c21e26
commit a72d533b95
3 changed files with 35 additions and 0 deletions

2
dev-util/act/Manifest Normal file
View File

@@ -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

View File

@@ -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
}

11
dev-util/act/metadata.xml Normal file
View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>williamh@gentoo.org</email>
<name>William Hubbs</name>
</maintainer>
<upstream>
<remote-id type="github">nektos/act</remote-id>
</upstream>
</pkgmetadata>