summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-12-19 23:40:42 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-12-20 00:51:47 -0800
commitcc0c1e49ee53f01fe49a5742a3b441c1c9f6fa8b (patch)
tree389e7f81d1949e65db3bfd0183fc2347b19718ba /app-emulation/umoci/umoci-0.2.1.ebuild
parentMove {app-emulation -> app-containers}/snapd (diff)
downloadgentoo-cc0c1e49ee53f01fe49a5742a3b441c1c9f6fa8b.tar.gz
gentoo-cc0c1e49ee53f01fe49a5742a3b441c1c9f6fa8b.tar.bz2
gentoo-cc0c1e49ee53f01fe49a5742a3b441c1c9f6fa8b.zip
Move {app-emulation -> app-containers}/umoci
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-emulation/umoci/umoci-0.2.1.ebuild')
-rw-r--r--app-emulation/umoci/umoci-0.2.1.ebuild42
1 files changed, 0 insertions, 42 deletions
diff --git a/app-emulation/umoci/umoci-0.2.1.ebuild b/app-emulation/umoci/umoci-0.2.1.ebuild
deleted file mode 100644
index ad66e4afe83d..000000000000
--- a/app-emulation/umoci/umoci-0.2.1.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-EGO_PN="github.com/openSUSE/umoci"
-COMMIT=0465f83826bc4f52e6e3c4dbb1022ec5792c421f
-inherit golang-vcs-snapshot
-
-DESCRIPTION="Manipulation tool for OCI images"
-HOMEPAGE="https://github.com/openSUSE/umoci"
-SRC_URI="https://github.com/openSUSE/umoci/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-DEPEND="dev-go/go-md2man"
-
-S="${WORKDIR}/${P}/src/${EGO_PN}"
-
-RESTRICT="test"
-
-src_compile() {
- set -- env GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
- go build -v -work -x \
- -ldflags "-w -X main.gitCommit=${COMMIT} -X main.version=${PV}" \
- -o "bin/${PN}" ./cmd/${PN}
- echo "$@"
- "$@" || die
- cd man
- for f in *.1.md; do
- go-md2man -in ${f} -out ${f%%.md} || die
- done
-}
-
-src_install() {
-dobin bin/${PN}
-doman man/*.1
-dodoc CHANGELOG.md
-einstalldocs
-}