diff options
author | William Hubbs <williamh@gentoo.org> | 2023-08-11 10:18:46 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2023-08-11 10:20:18 -0500 |
commit | 8d518bcfc1d661943a8f981b6860f5cf6075a47b (patch) | |
tree | 9dc2ad6eb07ea269968654c2ef6f89c5f42e8032 /app-containers | |
parent | sys-kernel/gentoo-sources: add 5.15.126 (diff) | |
download | gentoo-8d518bcfc1d661943a8f981b6860f5cf6075a47b.tar.gz gentoo-8d518bcfc1d661943a8f981b6860f5cf6075a47b.tar.bz2 gentoo-8d518bcfc1d661943a8f981b6860f5cf6075a47b.zip |
app-containers/docker-compose: add 2.20.2
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-containers')
-rw-r--r-- | app-containers/docker-compose/Manifest | 2 | ||||
-rw-r--r-- | app-containers/docker-compose/docker-compose-2.20.2.ebuild | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/app-containers/docker-compose/Manifest b/app-containers/docker-compose/Manifest index 833964b14985..77046f628f2a 100644 --- a/app-containers/docker-compose/Manifest +++ b/app-containers/docker-compose/Manifest @@ -1,3 +1,5 @@ DIST docker-compose-1.29.2.gh.tar.gz 320320 BLAKE2B 2d1a6375127fa09661822f7148665161b45bbd234c93444ae31c1d926513fcbc9fb845f8af01d8f11788f24b7517bff5f6cea2a5da9ade897891f2dd728f26bd SHA512 09f2ae2ae7a17ab5fb3e22580f7a80f1a8253f7ad9fc8f29aca432911bcde46ed22030ff3073cdd7eff3d55aaba17f56e628a178ec05c3a9b4f28495d6045111 DIST docker-compose-2.17.2-deps.tar.xz 194695756 BLAKE2B 2a0ce1c41d09186f36ea4a935977a35edd80d013b6face813ac9622345ffa1ed8e090537ad990c4ee488ecccfe0575f92bb17f8baa0b8dc2104f75d18fac3877 SHA512 4649405eb0e49641265e514ef89cdae47806958611014ab9a9479848e857d85a5c3352ab44ff9ec39af1ca6fab67b6a2ae6c457d44690c1c1bcc3824aeb6fc07 DIST docker-compose-2.17.2.tar.gz 310664 BLAKE2B bb36afe02b85dd4f64e6eefdb542cc954e03c11f5f3b39bcd5d84b8b4ea87218e222a89a9f20aa2b6e89afc6edd0e7ef68ccc98cbe4e26be5fe2a07f189ea07e SHA512 e0afb5ac5867f3fbe4c3216710f6f529832310e69cc8943f47d6e67fbbcc7c7541a589f6b42eed54c0415c10851dd635c0b73c4ca31dd0969c6bf68de2b40b8b +DIST docker-compose-2.20.2-deps.tar.xz 182125748 BLAKE2B 0e388c6f1e67f2e7e3048e89806c72fbcc25ec3641dfe7317c40c84afff4bed85bca472ca3906244a3bcd942794b38d59160cb0e0b478aa7e032f66e63629db4 SHA512 cd7f796ff90d504f0f52092b46120ce88cc0b274caa41bd48d481fab0872505238026e4036e6e929885c9de1c5906d345001a19038281e87386d972082bf974c +DIST docker-compose-2.20.2.tar.gz 328019 BLAKE2B 0de19af3909dff4e5eadbb137969dbbcd46d7ff4d43076aae3e524567ebf49f5351cab9fca2fd1e4abd22d58483998d0444ade9c3a372f79a69fb234b8786c42 SHA512 8b8ccece806edfaffef497ed8b8b64c6050aa35363e350a14b5a257c9230ed5656a0e5661ce6c314c2911b438780421f71714477a83e2e64db2cf6c921f86af1 diff --git a/app-containers/docker-compose/docker-compose-2.20.2.ebuild b/app-containers/docker-compose/docker-compose-2.20.2.ebuild new file mode 100644 index 000000000000..a47ff4eb91c7 --- /dev/null +++ b/app-containers/docker-compose/docker-compose-2.20.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 2018-2023 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 ~arm64" + +RDEPEND=">=app-containers/docker-cli-23.0.0" + +RESTRICT="test" +S="${WORKDIR}/compose-${MY_PV}" + +src_prepare() { + default + # do not strip + sed -i -e 's/-s -w//' Makefile || die +} + +src_compile() { + emake VERSION=v${PV} +} + +src_test() { + emake test +} + +src_install() { + exeinto /usr/libexec/docker/cli-plugins + doexe bin/build/docker-compose + dodoc README.md +} + +pkg_postinst() { + ewarn + ewarn "docker-compose 2.x is a sub command of docker" + ewarn "Use 'docker compose' from the command line instead of" + ewarn "'docker-compose'" + ewarn "If you need to keep 1.x around, please run the following" + ewarn "command before your next --depclean" + ewarn "# emerge --noreplace docker-compose:0" +} |