summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2022-03-15 12:19:37 -0500
committerWilliam Hubbs <williamh@gentoo.org>2022-03-15 12:24:22 -0500
commit32b399df99a600dfc343a1d4ff72c10c2d6d1982 (patch)
treeb3b10f1d7e5049cf112e6fad1e718087a8de04c9 /app-containers/docker-compose
parentdev-java/rhino: Add changelog to metadata.xml (diff)
downloadgentoo-32b399df99a600dfc343a1d4ff72c10c2d6d1982.tar.gz
gentoo-32b399df99a600dfc343a1d4ff72c10c2d6d1982.tar.bz2
gentoo-32b399df99a600dfc343a1d4ff72c10c2d6d1982.zip
app-containers/docker-compose: add 2.3.3
Closes: https://bugs.gentoo.org/834872 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-containers/docker-compose')
-rw-r--r--app-containers/docker-compose/Manifest2
-rw-r--r--app-containers/docker-compose/docker-compose-2.3.3.ebuild48
2 files changed, 50 insertions, 0 deletions
diff --git a/app-containers/docker-compose/Manifest b/app-containers/docker-compose/Manifest
index 2a838d0b364f..5b5df6d21fac 100644
--- a/app-containers/docker-compose/Manifest
+++ b/app-containers/docker-compose/Manifest
@@ -1 +1,3 @@
DIST docker-compose-1.29.2.tar.gz 320320 BLAKE2B 2d1a6375127fa09661822f7148665161b45bbd234c93444ae31c1d926513fcbc9fb845f8af01d8f11788f24b7517bff5f6cea2a5da9ade897891f2dd728f26bd SHA512 09f2ae2ae7a17ab5fb3e22580f7a80f1a8253f7ad9fc8f29aca432911bcde46ed22030ff3073cdd7eff3d55aaba17f56e628a178ec05c3a9b4f28495d6045111
+DIST docker-compose-2.3.3-deps.tar.xz 486283624 BLAKE2B 1bb2f743ff0ee46e4b5790bc53fadd03ff9cf177c4bd8f28f435eae7f00ceecf475d78cf0a80082066a62c4e97022afaad2b13ac3bb04893914f84b0a756a2b3 SHA512 9ca0dacabe66620108c8017d5ca2bb7fb568b4edb23460d528f81ad9491dd04efb192983a590db965c26781429cba5c6be6eaa91ac51e9a7d8e6ee4adb9b4c09
+DIST docker-compose-2.3.3.tar.gz 270143 BLAKE2B 9ab2863a37402ebcb881797e1d6a170dd9557d14a8174dec4049b55f6f3c106752423ac13d9e2ec1bb95dab83df83e53747519f4ceed91f7d9a5805c630e82e0 SHA512 5986f4f54302fd552c7aeb0cdfbe8d5185744bc2a2fe6f136e1a4009b3b9f68cf7578d3b6a2acb2067ef9a889eb33d159b2daf80140315a29412bda15d2a5446
diff --git a/app-containers/docker-compose/docker-compose-2.3.3.ebuild b/app-containers/docker-compose/docker-compose-2.3.3.ebuild
new file mode 100644
index 000000000000..828aa96d4627
--- /dev/null
+++ b/app-containers/docker-compose/docker-compose-2.3.3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2018-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit bash-completion-r1 go-module
+MY_PV=${PV/_/-}
+
+DESCRIPTION="Multi-container orchestration for Docker"
+HOMEPAGE="https://github.com/docker/compose"
+SRC_URI="https://github.com/docker/compose/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
+
+LICENSE="Apache-2.0"
+SLOT="2"
+KEYWORDS="~amd64"
+
+RDEPEND=">=app-containers/docker-20.10.3"
+
+S="${WORKDIR}/compose-${MY_PV}"
+
+src_prepare() {
+ default
+ # do not strip
+ sed -i -e 's/-s -w//' builder.Makefile || die
+}
+
+src_compile() {
+ emake -f builder.Makefile GIT_TAG=v${PV}
+}
+
+src_install() {
+ dodir /usr/libexec/docker/cli-plugins
+ exeinto /usr/libexec/docker/cli-plugins
+ doexe bin/docker-compose
+dodoc README.md
+}
+
+src_test() {
+ emake -f builder.Makefile test
+}
+
+pkg_postinst() {
+ has_version =docker-compose-1.* || return
+ elog
+ elog "docker-compose 2.x is a sub command of docker"
+ elog "Use 'docker compose' from the command line instead of"
+ elog "'docker-compose'"
+}