docker-compose: update to 2.2.3.

Closes: #35362, #35474
This commit is contained in:
Michal Vasilek 2021-11-06 11:19:09 +01:00
parent fa51e58396
commit bf7aa5ba4a

View file

@ -1,25 +1,21 @@
# Template file for 'docker-compose'
pkgname=docker-compose
version=1.29.2
revision=2
version=2.2.3
revision=1
wrksrc="compose-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-jsonschema python3-docker>=5.0.0
python3-dockerpty python3-requests python3-docopt python3-yaml
python3-texttable python3-cached-property python3-paramiko
python3-dotenv python3-distro"
build_style=go
go_import_path="github.com/docker/compose/v2/cmd"
go_ldflags="-X github.com/docker/compose/v2/internal.Version=v${version}"
depends="docker-cli"
short_desc="Tool to define and run multi-container Docker applications"
maintainer="pancake <pancake@nopcode.org>"
maintainer="Michal Vasilek <michal@vasilek.cz>"
license="Apache-2.0"
homepage="https://docs.docker.com/compose/"
distfiles="https://github.com/docker/compose/archive/${version}.tar.gz"
checksum=99a9b91d476062d280c889ae4e9993d7dd6a186327bafb2bb39521f9351b96eb
make_check=no # needs ddt which is not packaged
distfiles="https://github.com/docker/compose/archive/refs/tags/v${version}.tar.gz"
checksum=22210187e73732edd9fc02f122ea61481806c703af7b73d0a7351f2e8ed7c0b8
post_install() {
vinstall contrib/completion/bash/docker-compose 644 \
usr/share/bash-completion/completions docker-compose
vinstall contrib/completion/zsh/_docker-compose 644 \
usr/share/zsh/site-functions _docker-compose
mkdir -p ${DESTDIR}/usr/libexec/docker/cli-plugins
mv ${DESTDIR}/usr/bin/cmd ${DESTDIR}/usr/libexec/docker/cli-plugins/docker-compose
ln -s /usr/libexec/docker/cli-plugins/docker-compose ${DESTDIR}/usr/bin/docker-compose
}