2016-01-02 23:22:02 +00:00
|
|
|
# Template file for 'docker-compose'
|
|
|
|
pkgname=docker-compose
|
2016-06-24 10:01:24 +00:00
|
|
|
version=1.7.1
|
2016-02-16 22:58:01 +00:00
|
|
|
revision=1
|
2016-01-02 23:22:02 +00: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 22:58:01 +00:00
|
|
|
python-enum34 python-texttable python-cached-property"
|
2016-01-02 23:22:02 +00: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-06-24 10:01:24 +00:00
|
|
|
checksum=002be1c4cd22f73cee219e97e97dfd6b9ff7bfd8dbb40c0aa31c55e5e1a965e5
|
2016-01-02 23:22:02 +00:00
|
|
|
|
|
|
|
pre_build() {
|
2016-06-24 10:01:24 +00:00
|
|
|
# remove all upper bounds
|
|
|
|
sed -i 's/, *< *[0-9=.]*//' setup.py
|
2016-01-02 23:22:02 +00:00
|
|
|
}
|
2016-01-21 16:55:21 +00: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
|
|
|
|
}
|