30 lines
1.0 KiB
Bash
30 lines
1.0 KiB
Bash
# Template file for 'docker-compose'
|
|
pkgname=docker-compose
|
|
version=1.8.0
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="compose-${version}"
|
|
build_style=python2-module
|
|
hostmakedepends="python-setuptools"
|
|
depends="python-setuptools python-jsonschema python-docker-py python-dockerpty
|
|
python-websocket-client python-requests python-docopt python-yaml python-six
|
|
python-enum34 python-texttable python-cached-property"
|
|
pycompile_module="compose"
|
|
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=a93d702086fdc95f79d20462ddaf7cd174e3d8053b79fe3c565f0ace76a16750
|
|
|
|
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
|
|
}
|