app-containers/umoci - 0.4.7 (gentoo)

Search

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.4.7 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

COMMIT=17f38511d61846e2fb8ec01a1532f3ef5525e71d

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 main.gitCommit=${COMMIT} -X main.version=${PV}" \
		-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
}

Dependencies

BDEPEND

dev-go/go-md2man

Manifest for 0.4.7

Type File Size Source URLs
DIST umoci-0.4.7.tar.gz 2515579 bytes https://github.com/opencontainers/umoci/archive/v0.4.7.tar.gz