From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BDF2C138335 for ; Tue, 12 Jun 2018 11:56:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7EDC4E087C; Tue, 12 Jun 2018 11:56:20 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 48B63E087B for ; Tue, 12 Jun 2018 11:56:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 50300335C71 for ; Tue, 12 Jun 2018 11:56:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3DB1F2C2 for ; Tue, 12 Jun 2018 11:56:16 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1528804552.e3de3fd14f6e4f1aae1a06c8149a342eed438bb6.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/img/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/img/Manifest app-emulation/img/img-0.4.5.ebuild X-VCS-Directories: app-emulation/img/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: e3de3fd14f6e4f1aae1a06c8149a342eed438bb6 X-VCS-Branch: master Date: Tue, 12 Jun 2018 11:56:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c60efa84-9583-4904-8b7d-3fd21dff636b X-Archives-Hash: 7374d4add6cf2cf707af07b302685588 commit: e3de3fd14f6e4f1aae1a06c8149a342eed438bb6 Author: Manuel Rüger gentoo org> AuthorDate: Tue Jun 12 11:54:07 2018 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Tue Jun 12 11:55:52 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3de3fd1 app-emulation/img: Version bump to 0.4.5 Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-emulation/img/Manifest | 1 + app-emulation/img/img-0.4.5.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/app-emulation/img/Manifest b/app-emulation/img/Manifest index abf96aef241..e849d2db121 100644 --- a/app-emulation/img/Manifest +++ b/app-emulation/img/Manifest @@ -1 +1,2 @@ DIST img-0.4.4.tar.gz 5626989 BLAKE2B ba67acb795cb4e1da412773fe37be5c64fe0743d527e2565fe03fabad0cf45cbb3c2abba24da9346b5aa25842be69150d9d195e4ceb737a6ac5a47f372da9816 SHA512 718ced82f7df555c8c3f35c7e466842129190d422fc36a82feae4837045d65f86ba2e162c590369dcc758f3f3ddab21f758b03131796f41daab186df06e96697 +DIST img-0.4.5.tar.gz 5635062 BLAKE2B 7161225494c8db0f6a91cda186d9c5804eff9f5fec5645dd1b61ac5f76de10ad8d63f2723030b9e3e886f292ce2c4a8d1e325c0adff759893b6455dc2c540e51 SHA512 ca427127b716f69d474912fad1e8a24008d671c3da266560466a1ff54690439fc3bc04b736f3ae3e12534a708ad4f6b9a6c910334dfc68ce2e1f63ecb1a5cac5 diff --git a/app-emulation/img/img-0.4.5.ebuild b/app-emulation/img/img-0.4.5.ebuild new file mode 100644 index 00000000000..dc566ad2404 --- /dev/null +++ b/app-emulation/img/img-0.4.5.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="64f47e3c5a9bdd2a8d4189aa981d4a7e2de862ae" +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 +}