From e381e5c50ef7f1f0da46af3c1d84032f25abbdc6 Mon Sep 17 00:00:00 2001 From: Manuel RĂ¼ger Date: Wed, 6 Jun 2018 13:53:41 +0200 Subject: app-emulation/img: Version bump to 0.4.4 Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- app-emulation/img/Manifest | 1 + app-emulation/img/img-0.4.4.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 app-emulation/img/img-0.4.4.ebuild (limited to 'app-emulation/img') diff --git a/app-emulation/img/Manifest b/app-emulation/img/Manifest index 0c6cbc97f424..5a4dbe256755 100644 --- a/app-emulation/img/Manifest +++ b/app-emulation/img/Manifest @@ -1,2 +1,3 @@ DIST img-0.3.9.tar.gz 6153717 BLAKE2B b561ed349c2b08f0e3448886b6c979d86fd6d4f47af0f03d7dd479a12f078b99f39e10d6a6b3ba9caffe2a9966102e3f3069fa6eacb70bb36f9842314e8a8e7b SHA512 23bf1e85cb9238742ffef44408bece52b5b0fefbeae9541a7740a4d798d1dc2c0f8efd02d8342842753925135dee843c4a7a20abe3a87ce1c475178461c9b8da DIST img-0.4.2.tar.gz 5622223 BLAKE2B 0a97a169111c359ec784c2f2a1acc5c67a2495003819403ba71d2462ee373f36540b03b6a581481e659fec51c84aaf17f9b0129481d060239e0d09c08777c646 SHA512 c9bd8cdfbc18515d64cbd36a3b9259381f582eff02c22a437960f098c139c9be784d4fcc225f66540e4c243b05e568250dc5fd3c1fdb09cbbcb9227db18e47c6 +DIST img-0.4.4.tar.gz 5626989 BLAKE2B ba67acb795cb4e1da412773fe37be5c64fe0743d527e2565fe03fabad0cf45cbb3c2abba24da9346b5aa25842be69150d9d195e4ceb737a6ac5a47f372da9816 SHA512 718ced82f7df555c8c3f35c7e466842129190d422fc36a82feae4837045d65f86ba2e162c590369dcc758f3f3ddab21f758b03131796f41daab186df06e96697 diff --git a/app-emulation/img/img-0.4.4.ebuild b/app-emulation/img/img-0.4.4.ebuild new file mode 100644 index 000000000000..1850a5472769 --- /dev/null +++ b/app-emulation/img/img-0.4.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit golang-build golang-vcs-snapshot + +EGO_PN="github.com/genuinetools/img" +EGIT_COMMIT="v${PV}" +GIT_COMMIT="3e14a5ba47c580651b08fa2d63d5f4af42ebb180" +ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="Standalone daemon-less unprivileged Dockerfile and OCI container image builder" +HOMEPAGE="https://github.com/genuinetools/img" +SRC_URI="${ARCHIVE_URI}" +LICENSE="MIT" +SLOT="0" +IUSE="seccomp" + +RESTRICT="test" + +src_compile() { + local TAGS=$(usex seccomp 'seccomp' '') + pushd src/${EGO_PN} || die + GOPATH="${S}" go build -tags "noembed ${TAGS}" -v -ldflags "-X ${EGO_PN}/version.GITCOMMIT=${GIT_COMMIT} -X ${EGO_PN}/version.VERSION=${PV}" -o "${S}"/bin/img . || die + popd || die +} + +src_install() { + dobin bin/* + dodoc -r src/${EGO_PN}/README.md +} -- cgit v1.2.3-65-gdbad