diff options
author | William Hubbs <williamh@gentoo.org> | 2024-07-02 08:23:31 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2024-07-02 12:51:23 -0500 |
commit | 3596fcf9f64e945b9323a7bd9e1fb6d5ac9c7ec4 (patch) | |
tree | 37e7b42dceaea34a451eda4a8c0d32cd05e7f1cd /app-containers | |
parent | qt5-build.eclass: try to avoid SSE2 where unavailable (diff) | |
download | gentoo-3596fcf9f64e945b9323a7bd9e1fb6d5ac9c7ec4.tar.gz gentoo-3596fcf9f64e945b9323a7bd9e1fb6d5ac9c7ec4.tar.bz2 gentoo-3596fcf9f64e945b9323a7bd9e1fb6d5ac9c7ec4.zip |
app-containers/docker-compose: add 2.28.1
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.28.1.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/app-containers/docker-compose/Manifest b/app-containers/docker-compose/Manifest index acdcd8a78aa7..1652794943e8 100644 --- a/app-containers/docker-compose/Manifest +++ b/app-containers/docker-compose/Manifest @@ -9,3 +9,5 @@ DIST docker-compose-2.24.0-deps.tar.xz 165907064 BLAKE2B 22b760393edc5a17bee52c6 DIST docker-compose-2.24.0.gh.tar.gz 344571 BLAKE2B 4d79bf83b0584b8ed56c6f573798f8ed6fe264ffbfc870e9fbe6b79ba4c61248a6e139ebbbd0cd80b9ad607b5c71901ebb19b04e7b6c3e4cbbe8806d0a174eed SHA512 78e5d6ad6f00c4c4a5878b8231ab538bdc9a1d1df17fe1b5aca7bb3a4358897bd6742f8075c54fc00de8bccf5e9f6529acceb57ae221c0794b6c5b0e655b8771 DIST docker-compose-2.26.1-deps.tar.xz 66292916 BLAKE2B 011026d25674981860ecdf37d598d1caa53394044c06dc335a8579d6f39d295d6f8304cada20b3f7f1691c680f32b998a4421ca4ac863d7eee186ad81c6cddfa SHA512 9834df136fd013e36481c1c88b63b945abff6d1183091a70affbea99e2d96681edcf6ec8cf0c95ec35d9ea9236ff4f9f8f2995ca80d069646edcc92555792f4f DIST docker-compose-2.26.1.gh.tar.gz 361194 BLAKE2B 464afc0f4d41165b97c1c35f2fcf57916ea8e7da367b43c7efb0d863416ae3b13a243f56dd2261eec0f3c7465999ce5505bb62a2bc61c1e80998c2bacec905c5 SHA512 4a97326c6ed974400aca91a64e93ef0e1fa6b52f988f636b8bbcb43e14442c6702e2d42afda3e491a9da18176448f342ebae7212bf59617372295d831beb8aba +DIST docker-compose-2.28.1-deps.tar.xz 63440736 BLAKE2B 8af853b07539a413d2532e4d851558c71a27f49679316cab86d026cbc483b6d1bc02c991d839978e60b39e459c09433d215f105e7bac031bc946d2585e275fe3 SHA512 99ef80068d28692da7da9abfbe7f19c28b62425b0cd5ce7d66698e31a40bc8625f665b261077251426577be535e8d5059ffdadbe11a05abdb3768107b5a127f2 +DIST docker-compose-2.28.1.gh.tar.gz 362304 BLAKE2B d18b6c2c5cd92aa7aaae57edd7343b5c282b0d88911b8a73393d4bdc994e4addda09b6a921bd3b0ebe370abd856b8b950ccad62ac43b29de0f8a25e3f7106269 SHA512 87e7296d42a697c477601db85d08dc11ada42ccc8e59d5b560db7bf74c27b63f9f09424949b94ec33bf17a8537d3b549fe9727933396257464ad42730736a608 diff --git a/app-containers/docker-compose/docker-compose-2.28.1.ebuild b/app-containers/docker-compose/docker-compose-2.28.1.ebuild new file mode 100644 index 000000000000..f306d5212cc7 --- /dev/null +++ b/app-containers/docker-compose/docker-compose-2.28.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 2018-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit 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}.gh.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64 ~arm64" + +BDEPEND=">=dev-lang/go-1.21" +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" +} |