void-packages/srcpkgs/docker-compose/template
2020-10-10 10:21:37 -04:00

25 lines
1,006 B
Bash

# Template file for 'docker-compose'
pkgname=docker-compose
version=1.27.4
revision=2
wrksrc="compose-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-jsonschema python3-docker>=3.7.0
python3-dockerpty python3-websocket-client python3-requests python3-docopt
python3-yaml python3-six python3-texttable python3-cached-property
python3-paramiko>=2.4.2 python3-dotenv python3-distro"
short_desc="Tool to define and run multi-container Docker applications"
maintainer="pancake <pancake@nopcode.org>"
license="Apache-2.0"
homepage="https://docs.docker.com/compose/"
distfiles="https://github.com/docker/compose/archive/${version}.tar.gz"
checksum=1c0458f37e9de4bf2d79fe82c9ab0065c8a6132496c3c2f477599604e294a422
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
}