1 |
commit: 1230870ffec182dea4d4bd83dee30e446370c020 |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 20 20:18:26 2021 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 20 20:33:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1230870f |
7 |
|
8 |
app-emulation/docker-compose: 1.28.0 |
9 |
|
10 |
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> |
11 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
12 |
|
13 |
app-emulation/docker-compose/Manifest | 1 + |
14 |
.../docker-compose/docker-compose-1.28.0.ebuild | 73 ++++++++++++++++++++++ |
15 |
2 files changed, 74 insertions(+) |
16 |
|
17 |
diff --git a/app-emulation/docker-compose/Manifest b/app-emulation/docker-compose/Manifest |
18 |
index 4a1d3c68275..95109b4bd02 100644 |
19 |
--- a/app-emulation/docker-compose/Manifest |
20 |
+++ b/app-emulation/docker-compose/Manifest |
21 |
@@ -1,4 +1,5 @@ |
22 |
DIST docker-compose-1.27.4.tar.gz 309308 BLAKE2B 098af5e0308de4fe72f8f7d5c9cbdb285ec1cb6fbd492baef8a4223f93591321c585ebabd4c7e4a40d7a1bce3ab2d7ccf4cee1d0a15e7f59bb80eb4df5b6c8d6 SHA512 b41b7cf88b1380021a30f9becb7567d1e154ef875c42b37483673b5107f1a26dae6868b92c6a61f695001eb63759b25f3729e6783272eb784047717cafea3b80 |
23 |
+DIST docker-compose-1.28.0.tar.gz 318112 BLAKE2B 2e721f2aed08f8c63c7c75aa91e6ee28d997763a7d93921e9a62c41b7d48943221aa2135e6ba3925db67b2376f662f81ef71df15180895ea4d5ced1edd0cc493 SHA512 c673f25ff993e7dcaf75512c378339bb7435d96310bf9a47ee3fd3a515967b323ed911b77c030a8e9c1d04b8aca235565a0ca0eaeab401c4ac48110712da405e |
24 |
DIST docker-compose-1.28.0_rc1.tar.gz 313984 BLAKE2B 3307aab3ec842d21de73ab282905016f6b0934a2ce9d1dde474ea1e7c5894cea028363c03ec9f597cb3e9b2910e9286b2ffb3070885b20787f28767fec909a73 SHA512 87704f16bd2d6551fed0b3d38264e10cf12604f40a68637ac9dacc3aebe618872f54a890aa6bb1412143055021751bcba1b542d51b252e78b0b8948e2b8cc8fd |
25 |
DIST docker-compose-1.28.0_rc2.tar.gz 314331 BLAKE2B c2e169152a6da067e47ca7654b3866fd2b46779bbf35f917008dc71a4c70ede1704bd3f6e5f2231b42d50d6d11ae9df402ed1b01832c26d5d14bdb4db33e7432 SHA512 0320f96b177034c5575797540d38981d591fe22d39ee2e1c338589189333c9eac5e595103bc7295b43b90f697b5a09daffa7f611b395e6bcf81fdce3a391eed6 |
26 |
DIST docker-compose-1.28.0_rc3.tar.gz 317485 BLAKE2B 5954ebf8224b8701decf7b7c4447592f0a8ce5472e5c9307364c605e2a260ae36c69ceb95b6dc254701650873ea8f443e8767a7ba96bbeec44343b94fb8c5d36 SHA512 0d09d306c38b6c9990f5801fe12c7554694f1a270c13babeb8aecda06c428f4c8d37153439c43fd02fe3ffd59fe4f38ad48d066abfb81fcc1ce8e23e6b353ef3 |
27 |
|
28 |
diff --git a/app-emulation/docker-compose/docker-compose-1.28.0.ebuild b/app-emulation/docker-compose/docker-compose-1.28.0.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..b76ffd2a685 |
31 |
--- /dev/null |
32 |
+++ b/app-emulation/docker-compose/docker-compose-1.28.0.ebuild |
33 |
@@ -0,0 +1,73 @@ |
34 |
+# Copyright 2018-2021 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+PYTHON_COMPAT=( python3_{6,7,8,9} ) |
40 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
41 |
+ |
42 |
+inherit bash-completion-r1 distutils-r1 |
43 |
+ |
44 |
+MY_PV=${PV/_/-} |
45 |
+DESCRIPTION="Multi-container orchestration for Docker" |
46 |
+HOMEPAGE="https://github.com/docker/compose" |
47 |
+SRC_URI="https://github.com/docker/compose/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="Apache-2.0" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~arm64" |
52 |
+IUSE="test" |
53 |
+RESTRICT="!test? ( test )" |
54 |
+ |
55 |
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/cached-property-1.2.0[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/distro-1.5.0[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/docker-py-4.4.0[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/dockerpty-0.4.1[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/docopt-0.6.1[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/python-dotenv-0.13.0[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/jsonschema-2.5.1[${PYTHON_USEDEP}] |
63 |
+ dev-python/paramiko[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/PySocks-1.6.0[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/requests-2.20.0[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/six-1.3.0[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/texttable-0.9.0[${PYTHON_USEDEP}] |
69 |
+ >=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}]" |
70 |
+ |
71 |
+DEPEND="${RDEPEND} |
72 |
+ test? ( |
73 |
+ >=dev-python/pytest-5[${PYTHON_USEDEP}] |
74 |
+ >=dev-python/ddt-1.2.2[${PYTHON_USEDEP}] |
75 |
+ )" |
76 |
+ |
77 |
+S="${WORKDIR}/compose-${MY_PV}" |
78 |
+ |
79 |
+PATCHES=( |
80 |
+ # Bug #679968 -- https://bugs.gentoo.org/679968 |
81 |
+ # Bug #681002 -- https://bugs.gentoo.org/681002 |
82 |
+ "${FILESDIR}"/${PN}-1.28.0_rc2-setup-py.patch |
83 |
+) |
84 |
+ |
85 |
+DOCS=( CHANGELOG.md README.md ) |
86 |
+ |
87 |
+src_prepare() { |
88 |
+ # Address QA issue "docker-compose.exe: missing alias (symlink) for completed command." |
89 |
+ sed 's,^\(complete.*\) docker-compose\.exe\(.*\),\1\2,' -i contrib/completion/bash/docker-compose || die |
90 |
+ |
91 |
+ default |
92 |
+} |
93 |
+ |
94 |
+python_test() { |
95 |
+ distutils_install_for_testing |
96 |
+ ${PYTHON} -m pytest tests/unit/ || die "tests failed under ${EPYTHON}" |
97 |
+} |
98 |
+ |
99 |
+python_install_all() { |
100 |
+ newbashcomp contrib/completion/bash/docker-compose ${PN} |
101 |
+ |
102 |
+ insinto /usr/share/zsh/site-functions |
103 |
+ doins contrib/completion/zsh/* |
104 |
+ |
105 |
+ distutils-r1_python_install_all |
106 |
+} |