mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
61 lines
1.8 KiB
Text
61 lines
1.8 KiB
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=docker-compose
|
|
pkgver=1.29.2
|
|
pkgrel=0
|
|
pkgdesc="Define and run multi-container applications with Docker"
|
|
url="https://docs.docker.com/compose/"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
options="!check" # requires a running docker engine
|
|
|
|
# dependencies are sorted like in requirements.txt
|
|
depends="python3
|
|
py3-setuptools
|
|
py3-cached-property>=1.5.1
|
|
py3-certifi>=2020.4.5.1
|
|
py3-chardet>=3.0.4
|
|
py3-distro>=1.5.0
|
|
docker-py>=4.2.2
|
|
dockerpy-creds>=0.4.0
|
|
py3-dockerpty>=0.4.1
|
|
py3-docopt>=0.6.2
|
|
py3-idna>=2.8
|
|
py3-ipaddress>=1.0.23
|
|
py3-jsonschema>=3.2.0
|
|
py3-paramiko>=2.7.1
|
|
py3-pysocks>=1.7.1
|
|
py3-dotenv>=0.13.0
|
|
py3-yaml>=5.3
|
|
py3-requests>=2.22.0
|
|
py3-texttable>=1.6.2
|
|
py3-websocket-client>=0.57.0
|
|
"
|
|
checkdepends="bash docker py3-pytest py3-nose py3-mock py3-flake8 py3-coverage"
|
|
subpackages="$pkgname-bash-completion $pkgname-zsh-completion $pkgname-fish-completion"
|
|
source="docker-compose-$pkgver.tar.gz::https://github.com/docker/compose/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/compose-$pkgver"
|
|
|
|
build() {
|
|
# allow newer version of dependencies
|
|
sed -e 's/, < [0-9.]\+//' -i setup.py
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
script/test/default
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
|
|
install -Dm0644 "$builddir"/contrib/completion/bash/docker-compose \
|
|
"$pkgdir"/usr/share/bash-completion/completions/docker-compose
|
|
install -Dm0644 "$builddir"/contrib/completion/zsh/_docker-compose \
|
|
"$pkgdir"/usr/share/zsh/site-functions/_docker-compose
|
|
install -Dm0644 "$builddir"/contrib/completion/fish/docker-compose.fish \
|
|
"$pkgdir"/usr/share/fish/completions/docker-compose.fish
|
|
}
|
|
|
|
sha512sums="
|
|
09f2ae2ae7a17ab5fb3e22580f7a80f1a8253f7ad9fc8f29aca432911bcde46ed22030ff3073cdd7eff3d55aaba17f56e628a178ec05c3a9b4f28495d6045111 docker-compose-1.29.2.tar.gz
|
|
"
|