diff options
author | William Hubbs <williamh@gentoo.org> | 2021-02-17 11:54:28 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2021-02-17 11:57:32 -0600 |
commit | 29de95b6e11481fd080cf3b79fae9bd2f0a01d4f (patch) | |
tree | 1517284a2dc5846e88974e057c35c78f95677ad7 /app-emulation | |
parent | net-wireless/kismet-rest: python bump (diff) | |
download | gentoo-29de95b6e11481fd080cf3b79fae9bd2f0a01d4f.tar.gz gentoo-29de95b6e11481fd080cf3b79fae9bd2f0a01d4f.tar.bz2 gentoo-29de95b6e11481fd080cf3b79fae9bd2f0a01d4f.zip |
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>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/umoci/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/umoci/umoci-0.4.6.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/app-emulation/umoci/Manifest b/app-emulation/umoci/Manifest index 826a5a188950..0f09907185d6 100644 --- a/app-emulation/umoci/Manifest +++ b/app-emulation/umoci/Manifest @@ -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 diff --git a/app-emulation/umoci/umoci-0.4.6.ebuild b/app-emulation/umoci/umoci-0.4.6.ebuild new file mode 100644 index 000000000000..f315c80c886b --- /dev/null +++ b/app-emulation/umoci/umoci-0.4.6.ebuild @@ -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 +} |