1 |
commit: c9db4bb9ed22eac07968b30ed442a1e0cf8dc507 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 8 06:16:31 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 8 06:21:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9db4bb9 |
7 |
|
8 |
dev-python/docker-py: Bump to 5.0.3 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/docker-py/Manifest | 1 + |
13 |
dev-python/docker-py/docker-py-5.0.3.ebuild | 44 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/docker-py/Manifest b/dev-python/docker-py/Manifest |
17 |
index 6b9d3dd8158..e32262df14b 100644 |
18 |
--- a/dev-python/docker-py/Manifest |
19 |
+++ b/dev-python/docker-py/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST docker-py-5.0.0.tar.gz 247639 BLAKE2B 7e7f1d0edf228c967ee9252c6dc37e803a2e91601d3dce06db335c4bc4c8af43097864307ad72d4665d13f9ab0ba63b3dfd5ac7baa4dbc903ca57fe67985c1d2 SHA512 fae4afcda91ddf946048f76e62928a4891e1b0ce522b820aefb774dde58eb8e2aac0a381971acca04ca87794989ba675464e7913fab4abf2ed414719d66c91d1 |
22 |
+DIST docker-py-5.0.3.tar.gz 247093 BLAKE2B 607aca3f6a58b289feed018f40fa5e76e9d6cbae9eefd15a3347e393ae68d963e897e5f288ebf3a13cfbbfafd37882152da1398f61a808338424f353384f1b43 SHA512 50890e8d75eb9e4d3d98bbea5f86b86ad199a56ab0761bf2d0c0f3b7902810b2c17c2a677b0063963742a43a4660d400705bb8eb4e217c89302ae849a4ef3e08 |
23 |
|
24 |
diff --git a/dev-python/docker-py/docker-py-5.0.3.ebuild b/dev-python/docker-py/docker-py-5.0.3.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..f6e9eb29c7a |
27 |
--- /dev/null |
28 |
+++ b/dev-python/docker-py/docker-py-5.0.3.ebuild |
29 |
@@ -0,0 +1,44 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+PYTHON_COMPAT=( python3_{8..10} ) |
35 |
+ |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Python client for Docker" |
39 |
+HOMEPAGE="https://github.com/docker/docker-py" |
40 |
+SRC_URI="https://github.com/docker/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="Apache-2.0" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ >=dev-python/requests-2.24.0[${PYTHON_USEDEP}] |
48 |
+ >=dev-python/six-1.4.0[${PYTHON_USEDEP}] |
49 |
+ >=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}] |
50 |
+" |
51 |
+DEPEND=" |
52 |
+ test? ( |
53 |
+ >=dev-python/mock-1.0.1[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/paramiko-2.4.2[${PYTHON_USEDEP}] |
55 |
+ ) |
56 |
+" |
57 |
+ |
58 |
+distutils_enable_sphinx docs \ |
59 |
+ 'dev-python/recommonmark' \ |
60 |
+ '>=dev-python/sphinx-1.4.6' |
61 |
+distutils_enable_tests pytest |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ # localhost has a better chance of being in /etc/hosts |
65 |
+ sed -e 's:socket[.]gethostname():"localhost":' \ |
66 |
+ -i tests/unit/api_test.py || die |
67 |
+ |
68 |
+ distutils-r1_src_prepare |
69 |
+} |
70 |
+ |
71 |
+python_test() { |
72 |
+ epytest -vv tests/unit |
73 |
+} |