net-p2p/kubo: add go version checks

And cleanup a trailing whitespace while here.

Closes: https://bugs.gentoo.org/974260
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2026-06-29 07:40:42 -04:00
parent 579d1d3be0
commit 9c887d7fc7
3 changed files with 10 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -6,7 +6,7 @@ EAPI=8
inherit go-module shell-completion systemd
# Starting at v0.37.0 migrations are builtin. Older versions still needs
# external programs to migrate so we should let the deprecated method for a
# external programs to migrate so we should let the deprecated method for a
# couple of releases more.
# Upstreams has a directory for each migration, for example fs-repo-15-to-16,

View File

@@ -6,7 +6,7 @@ EAPI=8
inherit go-module shell-completion systemd
# Starting at v0.37.0 migrations are builtin. Older versions still needs
# external programs to migrate so we should let the deprecated method for a
# external programs to migrate so we should let the deprecated method for a
# couple of releases more.
# Upstreams has a directory for each migration, for example fs-repo-15-to-16,
@@ -32,6 +32,9 @@ LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0"
SLOT="0"
KEYWORDS="amd64 ~x86"
BDEPEND="
>=dev-lang/go-1.25.0
"
DEPEND="
acct-group/ipfs
acct-user/ipfs

View File

@@ -6,7 +6,7 @@ EAPI=8
inherit go-module shell-completion systemd
# Starting at v0.37.0 migrations are builtin. Older versions still needs
# external programs to migrate so we should let the deprecated method for a
# external programs to migrate so we should let the deprecated method for a
# couple of releases more.
# Upstreams has a directory for each migration, for example fs-repo-15-to-16,
@@ -32,6 +32,9 @@ LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
BDEPEND="
>=dev-lang/go-1.26.2
"
DEPEND="
acct-group/ipfs
acct-user/ipfs