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 CD789138330 for ; Thu, 31 May 2018 10:47:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 479BCE08DD; Thu, 31 May 2018 10:47: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 A6693E08DD for ; Thu, 31 May 2018 10:47:19 +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 93175335C57 for ; Thu, 31 May 2018 10:47:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CA06A2A0 for ; Thu, 31 May 2018 10:47:15 +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: <1527763616.66d3235c9e4ad2a2e8cf398d6e339502ed1241cf.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/reg/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/reg/Manifest app-emulation/reg/metadata.xml app-emulation/reg/reg-0.13.0.ebuild X-VCS-Directories: app-emulation/reg/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 66d3235c9e4ad2a2e8cf398d6e339502ed1241cf X-VCS-Branch: master Date: Thu, 31 May 2018 10:47:15 +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: 0b182a76-9eb0-45d5-a7e0-8548674758c5 X-Archives-Hash: 96f3380cd0513d18d04b224ef06fb9b4 commit: 66d3235c9e4ad2a2e8cf398d6e339502ed1241cf Author: Manuel Rüger gentoo org> AuthorDate: Thu May 31 10:46:56 2018 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Thu May 31 10:46:56 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66d3235c app-emulation/reg: Initial version Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-emulation/reg/Manifest | 1 + app-emulation/reg/metadata.xml | 11 +++++++++++ app-emulation/reg/reg-0.13.0.ebuild | 31 +++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+) diff --git a/app-emulation/reg/Manifest b/app-emulation/reg/Manifest new file mode 100644 index 00000000000..170f7bd31bd --- /dev/null +++ b/app-emulation/reg/Manifest @@ -0,0 +1 @@ +DIST reg-0.13.0.tar.gz 14958008 BLAKE2B 7afdb3f00732ad3fe4e8581d0773ba3d8ed4e9d41704e5aec7e45f16e407d19cc30cf8d4461d32719200b0253d26b609ff641c760b220685edb98bfb49f9b6b6 SHA512 7b9c23de23b798e9da4902a00d965c62452997240f53980eda478c8fa59ade985ca2f25fbe902597bcb32440dfcd41bd72c4631b4f4be956a48b75875e134018 diff --git a/app-emulation/reg/metadata.xml b/app-emulation/reg/metadata.xml new file mode 100644 index 00000000000..e08ad1ff9a0 --- /dev/null +++ b/app-emulation/reg/metadata.xml @@ -0,0 +1,11 @@ + + + + + mrueg@gentoo.org + Manuel Rüger + + + genuinetools/reg + + diff --git a/app-emulation/reg/reg-0.13.0.ebuild b/app-emulation/reg/reg-0.13.0.ebuild new file mode 100644 index 00000000000..f7c9db92702 --- /dev/null +++ b/app-emulation/reg/reg-0.13.0.ebuild @@ -0,0 +1,31 @@ +# 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/reg" +EGIT_COMMIT="v${PV}" +GIT_COMMIT="b2cdf0428ddc051f8a39143b63311b515e26d012" +ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="Docker registry v2 command line client" +HOMEPAGE="https://github.com/genuinetools/reg" +SRC_URI="${ARCHIVE_URI}" +LICENSE="MIT" +SLOT="0" +IUSE="seccomp" + +RESTRICT="test" + +src_compile() { + pushd src/${EGO_PN} || die + GOPATH="${S}" go build -v -ldflags "-X ${EGO_PN}/version.GITCOMMIT=${GIT_COMMIT} -X ${EGO_PN}/version.VERSION=${PV}" -o "${S}"/bin/reg . || die + popd || die +} + +src_install() { + dobin bin/* + dodoc src/${EGO_PN}/README.md +}