mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-17 06:32:36 +01:00
54 lines
1.4 KiB
Plaintext
54 lines
1.4 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=docker-compose
|
|
pkgver=1.24.0
|
|
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" # test suite does not work
|
|
depends="python3
|
|
py3-setuptools
|
|
docker-py>=3.4.1
|
|
dockerpy-creds>=0.3.0
|
|
py3-cached-property>=1.3.0
|
|
py3-certifi>=2017.4.17
|
|
py3-chardet>=3.0.4
|
|
py3-dockerpty>=0.4.1
|
|
py3-docopt>=0.6.2
|
|
py3-idna>=2.5
|
|
py3-ipaddress>=1.0.18
|
|
py3-jsonschema>=2.6.0
|
|
py3-paramiko
|
|
py3-pysocks>=1.6.7
|
|
py3-requests>=2.19.1
|
|
py3-six>=1.10.0
|
|
py3-texttable>=0.9.1
|
|
py3-urllib3>=1.21.1
|
|
py3-websocket-client>=0.32.0
|
|
py3-yaml>=3.12
|
|
"
|
|
checkdepends="py3-pytest py3-nose py3-mock py3-flake8 py3-coverage"
|
|
source="docker-compose-$pkgver.tar.gz::https://github.com/docker/compose/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/compose-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
# allow newer version of dependencies
|
|
sed -e 's/, < [0-9.]\+//' -i setup.py
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
# many of the tests fail. need more investigation
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="318c6bf9877147de09526b4d49c3fd86012d85626e7a9a15863ca55a60e10fa85b27429605045d0aaa993dddd3bc2e5f23cbb76856276a874e84793b878a3e86 docker-compose-1.24.0.tar.gz"
|