app-containers/umoci - 0.6.0 (gentoo)

Search

Install

Install this version:

emerge -a =app-containers/umoci-0.6.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-containers/umoci-0.6.0

Or alternatively:

emerge --autounmask-write -a =app-containers/umoci-0.6.0

Package Information

Description:
Manipulation tool for OCI images
Homepage:
https://github.com/opencontainers/umoci
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
0.6.0 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit edo go-module

GOPROJECT=github.com/opencontainers/umoci
COMMIT=1c44d6f2f9e4b50f5d2a99463f540acf9915dd47

DESCRIPTION="Manipulation tool for OCI images"
HOMEPAGE="https://github.com/opencontainers/umoci"
SRC_URI="https://github.com/opencontainers/umoci/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"

BDEPEND="dev-go/go-md2man"

src_compile() {
	ego build -buildmode=pie -mod=vendor \
		-ldflags "-w -X ${GOPROJECT}.gitCommit=${COMMIT}" \
		-o "bin/${PN}" ./cmd/${PN}

	cd doc/man || die
	for f in *.1.md; do
		edo go-md2man -in ${f} -out ${f%%.md}
	done
}

src_install() {
	dobin bin/${PN}
	doman doc/man/*.1
	local DOCS=( CHANGELOG.md README.md )
	einstalldocs
}

Inherited Eclasses

edo

Dependencies

BDEPEND

dev-go/go-md2man

Manifest for 0.6.0

Type File Size Source URLs
DIST umoci-0.6.0.tar.gz 3235280 bytes https://github.com/opencontainers/umoci/archive/v0.6.0.tar.gz