From 73e1ef82f6e2bfc0aabba4f509ca5e1c0600b70a Mon Sep 17 00:00:00 2001 From: Terin Stock Date: Fri, 16 Oct 2026 12:14:50 +0200 Subject: app-containers/oras: add 1.3.4, drop 1.3.0 --- app-containers/oras/oras-1.3.4.ebuild | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 app-containers/oras/oras-1.3.4.ebuild (limited to 'app-containers/oras/oras-1.3.4.ebuild') diff --git a/app-containers/oras/oras-1.3.4.ebuild b/app-containers/oras/oras-1.3.4.ebuild new file mode 100644 index 0000000..e13153f --- /dev/null +++ b/app-containers/oras/oras-1.3.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 2020-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="OCI registry client" +HOMEPAGE="https://github.com/oras-project/oras" +BDEPEND=">=dev-lang/go-1.25.7" +SRC_URI="https://github.com/oras-project/oras/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://share.terinstock.com/${P}-vendor.tar.xz" +COMMIT="db9e29505c3059f2b8fde34ae8cae266c5c765e9" + +LICENSE="BSD" +LICENSE+=" Apache-2.0 MIT BSD" +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + ego build -ldflags "-X oras.land/oras/internal/version.BuildMetadata="" \ + -X oras.land/oras/internal/version.GitCommit=${COMMIT} \ + -X oras.land/oras/internal/version.GitTreeState=clean" \ + ./cmd/oras +} + +src_test() { + ego test ./... +} + +src_install() { + dobin oras +} -- cgit v1.3