1 |
commit: 60d5000802588ab79e84d3b63865a7846ac5531b |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 24 15:28:18 2018 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 24 15:59:27 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60d50008 |
7 |
|
8 |
app-emulation/docker-compose: 1.22.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/661882 |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
12 |
|
13 |
app-emulation/docker-compose/Manifest | 1 + |
14 |
.../docker-compose/docker-compose-1.22.0.ebuild | 78 ++++++++++++++++++++++ |
15 |
2 files changed, 79 insertions(+) |
16 |
|
17 |
diff --git a/app-emulation/docker-compose/Manifest b/app-emulation/docker-compose/Manifest |
18 |
index 12526f859a7..25a210d5bfc 100644 |
19 |
--- a/app-emulation/docker-compose/Manifest |
20 |
+++ b/app-emulation/docker-compose/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST docker-compose-1.19.0.tar.gz 238307 BLAKE2B 2a7bbcf50c2cc591eba1d59db30cb0341e33e3f1ebe948e0b6762d9bffcdcc72d98e2da19fc549c5fabda192fca69a9d54e016601ddb4f4a94f0dc1c93f99a29 SHA512 f1d522621580a5130378508e6b15ad2e4708e9c5ff713627ca54308ab3e6bf000e21c55bbdf9585b2116e73648fdc773500a5415ab81a72dd2c69c9c07e71581 |
23 |
DIST docker-compose-1.21.2.tar.gz 294070 BLAKE2B c27ce8708f20385ee3f072c4aa832a42dc975d08d71d9e61ce3a822055d606db7e1e7b6e182523e64115922416d5c1baeca14897a241e84873a97aa755bce539 SHA512 6392582d8c6c321458b1163336f1c902548cc250f9ab5b765d144287b006ef6dacdc47199fafbb6efe426e382325b94986aa159df08dec4974a71968862a8435 |
24 |
+DIST docker-compose-1.22.0.tar.gz 296747 BLAKE2B 9dfd25fb186436801d9c12900c4103c1c0d83bee3b424b3f2373247aeeb8261fed04cf9be9cee230a48e1c19523b48d5618a18f322c236bac1d769036f9ac979 SHA512 eccef2165221fcfdac089ffd3bd0795d08d8c6f7158709dbc2fc83a6d6e9466af4b73c0c7d24a751c6b546b4219e10dfc96cd41e13e7ebc676da603c97b7620e |
25 |
|
26 |
diff --git a/app-emulation/docker-compose/docker-compose-1.22.0.ebuild b/app-emulation/docker-compose/docker-compose-1.22.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..762d474a043 |
29 |
--- /dev/null |
30 |
+++ b/app-emulation/docker-compose/docker-compose-1.22.0.ebuild |
31 |
@@ -0,0 +1,78 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
37 |
+ |
38 |
+inherit bash-completion-r1 distutils-r1 vcs-snapshot |
39 |
+ |
40 |
+MY_PV=${PV/_/} |
41 |
+ |
42 |
+DESCRIPTION="Multi-container orchestration for Docker" |
43 |
+HOMEPAGE="https://github.com/docker/compose" |
44 |
+SRC_URI="https://github.com/docker/compose/archive/${PV}.tar.gz -> ${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/cached-property-1.2.0[${PYTHON_USEDEP}] |
54 |
+ <dev-python/cached-property-2[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/dockerpty-0.4.1[${PYTHON_USEDEP}] |
56 |
+ <dev-python/dockerpty-0.5[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/docker-py-3.4.1[${PYTHON_USEDEP}] |
58 |
+ <dev-python/docker-py-3.5[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/docopt-0.6.1[${PYTHON_USEDEP}] |
60 |
+ <dev-python/docopt-0.7[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/jsonschema-2.5.1[${PYTHON_USEDEP}] |
62 |
+ <dev-python/jsonschema-3[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] |
64 |
+ !~dev-python/PySocks-1.5.7[${PYTHON_USEDEP}] |
65 |
+ <dev-python/PySocks-2[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] |
67 |
+ <dev-python/pyyaml-4[${PYTHON_USEDEP}] |
68 |
+ !~dev-python/requests-2.11.0[${PYTHON_USEDEP}] |
69 |
+ <dev-python/requests-2.19[${PYTHON_USEDEP}] |
70 |
+ >=dev-python/requests-2.6.1[${PYTHON_USEDEP}] |
71 |
+ >=dev-python/six-1.3.0[${PYTHON_USEDEP}] |
72 |
+ <dev-python/six-2[${PYTHON_USEDEP}] |
73 |
+ >=dev-python/texttable-0.9[${PYTHON_USEDEP}] |
74 |
+ <dev-python/texttable-0.10[${PYTHON_USEDEP}] |
75 |
+ >=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}] |
76 |
+ <dev-python/websocket-client-1.0[${PYTHON_USEDEP}] |
77 |
+ $(python_gen_cond_dep '>=dev-python/enum34-1.0.4[${PYTHON_USEDEP}]' 'python2_7' ) |
78 |
+ $(python_gen_cond_dep '<dev-python/enum34-2[${PYTHON_USEDEP}]' 'python2_7' ) |
79 |
+ $(python_gen_cond_dep '>=dev-python/ipaddress-1.0.16[${PYTHON_USEDEP}]' 'python2_7' ) |
80 |
+ $(python_gen_cond_dep '>=dev-python/backports-ssl-match-hostname-3.5[${PYTHON_USEDEP}]' 'python2_7' ) |
81 |
+" |
82 |
+DEPEND=" |
83 |
+ ${CDEPEND} |
84 |
+ test? ( |
85 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
86 |
+ $(python_gen_cond_dep '>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]' 'python2_7' ) |
87 |
+ ) |
88 |
+" |
89 |
+RDEPEND="${CDEPEND}" |
90 |
+ |
91 |
+src_prepare() { |
92 |
+ # Address QA issue "docker-compose.exe: missing alias (symlink) for completed command." |
93 |
+ sed 's,^\(complete.*\) docker-compose\.exe\(.*\),\1\2,' -i contrib/completion/bash/docker-compose || die |
94 |
+ |
95 |
+ eapply_user |
96 |
+} |
97 |
+ |
98 |
+python_test() { |
99 |
+ ${PYTHON} -m pytest tests/unit || die "tests failed under ${EPYTHON}" |
100 |
+} |
101 |
+ |
102 |
+python_install_all() { |
103 |
+ newbashcomp contrib/completion/bash/docker-compose ${PN} |
104 |
+ |
105 |
+ insinto /usr/share/zsh/site-functions |
106 |
+ doins contrib/completion/zsh/* |
107 |
+ |
108 |
+ distutils-r1_python_install_all |
109 |
+} |