30 lines
1.0 KiB
Bash
30 lines
1.0 KiB
Bash
# Template file for 'docker-compose'
|
|
pkgname=docker-compose
|
|
version=1.18.0
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="compose-${version}"
|
|
build_style=python3-module
|
|
pycompile_module="compose"
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-setuptools python3-jsonschema python3-docker python3-dockerpty
|
|
python3-websocket-client python3-requests python3-docopt python3-yaml
|
|
python3-six python3-texttable python3-cached-property"
|
|
short_desc="Tool to define and run multi-container Docker applications"
|
|
maintainer="pancake <pancake@nopcode.org>"
|
|
homepage="https://docs.docker.com/compose/"
|
|
license="Apache-2.0"
|
|
distfiles="https://github.com/docker/compose/archive/${version}.tar.gz"
|
|
checksum=4265c18d7223c149342a252ce6f060934b373a1498c667b4d57b923aaeea4090
|
|
|
|
pre_build() {
|
|
# remove all upper bounds
|
|
sed -i 's/, *< *[0-9=.]*//' setup.py
|
|
}
|
|
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
|
|
}
|