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, 03 Apr 2016 14:52:05
Message-Id: 1459694941.7176578529af463023471c3805b76cd5a6f3ba4d.alunduil@gentoo
1 commit: 7176578529af463023471c3805b76cd5a6f3ba4d
2 Author: Alex Brandt <alunduil <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 3 14:49:01 2016 +0000
4 Commit: Alex Brandt <alunduil <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 3 14:49:01 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71765785
7
8 app-emulation/docker-compose: add version 1.7.0_rc1
9
10 Package-Manager: portage-2.2.28
11
12 app-emulation/docker-compose/Manifest | 1 +
13 .../docker-compose/docker-compose-1.7.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 342b702..a5dc636 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.5.1.tar.gz 104331 SHA256 df5e885fd758a2b5983574d6718b5a07f92c7166c5706dc6ff88687d27bfaf55 SHA512 be6678c27b73516e14bf80255e52bde72517bd65a91f1be2393a15f0f0b87ff9ddd785e22016a9a5e1a68d5e6b9be395a96d60b7bc862f24647adf81752b9baa WHIRLPOOL 0b1312cb0d99a7cf02d8a88a7b00f3105f497c1cfa0ac3b32b369cd3984f2b1eaa8ea2c9e2e5a70ada3a371fb8a774245b75eaf5a7665170398df5f703793311
22 DIST docker-compose-1.5.2.tar.gz 106583 SHA256 79aa7e2e6ef9ab1936f8777476ffd4bb329875ec3d3664d239896d2f2a3c4f4f SHA512 be671503bbb91fdb5fdf9ff593f28d290d1c65738d055629d8252cf4c4eea7f5931a1e1d6d7a0b27640166671ecb095b413cb694b768437be3ec207e059f4ccc WHIRLPOOL bb12df93739329b9577db41a317a22976dc97ca1d1d3dd72e2ff4b8c245caf106f1aab466d42ffa7b9e6a7bf6f628f8977d2700460591051dade074535f0175e
23 DIST docker-compose-1.6.2.tar.gz 128730 SHA256 264e2cbdd3fa314ba75f2681d10b0cff8d989a62979c1ba42d15a6d4c4002482 SHA512 7254a7e88b9030eeac87c1c6abfeea12e978519cc4e0236e37537c3143198d448e504107b1599b355a3c75e03e0acbd6fe552d0ff482cd3e91772d759a85544a WHIRLPOOL 3755ef9c189bd08f5bb810bf527041393ab788dcd302e6f1553989de73375ba34e062d2b21c10b144132ce9eb3997310b683b1b5b46aaf992fedfaa652deb6b2
24 +DIST docker-compose-1.7.0_rc1.tar.gz 140008 SHA256 ae4777e14fa64d2016f2dcbca34b39e2976150ca324241b68b5a82f753ee08ef SHA512 3405f59fae198633f7bb8ac8d9c94294d221751a551a91a96ac131f520cabec068a5aa4ba502c5e8eb9a3907e6f8527de2e39a12a66980ad978cb5b7d96cac06 WHIRLPOOL 82e2226a0fdf06b25da3da27ddf53739c0e583e290ce94747298c75aee5f8f37b353d1bcf1fe7e57e20daa53637ac36d9fb1787e8243176c7108f38e5a697b42
25
26 diff --git a/app-emulation/docker-compose/docker-compose-1.7.0_rc1.ebuild b/app-emulation/docker-compose/docker-compose-1.7.0_rc1.ebuild
27 new file mode 100644
28 index 0000000..6434132
29 --- /dev/null
30 +++ b/app-emulation/docker-compose/docker-compose-1.7.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.7.2[${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 +}