mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
app-emulation/umoci: 0.4.6 bump
Closes: https://bugs.gentoo.org/768555 Closes: https://bugs.gentoo.org/771084 Signed-off-by: William Hubbs <williamh@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST umoci-0.2.1.tar.gz 241472 BLAKE2B 2802fcb14e717a6460f9dc06226d3b430cce2181838a32064e86987131317947a4b117e91d11f981fa1df027804dbf2d92472b5c21749783b4f2ed371c699e7e SHA512 dfd7bbd1afd232400a9bffaf6c074d28ce4ce696c9f3c70bd436cc41b96928415d0793d57b1cf34dd70efd7d0e5eb567eaeea65d793c27ff9ea46fb190bd1807
|
||||
DIST umoci-0.4.6.tar.gz 2273608 BLAKE2B d5a36c78918697b9c8f54a5c4b914a9124b5e989dff3efc81a9f64f1bd276189d15a565a6ec2e8d4021925017e9a7a17f7cc5359a552f7c57dda414c25d2fb02 SHA512 0614dd583e00b6e2e69256f1ae1d3316e5bb5989a177d18c5ceacf3af18ab82ccf8edef879b6c813855d878d5af53c541ac433d81e6c20796885a26c57564118
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
COMMIT=5efa06acfb3bb4e65d2711cf5255970948e047cf
|
||||
inherit go-module
|
||||
|
||||
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"
|
||||
|
||||
BDEPEND="dev-go/go-md2man"
|
||||
|
||||
RESTRICT+=" test "
|
||||
|
||||
src_compile() {
|
||||
go build -buildmode=pie -mod=vendor \
|
||||
-ldflags "-w -X main.gitCommit=${COMMIT} -X main.version=${PV}" \
|
||||
-o "bin/${PN}" ./cmd/${PN} || die
|
||||
cd doc/man
|
||||
for f in *.1.md; do
|
||||
go-md2man -in ${f} -out ${f%%.md} || die
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/${PN}
|
||||
doman doc/man/*.1
|
||||
dodoc CHANGELOG.md
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user