mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-04 00:08:09 -07:00
app-containers/docker-compose: add 2.32.1
Signed-off-by: William Hubbs <williamh@gentoo.org>
This commit is contained in:
@@ -11,3 +11,5 @@ DIST docker-compose-2.26.1-deps.tar.xz 66292916 BLAKE2B 011026d25674981860ecdf37
|
||||
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
|
||||
DIST docker-compose-2.32.1-deps.tar.xz 62997012 BLAKE2B a726ecc43b6201169f846719c5f1a833fc49c0a329cefb4080bc12b5c9f7460f77068938353f69a323b9faa02ff7b099c25cfd9f7781cc60d819040155ddcb07 SHA512 f9514093ea04b08a5be3863f40ff8cb96e19d5c3f12047bd21bb8159b40b24a8db9171dd069a415dd0bf873ef69da9a40b0b81a11dcb0b41cfaec8f474a95e0c
|
||||
DIST docker-compose-2.32.1.gh.tar.gz 381904 BLAKE2B e26b7f38c00196c58743e6aaae3538135ba7cfc0b1ad9dbb7704c7cce281817e452d6bf569d968d62b47b95397f6cc1419efddb818bf71ccc9b8c24923d058d2 SHA512 1577910990193099016b20a49b9f0f79ec89d1f9e39f5f484253405bb33f341d06b18e0e82f7d65ed9d8b5be8d7510b739fd53e130b98ad1a6edf40f2282cbe5
|
||||
|
||||
51
app-containers/docker-compose/docker-compose-2.32.1.ebuild
Normal file
51
app-containers/docker-compose/docker-compose-2.32.1.ebuild
Normal file
@@ -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"
|
||||
|
||||
S="${WORKDIR}/compose-${MY_PV}"
|
||||
RESTRICT="test"
|
||||
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user