Install this version:
emerge -a =app-backup/kopia-0.23.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-backup/kopia-0.23.1
Or alternatively:
emerge --autounmask-write -a =app-backup/kopia-0.23.1
# 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.8"
src_compile() {
ego build -v -x -work -o ${PN}
}
src_test() {
ego test -v $(ego list ./... | grep -v /vendor/)
}
src_install() {
dobin ${PN}
einstalldocs
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | kopia-0.23.1-deps.tar.xz | 214268768 bytes | https://github.com/itaiferber/gentoo-distfiles/releases/download//kopia-0.23.1/kopia-0.23.1-deps.tar.xz |
| DIST | kopia-0.23.1.tar.gz | 3128964 bytes | https://github.com/kopia/kopia/archive/refs/tags/v0.23.1.tar.gz |