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 0343D138330 for ; Thu, 31 May 2018 09:34:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 318E1E0880; Thu, 31 May 2018 09:34:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 DEB27E0880 for ; Thu, 31 May 2018 09:34:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 A1A6E335C39 for ; Thu, 31 May 2018 09:34:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F38502AF for ; Thu, 31 May 2018 09:34:05 +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: <1527759201.f251eb2e6990882190d5bf38b7b2ade82be12128.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.3.6.ebuild app-emulation/img/metadata.xml X-VCS-Directories: app-emulation/img/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: f251eb2e6990882190d5bf38b7b2ade82be12128 X-VCS-Branch: master Date: Thu, 31 May 2018 09:34:05 +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: 28bde206-4bfd-424f-beee-d4269623ee38 X-Archives-Hash: 03a6fc91e20cd770c486c58341e61a7f commit: f251eb2e6990882190d5bf38b7b2ade82be12128 Author: Manuel Rüger gentoo org> AuthorDate: Thu May 31 09:33:21 2018 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Thu May 31 09:33:21 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f251eb2e app-emulation/img: Initial version Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-emulation/img/Manifest | 1 + app-emulation/img/img-0.3.6.ebuild | 32 ++++++++++++++++++++++++++++++++ app-emulation/img/metadata.xml | 11 +++++++++++ 3 files changed, 44 insertions(+) diff --git a/app-emulation/img/Manifest b/app-emulation/img/Manifest new file mode 100644 index 00000000000..4b5ebf49c7d --- /dev/null +++ b/app-emulation/img/Manifest @@ -0,0 +1 @@ +DIST img-0.3.6.tar.gz 6043716 BLAKE2B 982a6f470f4b79cd4cc2b06be4060f516786f700872510948a25d5ad313cccf402b0fe26c053f7505b66c170221274568ce44632729c16e1ade680b5dc007b0d SHA512 911cf6a761741a04553d5e526399973c0e943cfda5eead7f94196969fed4f586134358b1e6f023c6cf07e755de802e498991eb320bd50af32649749622a26969 diff --git a/app-emulation/img/img-0.3.6.ebuild b/app-emulation/img/img-0.3.6.ebuild new file mode 100644 index 00000000000..9ebadf2113a --- /dev/null +++ b/app-emulation/img/img-0.3.6.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="e4a43d044778e3df56e0de3c6ca00706fcca8b50" +ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="Tool to move from docker-compose to Kubernetes" +HOMEPAGE="https://github.com/kubernetes/kompose https://kompose.io" +SRC_URI="${ARCHIVE_URI}" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="seccomp" + +RESTRICT="test" + +src_compile() { + local TAGS=$(usex seccomp 'seccomp' '') + pushd src/${EGO_PN} || die + GOPATH="${S}" go build -tags ${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 +} diff --git a/app-emulation/img/metadata.xml b/app-emulation/img/metadata.xml new file mode 100644 index 00000000000..06bfaa067c9 --- /dev/null +++ b/app-emulation/img/metadata.xml @@ -0,0 +1,11 @@ + + + + + mrueg@gentoo.org + Manuel Rüger + + + genuinetools/img + +