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, 30 Oct 2016 20:53:28
Message-Id: 1477860541.c20812356e9845ea78cb115d88607bbfa01a7f22.alunduil@gentoo
1 commit: c20812356e9845ea78cb115d88607bbfa01a7f22
2 Author: Alex Brandt <alunduil <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 30 20:49:01 2016 +0000
4 Commit: Alex Brandt <alunduil <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 30 20:49:01 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2081235
7
8 app-emulation/docker-compose: add version 1.9.0_rc1
9
10 Package-Manager: portage-2.3.2
11
12 app-emulation/docker-compose/Manifest | 1 +
13 .../docker-compose/docker-compose-1.9.0_rc1.ebuild | 67 ++++++++++++++++++++++
14 2 files changed, 68 insertions(+)
15
16 diff --git a/app-emulation/docker-compose/Manifest b/app-emulation/docker-compose/Manifest
17 index 1b4b65e..c380d96 100644
18 --- a/app-emulation/docker-compose/Manifest
19 +++ b/app-emulation/docker-compose/Manifest
20 @@ -1,3 +1,4 @@
21 DIST docker-compose-1.8.0.tar.gz 149822 SHA256 65f46b2ac836918c68306646206612ecadbb0cf17fae1557f6d565554747a2a9 SHA512 ed7aa5b7f318cd71492ad3da672937619063b824809888928bd64275dbf89ea6152c72d96028ca796d63da7fe028dc164ae871db0fdc531c918ba9f946b0b17d WHIRLPOOL c3cbf631d01d1e96c8e29965d3e493ade80869ad43c31d6ae7129c875d4b7d0856bc6a990f5af46db761dfb1f6a615f1e4056d00b0e423be6e0a41bb6db6a564
22 DIST docker-compose-1.8.0_rc2.tar.gz 148581 SHA256 a2b6ff7c8cc8121567a26e158c4c3a246ab5173fc0ebdb4208923df88b4bd683 SHA512 390f65d6bca940cef8d5bedfbf20d0da4897d06a466c61d419aff6a5458d2982375f948f8a714303e8bdd62298020a506ef1430794a3d3116614f3ae14d3a6f3 WHIRLPOOL 3b874adc90704c6a02c14e8431d6ac425e0ffe3458427ff35df69ba3804aba906ac4c9ca7ef2e33a3c0ac9ff0f466d9c39c886626b37b5d4c465ccb3b3e2b686
23 DIST docker-compose-1.8.1.tar.gz 151478 SHA256 1c72725a0a5cd41f56021cb51c6cba86932fb5b4155378ce883500d2644efc84 SHA512 8b33bf5b1fa3eeb5c5724e7ada8c61cf054a5cc1af68c9c9ab40955958f0f6a537f5bad8d54367dddc5ae66930d0555c83da47a48fc43f623d92fd60ad01cb62 WHIRLPOOL 5dca7ff3303833a45b0e7f462a375c58f68f4a19659e66b93bfc564701df8dfba70311151eb674a84c5a3b81703ddcc8809c6c7b89574c738ac9db96a32c93e6
24 +DIST docker-compose-1.9.0_rc1.tar.gz 155857 SHA256 56132744a8bcebdfedac459a1a8fddb7f88a0513f3299f4b9b006d644ca49b6c SHA512 925105b6eb781a6f3014a704b7f703bd26551f3717e6a948bb7961b83cf893741f80017e9ac4261beaff60ac8813fc7d222f91488a3aa08c85bb084548bccfa4 WHIRLPOOL 7a085e11faef2c40f8b0b8d30bfdbcf6d721599cefc8267182121254c528fc5de6713e0241dfce874e651dbf997c21bd30b7a04267f7224619a34eb76877474c
25
26 diff --git a/app-emulation/docker-compose/docker-compose-1.9.0_rc1.ebuild b/app-emulation/docker-compose/docker-compose-1.9.0_rc1.ebuild
27 new file mode 100644
28 index 00000000..5806c62
29 --- /dev/null
30 +++ b/app-emulation/docker-compose/docker-compose-1.9.0_rc1.ebuild
31 @@ -0,0 +1,67 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +PYTHON_COMPAT=( python2_7 python3_4 )
38 +
39 +inherit bash-completion-r1 distutils-r1 vcs-snapshot
40 +
41 +MY_PV=${PV//_/}
42 +
43 +DESCRIPTION="Multi-container orchestration for Docker"
44 +HOMEPAGE="https://www.docker.com/"
45 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz"
46 +
47 +LICENSE="Apache-2.0"
48 +SLOT="0"
49 +KEYWORDS="~amd64"
50 +IUSE="test"
51 +
52 +CDEPEND="
53 + dev-python/setuptools[${PYTHON_USEDEP}]
54 + >=dev-python/cached-property-1.2.0[${PYTHON_USEDEP}]
55 + <dev-python/cached-property-2[${PYTHON_USEDEP}]
56 + >=dev-python/dockerpty-0.4.1[${PYTHON_USEDEP}]
57 + <dev-python/dockerpty-0.5[${PYTHON_USEDEP}]
58 + >=dev-python/docker-py-1.10.4[${PYTHON_USEDEP}]
59 + <dev-python/docker-py-2.0[${PYTHON_USEDEP}]
60 + >=dev-python/docopt-0.6.1[${PYTHON_USEDEP}]
61 + <dev-python/docopt-0.7[${PYTHON_USEDEP}]
62 + >=dev-python/jsonschema-2.5.1[${PYTHON_USEDEP}]
63 + <dev-python/jsonschema-3[${PYTHON_USEDEP}]
64 + >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
65 + <dev-python/pyyaml-4[${PYTHON_USEDEP}]
66 + !~dev-python/requests-2.11.0[${PYTHON_USEDEP}]
67 + <dev-python/requests-2.12[${PYTHON_USEDEP}]
68 + >=dev-python/requests-2.6.1[${PYTHON_USEDEP}]
69 + >=dev-python/six-1.3.0[${PYTHON_USEDEP}]
70 + <dev-python/six-2[${PYTHON_USEDEP}]
71 + >=dev-python/texttable-0.8.1[${PYTHON_USEDEP}]
72 + <dev-python/texttable-0.9[${PYTHON_USEDEP}]
73 + >=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}]
74 + <dev-python/websocket-client-1.0[${PYTHON_USEDEP}]
75 + $(python_gen_cond_dep '>=dev-python/enum34-1.0.4[${PYTHON_USEDEP}]' 'python2_7' )
76 + $(python_gen_cond_dep '<dev-python/enum34-2[${PYTHON_USEDEP}]' 'python2_7' )
77 +"
78 +DEPEND="
79 + test? (
80 + ${CDEPEND}
81 + dev-python/pytest[${PYTHON_USEDEP}]
82 + $(python_gen_cond_dep '>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]' 'python2_7' )
83 + )
84 +"
85 +RDEPEND="${CDEPEND}"
86 +
87 +python_test() {
88 + ${PYTHON} -m pytest tests/unit || die "tests failed under ${EPYTHON}"
89 +}
90 +
91 +python_install_all() {
92 + newbashcomp contrib/completion/bash/docker-compose ${PN}
93 +
94 + insinto /usr/share/zsh/site-functions
95 + doins contrib/completion/zsh/*
96 +
97 + distutils-r1_python_install_all
98 +}