From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-containers/docker-buildx/
Date: Fri, 7 Apr 2023 04:32:47 +0000 (UTC) [thread overview]
Message-ID: <1680841960.8bc0e52d305e2ffa6dbbc08a267f187870d7edd1.williamh@gentoo> (raw)
commit: 8bc0e52d305e2ffa6dbbc08a267f187870d7edd1
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 7 04:30:34 2023 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Apr 7 04:32:40 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bc0e52d
app-containers/docker-buildx: 0.10.4-r1 revbump to fix dependencies
This needs to fix stable, so I'm pushing straight to stable.
This is a docker cli plugin, so it needs to RDEPEND on docker-cli.
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
.../docker-buildx/docker-buildx-0.10.4-r1.ebuild | 61 ++++++++++++++++++++++
1 file changed, 61 insertions(+)
diff --git a/app-containers/docker-buildx/docker-buildx-0.10.4-r1.ebuild b/app-containers/docker-buildx/docker-buildx-0.10.4-r1.ebuild
new file mode 100644
index 000000000000..982bd439623f
--- /dev/null
+++ b/app-containers/docker-buildx/docker-buildx-0.10.4-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2023 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"
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/docker/buildx.git"
+else
+ SRC_URI="https://github.com/docker/buildx/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="amd64 ~arm arm64 ppc64 ~riscv ~x86"
+ S="${WORKDIR}/${MY_PN}-${PV}"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+# This gives us the ability to neatly `-skip` tests.
+# not required once ::gentoo is all > 1.20
+RESTRICT="!test? ( test )"
+IUSE="test"
+
+BDEPEND="
+ test? ( >=dev-lang/go-1.20 )
+"
+RDEPEND="app-containers/docker-cli"
+
+src_compile() {
+ local _buildx_r='github.com/docker/buildx'
+ local version=${PV}
+ if [[ ${PV} == 9999 ]]; then
+ version="$(git rev-parse --short HEAD)"
+ fi
+ ego build -o docker-buildx \
+ -ldflags "-linkmode=external
+ -X $_buildx_r/version.Version=${version}
+ -X $_buildx_r/version.Revision=$(date -u +%FT%T%z)
+ -X $_buildx_r/version.Package=$_buildx_r" \
+ ./cmd/buildx
+}
+
+src_test() {
+ # TestGit can't work in a source tarball; TestReadTargets fails seemingly due to parallelism.
+ if [[ ${PV} == 9999 ]]; then
+ ego test ./... -skip "TestReadTargets"
+ else
+ ego test ./... -skip "TestGit|TestReadTargets"
+ fi
+}
+
+src_install() {
+ exeinto /usr/libexec/docker/cli-plugins
+ doexe docker-buildx
+
+ dodoc README.md
+}
next reply other threads:[~2023-04-07 4:32 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-07 4:32 William Hubbs [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-05 17:21 [gentoo-commits] repo/gentoo:master commit in: app-containers/docker-buildx/ Sam James
2025-04-05 17:21 Sam James
2025-04-05 17:21 Sam James
2025-03-06 18:40 Arthur Zamarin
2025-02-15 12:43 Arthur Zamarin
2025-01-19 14:55 Sam James
2025-01-19 13:11 Arthur Zamarin
2024-12-15 18:37 Sam James
2024-12-14 7:13 Joonas Niilola
2024-12-13 14:28 Arthur Zamarin
2024-12-13 10:45 Sam James
2024-12-13 10:45 Sam James
2024-12-03 7:52 Joonas Niilola
2024-12-01 19:57 Arthur Zamarin
2024-12-01 19:02 Arthur Zamarin
2024-06-28 7:43 Joonas Niilola
2023-07-20 22:44 Sam James
2023-07-20 22:44 Sam James
2023-04-07 4:43 William Hubbs
2023-04-07 3:51 Sam James
2023-04-06 8:47 Arthur Zamarin
2023-04-06 8:10 Arthur Zamarin
2023-04-06 6:33 Joonas Niilola
2023-04-06 6:33 Joonas Niilola
2023-04-06 5:24 Arthur Zamarin
2023-03-29 8:29 Jakov Smolić
2023-03-17 14:21 Arthur Zamarin
2023-03-13 18:07 Sam James
2023-02-25 9:11 Joonas Niilola
2023-02-25 9:11 Joonas Niilola
2022-12-05 2:30 Sam James
2022-12-05 2:30 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1680841960.8bc0e52d305e2ffa6dbbc08a267f187870d7edd1.williamh@gentoo \
--to=williamh@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox