mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
app-backup/kopia: add go to BDEPEND
Kopia's go.mod specifies go version 1.25.0, but this wasn't explicitly listed in its BDEPEND when it should have been. Closes: https://bugs.gentoo.org/974561 Signed-off-by: Itai Ferber <itai@itaiferber.net>
This commit is contained in:
32
app-backup/kopia/kopia-0.22.3-r1.ebuild
Normal file
32
app-backup/kopia/kopia-0.22.3-r1.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Kopia - Fast And Secure Open-Source Backup"
|
||||
HOMEPAGE="https://github.com/kopia/kopia"
|
||||
SRC_URI="
|
||||
https://github.com/kopia/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/itaiferber/gentoo-distfiles/releases/download/${CATEGORY}/${P}/${P}-deps.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64"
|
||||
|
||||
BDEPEND=">=dev-lang/go-1.25"
|
||||
|
||||
src_compile() {
|
||||
ego build -v -x -work -o ${PN}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ego test -v $(ego list ./... | grep -v /vendor/)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user