mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-util/forgejo-runner: drop 12.5.3, 12.6.1, 12.7.2
Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
@@ -1,8 +1,2 @@
|
||||
DIST forgejo-runner-12.5.3-deps.tar.xz 54999260 BLAKE2B 59d88a51db7812c8b5083627bef25500b4924fbaf0d043118f75592db2d19c3514a7ff27f26cfdae8f20bdff1c7aff2a34b1d4bdec9dcd7e03ee1382e121b9f7 SHA512 48f4579a32393c235c5fd45e605bddf574a45260acd14326e609120ae3cdb4e2acf13be0ece01e390a6db7f797e633cc81e0d36c3cd96dabbcc5a624a8d9227a
|
||||
DIST forgejo-runner-12.5.3.tar.gz 3476349 BLAKE2B 343acfc40cb137fc9111b38e4a07776cab6a8f125425b5d1125065c743336f23268d0dd608b8cc2e3a51055a7d954f9c428c050efa8c3e50baa1ec7369f7f5fd SHA512 e55a5042cdb9c1e8325d0f111f8d9bdc5640c7ed1ed0cfd6e7b6bd383fbf08677d877212733eab2d2736c58c9b051074d0921a2022deeb110e77347b70a88832
|
||||
DIST forgejo-runner-12.6.1-deps.tar.xz 54995188 BLAKE2B bbc273aaa5a7ec4f071f2309070957a4f4d53581baaa498065b03aba0e2b7eb7564c25627a8bb2dd0d803190bd8c4b25ac34f5d40bfb0ca0f66d7c999eac140c SHA512 a4fa6b42d79b3eb5230ce65a44fbf8057d11705b409a5fba4e19ea05e4cd12eadd17f0ad675bcfb23c0ed48f378ed2223b1c2f7b662e19c7c080f01bf86b96ba
|
||||
DIST forgejo-runner-12.6.1.tar.gz 3481504 BLAKE2B 7dd5c22097ec46935af2854a8fd676564ec07bc06eb626a94ca89cc12af00fc35fac169495e92126d9be5dc294e928dee1b79f8a4f41bb9eed81c1653f106f6c SHA512 99f111bde4829c2292273dc5083f2499102e024b903e49de9094005ffe78db403f90af9b62e487d52e2bfb340e53a796bad73b4206a2487c9cec73049aff1c4c
|
||||
DIST forgejo-runner-12.7.2-deps.tar.xz 96855144 BLAKE2B 9eab44901f3b0648315ecec10348c3679c6200cc7b09f3a151ec0b483e43e0780311d7f972a15765abf983ce3f7bc7f65ed893ebcd1057e7c1529c760d151cb4 SHA512 e8ae9c21c5b4f4ac60d2b13bbeafffc1dcf2869bbe2f4319f521e5e03005133d3fdf9656c3692b119614521baae6cca78d706638ba285d9c1c5c1ee9d9554419
|
||||
DIST forgejo-runner-12.7.2.tar.gz 3500658 BLAKE2B 5ced7426cc6c2783e4d8c1f6fa12e3be39daa821d0edbbda6c36440426032f521631ca01b4ccdbb28d43fb64704bbcd74e5b26aaf8b1b361cbf328ca7b2f39da SHA512 20be1d9c2be48197008dc4d8ce6d950b62fc09e43e7105fd509d5e67f261acaf5470a504a6c3d09c076c6f3971a2d16f1a8d4aefadee3041ae203af21d1ebe1c
|
||||
DIST forgejo-runner-12.7.3-deps.tar.xz 96877712 BLAKE2B e2d1558baa423e1815ee3fc68c22cce6168a7c09df930c0d26a5b39f56e34b8ab16d8a8dd55bdc9db44f68a808803830be128831955c7d3da72d8e69cc72cd84 SHA512 abda81b16f2cb72c962b69d0fc49b511e92403d7b27bec9c34ad8c8ecdef8d4e4b2db52e851def249b6c41ca4f299b256a9a52d3246075bdb29a7655c23af235
|
||||
DIST forgejo-runner-12.7.3.tar.gz 3501042 BLAKE2B 6f544ee6e2e3c13427500c2699d3e4fa91331628aa0c524952720d41ce251542080c4d4f99e288161372fb5f614e5236089d76557f9b7ff89d5823f0339730d2 SHA512 34e4e38669e20058c5a6d5743986b8ce5a5cf829ba93c34cecc70f1cd42dc334c1f1cbce56e7cdf295d9d966c8ff0a9dab803e19a36c04883891adf34304af0b
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
# Copyright 2024-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit go-module systemd
|
||||
|
||||
DESCRIPTION="A daemon that connects to a Forgejo instance and runs jobs for CI"
|
||||
HOMEPAGE="https://code.forgejo.org/forgejo/runner https://forgejo.org/docs/next/admin/actions/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://code.forgejo.org/forgejo/runner.git"
|
||||
else
|
||||
SRC_URI="
|
||||
https://code.forgejo.org/forgejo/runner/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-deps.tar.xz
|
||||
"
|
||||
S="${WORKDIR}/runner"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="examples"
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
>=dev-lang/go-1.24.0
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
git-r3_src_unpack
|
||||
go-module_live_vendor
|
||||
else
|
||||
go-module_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# export version information
|
||||
# https://github.com/gentoo/guru/pull/205
|
||||
# https://forums.gentoo.org/viewtopic-p-8831646.html
|
||||
local VERSION
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
VERSION="$(
|
||||
git describe --tags --first-parent --abbrev=7 --long --dirty --always \
|
||||
| sed -e "s/^v//g"
|
||||
)"
|
||||
else
|
||||
VERSION="${PVR}"
|
||||
fi
|
||||
|
||||
local EXTRA_GOFLAGS_LD=(
|
||||
# "-w" # disable DWARF generation
|
||||
# "-s" # disable symbol table
|
||||
"-X=code.forgejo.org/forgejo/runner/v11/internal/pkg/ver.version=v${VERSION}"
|
||||
)
|
||||
|
||||
GOFLAGS+=" '-ldflags=${EXTRA_GOFLAGS_LD[*]}'"
|
||||
|
||||
ego build -tags 'netgo osusergo' -o forgejo-runner
|
||||
|
||||
# Makefile does this
|
||||
# emake forgejo-runner
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin forgejo-runner
|
||||
|
||||
systemd_dounit "contrib/forgejo-runner.service"
|
||||
|
||||
dodoc "README.md"
|
||||
if use examples; then
|
||||
dodoc -r "examples"
|
||||
docompress -x "/usr/share/doc/${PF}/examples"
|
||||
fi
|
||||
}
|
||||
@@ -1,79 +0,0 @@
|
||||
# Copyright 2024-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit go-module systemd
|
||||
|
||||
DESCRIPTION="A daemon that connects to a Forgejo instance and runs jobs for CI"
|
||||
HOMEPAGE="https://code.forgejo.org/forgejo/runner https://forgejo.org/docs/next/admin/actions/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://code.forgejo.org/forgejo/runner.git"
|
||||
else
|
||||
SRC_URI="
|
||||
https://code.forgejo.org/forgejo/runner/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-deps.tar.xz
|
||||
"
|
||||
S="${WORKDIR}/runner"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="examples"
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
>=dev-lang/go-1.24.0
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
git-r3_src_unpack
|
||||
go-module_live_vendor
|
||||
else
|
||||
go-module_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# export version information
|
||||
# https://github.com/gentoo/guru/pull/205
|
||||
# https://forums.gentoo.org/viewtopic-p-8831646.html
|
||||
local VERSION
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
VERSION="$(
|
||||
git describe --tags --first-parent --abbrev=7 --long --dirty --always \
|
||||
| sed -e "s/^v//g"
|
||||
)"
|
||||
else
|
||||
VERSION="${PVR}"
|
||||
fi
|
||||
|
||||
local EXTRA_GOFLAGS_LD=(
|
||||
# "-w" # disable DWARF generation
|
||||
# "-s" # disable symbol table
|
||||
"-X=code.forgejo.org/forgejo/runner/v11/internal/pkg/ver.version=v${VERSION}"
|
||||
)
|
||||
|
||||
GOFLAGS+=" '-ldflags=${EXTRA_GOFLAGS_LD[*]}'"
|
||||
|
||||
ego build -tags 'netgo osusergo' -o forgejo-runner
|
||||
|
||||
# Makefile does this
|
||||
# emake forgejo-runner
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin forgejo-runner
|
||||
|
||||
systemd_dounit "contrib/forgejo-runner.service"
|
||||
|
||||
dodoc "README.md"
|
||||
if use examples; then
|
||||
dodoc -r "examples"
|
||||
docompress -x "/usr/share/doc/${PF}/examples"
|
||||
fi
|
||||
}
|
||||
@@ -1,88 +0,0 @@
|
||||
# Copyright 2024-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit go-module systemd
|
||||
|
||||
DESCRIPTION="A daemon that connects to a Forgejo instance and runs jobs for CI"
|
||||
HOMEPAGE="https://code.forgejo.org/forgejo/runner https://forgejo.org/docs/next/admin/actions/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://code.forgejo.org/forgejo/runner.git"
|
||||
else
|
||||
SRC_URI="
|
||||
https://code.forgejo.org/forgejo/runner/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-deps.tar.xz
|
||||
"
|
||||
S="${WORKDIR}/runner"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="examples docker podman lxc"
|
||||
RESTRICT="test"
|
||||
REQUIRED_USE="|| ( docker podman lxc )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-lang/go-1.25.8
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
acct-user/runner[docker=,podman=,lxc=]
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-systemd-rundir.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
git-r3_src_unpack
|
||||
go-module_live_vendor
|
||||
else
|
||||
go-module_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# export version information
|
||||
# https://github.com/gentoo/guru/pull/205
|
||||
# https://forums.gentoo.org/viewtopic-p-8831646.html
|
||||
local VERSION
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
VERSION="$(
|
||||
git describe --tags --first-parent --abbrev=7 --long --dirty --always \
|
||||
| sed -e "s/^v//g"
|
||||
)"
|
||||
else
|
||||
VERSION="${PVR}"
|
||||
fi
|
||||
|
||||
local EXTRA_GOFLAGS_LD=(
|
||||
# "-w" # disable DWARF generation
|
||||
# "-s" # disable symbol table
|
||||
"-X=code.forgejo.org/forgejo/runner/v11/internal/pkg/ver.version=v${VERSION}"
|
||||
)
|
||||
|
||||
GOFLAGS+=" '-ldflags=${EXTRA_GOFLAGS_LD[*]}'"
|
||||
|
||||
ego build -tags 'netgo osusergo' -o forgejo-runner
|
||||
|
||||
# Makefile does this
|
||||
# emake forgejo-runner
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin forgejo-runner
|
||||
|
||||
systemd_dounit "contrib/forgejo-runner.service"
|
||||
|
||||
dodoc "README.md"
|
||||
if use examples; then
|
||||
dodoc -r "examples"
|
||||
docompress -x "/usr/share/doc/${PF}/examples"
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user