void-packages/srcpkgs/docker-compose/template

29 lines
1.0 KiB
Bash
Raw Normal View History

2016-01-03 00:22:02 +01:00
# Template file for 'docker-compose'
pkgname=docker-compose
2016-02-26 01:40:10 +01:00
version=1.6.2
2016-02-16 23:58:01 +01:00
revision=1
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
2016-02-16 23:58:01 +01:00
python-enum34 python-texttable python-cached-property"
2016-01-03 00:22:02 +01:00
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"
2016-02-26 01:40:10 +01:00
checksum=1c318cdf12bdc97e079224fb0cab45ed0f6ec2d1ce87599eff549b1aafa27837
2016-01-03 00:22:02 +01:00
pre_build() {
sed -i '/requests/s|, < 2.8||' 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
}