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: Sat, 02 Jul 2016 15:00:16
Message-Id: 1467471570.2c6891d2c549a45fb28d5d1b07b6f8242a526061.alunduil@gentoo
1 commit: 2c6891d2c549a45fb28d5d1b07b6f8242a526061
2 Author: Alex Brandt <alunduil <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 2 14:50:54 2016 +0000
4 Commit: Alex Brandt <alunduil <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 2 14:59:30 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c6891d2
7
8 app-emulation/docker-compose: add version 1.8.0_rc1
9
10 Package-Manager: portage-2.3.0
11
12 app-emulation/docker-compose/Manifest | 1 +
13 .../docker-compose/docker-compose-1.8.0_rc1.ebuild | 66 ++++++++++++++++++++++
14 2 files changed, 67 insertions(+)
15
16 diff --git a/app-emulation/docker-compose/Manifest b/app-emulation/docker-compose/Manifest
17 index 218ae2a..f1797703 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.7.0.tar.gz 141480 SHA256 6fbf82d2df4bf1f9a614ea0100ac34e5b6e8cf95fab5a7e60a09d44a09da8576 SHA512 cd2f326b453c597e92a9869f014f7365adff4717163c30454c516ded84622d300e3a2ebabc5645ea3011e5aadc9fc34828db8da4bc122d07c9ccad5aae162c12 WHIRLPOOL 88e0fd717216a14ce7f85a6087e58659efe150851bcbdea26d0c9ca3073127dc32096228ef77451fc94c86254bb505fe1ef3e5baf0b266097a09f3496db87aa9
22 DIST docker-compose-1.7.0_rc1.tar.gz 140008 SHA256 ae4777e14fa64d2016f2dcbca34b39e2976150ca324241b68b5a82f753ee08ef SHA512 3405f59fae198633f7bb8ac8d9c94294d221751a551a91a96ac131f520cabec068a5aa4ba502c5e8eb9a3907e6f8527de2e39a12a66980ad978cb5b7d96cac06 WHIRLPOOL 82e2226a0fdf06b25da3da27ddf53739c0e583e290ce94747298c75aee5f8f37b353d1bcf1fe7e57e20daa53637ac36d9fb1787e8243176c7108f38e5a697b42
23 DIST docker-compose-1.7.1.tar.gz 141471 SHA256 97460873bfa9228afee543881ff6f6f7e4c12ac81974a2fcfa40fce272b2934e SHA512 eca5bbcf3785131cb813ed58bd4b662a70d7516ce875ea18bbb17ebb74f5c4b8189081add8f5befa11a5583063209d1121978aaec8f69ef8dc7ae3a077e0965a WHIRLPOOL 3366c5a6fa9e1acf244ba128118cf65a1b8f2658c93ab5424d00ae9ab6b4ad2771ed34b50d5ff8ab200bb669a1ee2d91f636ee5750d65d311931b3df7baef1d1
24 +DIST docker-compose-1.8.0_rc1.tar.gz 145401 SHA256 9c897c6dc99b0cc63b402220e5c3ff530a09c974b965d6a07f050bd7a07ef663 SHA512 75c0ec21e0edbe0086ff5229115f12469996c2a6cb569fe744b381536aa590f0001ccab7aa8f67d052613a8475e4901316c99db4116ccf1e4bc47b0b0ecb016f WHIRLPOOL 32f6f0311adb2ebaec798f1b8f654f16c397e2aa48bb0ec44c1e92c38cea8438a6fbab67b5c9b7db06a89d081675568dcb40214d3d3c9c07aff9d71e2f5f3ce8
25
26 diff --git a/app-emulation/docker-compose/docker-compose-1.8.0_rc1.ebuild b/app-emulation/docker-compose/docker-compose-1.8.0_rc1.ebuild
27 new file mode 100644
28 index 0000000..04df923
29 --- /dev/null
30 +++ b/app-emulation/docker-compose/docker-compose-1.8.0_rc1.ebuild
31 @@ -0,0 +1,66 @@
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.8.1[${PYTHON_USEDEP}]
59 + <dev-python/docker-py-2[${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.6.1[${PYTHON_USEDEP}]
67 + <dev-python/requests-2.8[${PYTHON_USEDEP}]
68 + >=dev-python/six-1.3.0[${PYTHON_USEDEP}]
69 + <dev-python/six-2[${PYTHON_USEDEP}]
70 + >=dev-python/texttable-0.8.1[${PYTHON_USEDEP}]
71 + <dev-python/texttable-0.9[${PYTHON_USEDEP}]
72 + >=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}]
73 + <dev-python/websocket-client-1.0[${PYTHON_USEDEP}]
74 + $(python_gen_cond_dep '>=dev-python/enum34-1.0.4[${PYTHON_USEDEP}]' 'python2_7' )
75 + $(python_gen_cond_dep '<dev-python/enum34-2[${PYTHON_USEDEP}]' 'python2_7' )
76 +"
77 +DEPEND="
78 + test? (
79 + ${CDEPEND}
80 + dev-python/pytest[${PYTHON_USEDEP}]
81 + $(python_gen_cond_dep '>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]' 'python2_7' )
82 + )
83 +"
84 +RDEPEND="${CDEPEND}"
85 +
86 +python_test() {
87 + ${PYTHON} -m pytest tests/unit || die "tests failed under ${EPYTHON}"
88 +}
89 +
90 +python_install_all() {
91 + newbashcomp contrib/completion/bash/docker-compose ${PN}
92 +
93 + insinto /usr/share/zsh/site-functions
94 + doins contrib/completion/zsh/*
95 +
96 + distutils-r1_python_install_all
97 +}