diff options
author | William Hubbs <williamh@gentoo.org> | 2022-05-02 10:22:44 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-05-02 10:23:09 -0500 |
commit | de2a923cf53eb8047145c12ce3469c3c4029cc30 (patch) | |
tree | bf8b3f139817223985873db5327436f6c37e7e47 /app-containers | |
parent | app-crypt/certbot-nginx: 1.24.0 cleanup (diff) | |
download | gentoo-de2a923cf53eb8047145c12ce3469c3c4029cc30.tar.gz gentoo-de2a923cf53eb8047145c12ce3469c3c4029cc30.tar.bz2 gentoo-de2a923cf53eb8047145c12ce3469c3c4029cc30.zip |
app-containers/docker-compose: add 2.5.0
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.5.0.ebuild | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/app-containers/docker-compose/Manifest b/app-containers/docker-compose/Manifest index ac2ffc961d31..bc670141e55e 100644 --- a/app-containers/docker-compose/Manifest +++ b/app-containers/docker-compose/Manifest @@ -3,3 +3,5 @@ DIST docker-compose-2.3.3-deps.tar.xz 486283624 BLAKE2B 1bb2f743ff0ee46e4b5790bc DIST docker-compose-2.3.3.tar.gz 270143 BLAKE2B 9ab2863a37402ebcb881797e1d6a170dd9557d14a8174dec4049b55f6f3c106752423ac13d9e2ec1bb95dab83df83e53747519f4ceed91f7d9a5805c630e82e0 SHA512 5986f4f54302fd552c7aeb0cdfbe8d5185744bc2a2fe6f136e1a4009b3b9f68cf7578d3b6a2acb2067ef9a889eb33d159b2daf80140315a29412bda15d2a5446 DIST docker-compose-2.4.1-deps.tar.xz 110605892 BLAKE2B 042d84818b963c23769e039a930076355cb2ebb2d86c5f8af56f240689012ae7aeff12cf366b46f2bf0fa0799d5f7b825f726686f54db218787e91a6c308ba5f SHA512 28bb292daac3ddf1055c4dd5f0b1920dc8145636e878beaac90863fec8b86e277f6906d82753b62fc7c9f755a9246c223307fad5fb412e41c0ca11b4d60e7e0e DIST docker-compose-2.4.1.tar.gz 274404 BLAKE2B 346c9c527630217fdeada28e7329400a910007c5296cf4b8b7f41d90049c51c54c518f82f602b71332d9ecd91eeb65e1135aa18c37fe98ee02b99238cf7dbadb SHA512 0c7611c95955b63a4cc77a4498393c52c7107a4a6fe950dbf2d1181df8f44f682337eb6cc7814e9902551b230507b12a05d1377acac7b2342f829401f1d24651 +DIST docker-compose-2.5.0-deps.tar.xz 110626568 BLAKE2B 657d4d421172a6ba3516475045af50ef2351cc847933a799b7232ad6a46485d7961ad5875c9f19bf96d39adf275ca943d02fba2b939a210c080c6d38211e56f5 SHA512 231416474c6b3f73911bc7cf344ea5bfdb719cecf6ad7b159c755814df08ffcb60d05ccbdd294211cb7f64a52a5a81e2dfd357bdc10738918d47a75909d20bf9 +DIST docker-compose-2.5.0.tar.gz 274812 BLAKE2B cf3b49cc13a8ab37d6426e78f4d9fca9a7b629346d292458e32ca2b66d20ba49929cc354d570b05deec3a0e0ac7778a02045ea87070059fc20c352f2d2ddb589 SHA512 7b556394e58dcdd49229c608d0672fe1aa5bd0b715f49b4b3e2ecbea16cc4962deb7e816ea057a8a565c598c21207316b8f7b5e41f0af0c3f330054ae81c2703 diff --git a/app-containers/docker-compose/docker-compose-2.5.0.ebuild b/app-containers/docker-compose/docker-compose-2.5.0.ebuild new file mode 100644 index 000000000000..3946a436a4be --- /dev/null +++ b/app-containers/docker-compose/docker-compose-2.5.0.ebuild @@ -0,0 +1,50 @@ +# 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 ~arm64" + +RDEPEND=">=app-containers/docker-cli-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_test() { + emake -f builder.Makefile test +} + +src_install() { + exeinto /usr/libexec/docker/cli-plugins + doexe bin/docker-compose + dodoc README.md +} + +pkg_postinst() { + has_version =app-containers/docker-compose-1* || return + 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" +} |