2016-01-03 00:22:02 +01:00
|
|
|
# Template file for 'docker-compose'
|
|
|
|
pkgname=docker-compose
|
|
|
|
version=1.5.2
|
2016-01-21 17:55:21 +01:00
|
|
|
revision=2
|
2016-01-03 00:22:02 +01:00
|
|
|
noarch=yes
|
|
|
|
wrksrc="compose-${version}"
|
|
|
|
build_style=python-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"
|
|
|
|
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=8f0851b417d89bc5023e72918233449a0fa72d9952ac66494c1b37434516583d
|
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
sed -i '/requests/s|, < 2.8||' setup.py
|
|
|
|
}
|
2016-01-21 17:55:21 +01:00
|
|
|
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
|
|
|
|
}
|