From c3870d5920e6ee600e9360c3a5b004b7ad0c5abf Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 5 Dec 2022 09:05:42 +0000 Subject: gentoo auto-resync : 05:12:2022 - 09:05:41 --- app-containers/Manifest.gz | Bin 7377 -> 7547 bytes app-containers/docker-buildx/Manifest | 3 ++ .../docker-buildx/docker-buildx-0.9.1.ebuild | 40 +++++++++++++++++++++ app-containers/docker-buildx/metadata.xml | 19 ++++++++++ 4 files changed, 62 insertions(+) create mode 100644 app-containers/docker-buildx/Manifest create mode 100644 app-containers/docker-buildx/docker-buildx-0.9.1.ebuild create mode 100644 app-containers/docker-buildx/metadata.xml (limited to 'app-containers') diff --git a/app-containers/Manifest.gz b/app-containers/Manifest.gz index 2e7de26eab6e..74af28fe903d 100644 Binary files a/app-containers/Manifest.gz and b/app-containers/Manifest.gz differ diff --git a/app-containers/docker-buildx/Manifest b/app-containers/docker-buildx/Manifest new file mode 100644 index 000000000000..4c1127ca370a --- /dev/null +++ b/app-containers/docker-buildx/Manifest @@ -0,0 +1,3 @@ +DIST docker-buildx-0.9.1.tar.gz 8705505 BLAKE2B 75a56b1edda71fd1e0b4312e72695efd67e6e5144e064cc27ae1729e3155d8a605b315fdb6d32055fc9cb86151057f5afd57eaea9a5f4aaa6ac4ecc52a6a5161 SHA512 1d672ae9daa0f1c830fc56c2c3638389312a87c645aed97f4a0ee56eaef936ab833c04d11969a423e0d5ab5388f29db20d7a1fe6c9b0ec7d981123243b4eaa4b +EBUILD docker-buildx-0.9.1.ebuild 917 BLAKE2B 31e8d83e25269634b0ca8c8b15e0ad3f07fbf673a45b6d43f6136a90a5c13c0c87a694b7bfabfca560513a9c5483048c1f964fb1ec49ea0b68a3e4f1f13a89a5 SHA512 d1d2fd380e5571c16e6377ce9893d81b9188cc29051fceef7958210817fc5ba2ec875288dc2859d6df7e268eed965f721feffabc6b65a2b8d1e3d607916ad455 +MISC metadata.xml 710 BLAKE2B e54ba5993825b2fa455c7ad33dc37d3edddbf74f19cc2e8ce3260fdac0d581c3c719d5f7252b7836d263efd020b4d3d90d717c3873531055418dbb556f02288c SHA512 f217f1f7f8ac31cbf5516630eea107a686394efc960384c67a216f80b57c61323b6b02b5dd1ae458817a851b9f166c684087790079e48b7d4a2a78130dc2a411 diff --git a/app-containers/docker-buildx/docker-buildx-0.9.1.ebuild b/app-containers/docker-buildx/docker-buildx-0.9.1.ebuild new file mode 100644 index 000000000000..298498909a93 --- /dev/null +++ b/app-containers/docker-buildx/docker-buildx-0.9.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +MY_PN="buildx" +DESCRIPTION="Docker CLI plugin for extended build capabilities with BuildKit" +HOMEPAGE="https://github.com/docker/buildx" +SRC_URI="https://github.com/docker/buildx/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +DEPEND="app-containers/docker" +RDEPEND="${DEPEND}" + +src_compile() { + local _buildx_r='github.com/docker/buildx' + ego build -mod=vendor -o docker-buildx \ + -ldflags "-linkmode=external \ + -X $_buildx_r/version.Version=${PV} \ + -X $_buildx_r/version.Revision=$(date -u +%FT%T%z) \ + -X $_buildx_r/version.Package=$_buildx_r" \ + ./cmd/buildx +} + +src_test() { + ego test ./... +} + +src_install() { + exeinto /usr/libexec/docker/cli-plugins + doexe docker-buildx + + dodoc README.md +} diff --git a/app-containers/docker-buildx/metadata.xml b/app-containers/docker-buildx/metadata.xml new file mode 100644 index 000000000000..42cd3f472a0d --- /dev/null +++ b/app-containers/docker-buildx/metadata.xml @@ -0,0 +1,19 @@ + + + + + nic@boet.cc + Nic Boet + + + proxy-maint@gentoo.org + Proxy Maintainers + + + docker/buildx + + + buildx is a Docker CLI plugin for extended build capabilities with BuildKit. + BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. + + -- cgit v1.2.3