Gentoo Archives: gentoo-commits

From: Alex Brandt <alunduil@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-compose/
Date: Sun, 22 Nov 2015 21:15:51
Message-Id: 1448226920.80c16b295b7b7f5027faf44def69c7c05dc3ac95.alunduil@gentoo
1 commit: 80c16b295b7b7f5027faf44def69c7c05dc3ac95
2 Author: Alex Brandt <alunduil <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 22 21:15:01 2015 +0000
4 Commit: Alex Brandt <alunduil <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 22 21:15:20 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80c16b29
7
8 app-emulation/docker-compose: add version 1.5.1
9
10 Fixes bug #560596.
11
12 Package-Manager: portage-2.2.25
13
14 app-emulation/docker-compose/Manifest | 1 +
15 .../docker-compose/docker-compose-1.5.1.ebuild | 62 ++++++++++++++++++++++
16 2 files changed, 63 insertions(+)
17
18 diff --git a/app-emulation/docker-compose/Manifest b/app-emulation/docker-compose/Manifest
19 index a2bae4a..84ee152 100644
20 --- a/app-emulation/docker-compose/Manifest
21 +++ b/app-emulation/docker-compose/Manifest
22 @@ -1,2 +1,3 @@
23 DIST docker-compose-1.2.0.tar.gz 57150 SHA256 46ef3c5cb7dd79fa7fd1d5fc5ec5be6a5c634192bc09c604c0ea75adb89cb652 SHA512 d13f6d6d22979dbc4554c003e611097627e2273f06dd13a1c666c1ba138288597ebef08f1beaf6d342721391cb49ad5ce9ae2ff03367a041fc0c53fbb62c9ac4 WHIRLPOOL c7bb3e14a4c2788eb49241ce02dcaed5e49fe60652ca1a51d13e1712f946046415f5397d5bf892b5e0451059a4aee1b156ee7bdfdf64a22d000caae7b17254c0
24 DIST docker-compose-1.4.0.tar.gz 79532 SHA256 2748cc8dd0829b44f0f686e36683cab58e1a4bc869442a04508504d2f62d0337 SHA512 470442aa78ddb24e8b9287953031e17a96a89780edd3a85955c923ffe00f4bfe655412dc15422437121593d7e2899f0847813d3716fc9ed576f93e6455cb868b WHIRLPOOL 9dc6731dad3df6422ec1e1b66049c8e9f04068b2fc2c8180da44220c1fbedc4919dfe17475cd539c3f33a079f3d04f875baaf769a7bc0875de48cf622670dc4b
25 +DIST docker-compose-1.5.1.tar.gz 104331 SHA256 df5e885fd758a2b5983574d6718b5a07f92c7166c5706dc6ff88687d27bfaf55 SHA512 be6678c27b73516e14bf80255e52bde72517bd65a91f1be2393a15f0f0b87ff9ddd785e22016a9a5e1a68d5e6b9be395a96d60b7bc862f24647adf81752b9baa WHIRLPOOL 0b1312cb0d99a7cf02d8a88a7b00f3105f497c1cfa0ac3b32b369cd3984f2b1eaa8ea2c9e2e5a70ada3a371fb8a774245b75eaf5a7665170398df5f703793311
26
27 diff --git a/app-emulation/docker-compose/docker-compose-1.5.1.ebuild b/app-emulation/docker-compose/docker-compose-1.5.1.ebuild
28 new file mode 100644
29 index 0000000..e988d19
30 --- /dev/null
31 +++ b/app-emulation/docker-compose/docker-compose-1.5.1.ebuild
32 @@ -0,0 +1,62 @@
33 +# Copyright 1999-2015 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=5
38 +PYTHON_COMPAT=( python2_7 )
39 +
40 +inherit bash-completion-r1 distutils-r1
41 +
42 +DESCRIPTION="Multi-container orchestration for Docker"
43 +HOMEPAGE="https://www.docker.com/"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 +
46 +LICENSE="Apache-2.0"
47 +SLOT="0"
48 +KEYWORDS="~amd64"
49 +IUSE="test"
50 +
51 +CDEPEND="
52 + dev-python/setuptools[${PYTHON_USEDEP}]
53 + >=dev-python/dockerpty-0.3.4[${PYTHON_USEDEP}]
54 + <dev-python/dockerpty-0.4[${PYTHON_USEDEP}]
55 + >=dev-python/docker-py-1.5.0[${PYTHON_USEDEP}]
56 + <dev-python/docker-py-2[${PYTHON_USEDEP}]
57 + >=dev-python/docopt-0.6.1[${PYTHON_USEDEP}]
58 + <dev-python/docopt-0.7[${PYTHON_USEDEP}]
59 + >=dev-python/jsonschema-2.5.1[${PYTHON_USEDEP}]
60 + <dev-python/jsonschema-3[${PYTHON_USEDEP}]
61 + >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
62 + <dev-python/pyyaml-4[${PYTHON_USEDEP}]
63 + >=dev-python/requests-2.6.1[${PYTHON_USEDEP}]
64 + <dev-python/requests-2.8[${PYTHON_USEDEP}]
65 + >=dev-python/six-1.3.0[${PYTHON_USEDEP}]
66 + <dev-python/six-2[${PYTHON_USEDEP}]
67 + >=dev-python/texttable-0.8.1[${PYTHON_USEDEP}]
68 + <dev-python/texttable-0.9[${PYTHON_USEDEP}]
69 + >=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}]
70 + <dev-python/websocket-client-1.0[${PYTHON_USEDEP}]
71 +"
72 +DEPEND="
73 + test? (
74 + ${CDEPEND}
75 + dev-python/pytest[${PYTHON_USEDEP}]
76 + $(python_gen_cond_dep '>=dev-python/enum34-1.0.4[${PYTHON_USEDEP}]' 'python2_7' )
77 + $(python_gen_cond_dep '<dev-python/enum34-2[${PYTHON_USEDEP}]' 'python2_7' )
78 + $(python_gen_cond_dep '>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]' 'python2_7' )
79 + )
80 +"
81 +RDEPEND="${CDEPEND}"
82 +
83 +python_test() {
84 + ${PYTHON} -m pytest tests/unit || die "tests failed under ${EPYTHON}"
85 +}
86 +
87 +python_install_all() {
88 + newbashcomp contrib/completion/bash/docker-compose ${PN}
89 +
90 + insinto /usr/share/zsh/site-functions
91 + doins contrib/completion/zsh/*
92 +
93 + distutils-r1_python_install_all
94 +}