commit:     c9db4bb9ed22eac07968b30ed442a1e0cf8dc507
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  8 06:16:31 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct  8 06:21:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9db4bb9

dev-python/docker-py: Bump to 5.0.3

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/docker-py/Manifest               |  1 +
 dev-python/docker-py/docker-py-5.0.3.ebuild | 44 +++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/dev-python/docker-py/Manifest b/dev-python/docker-py/Manifest
index 6b9d3dd8158..e32262df14b 100644
--- a/dev-python/docker-py/Manifest
+++ b/dev-python/docker-py/Manifest
@@ -1 +1,2 @@
 DIST docker-py-5.0.0.tar.gz 247639 BLAKE2B 
7e7f1d0edf228c967ee9252c6dc37e803a2e91601d3dce06db335c4bc4c8af43097864307ad72d4665d13f9ab0ba63b3dfd5ac7baa4dbc903ca57fe67985c1d2
 SHA512 
fae4afcda91ddf946048f76e62928a4891e1b0ce522b820aefb774dde58eb8e2aac0a381971acca04ca87794989ba675464e7913fab4abf2ed414719d66c91d1
+DIST docker-py-5.0.3.tar.gz 247093 BLAKE2B 
607aca3f6a58b289feed018f40fa5e76e9d6cbae9eefd15a3347e393ae68d963e897e5f288ebf3a13cfbbfafd37882152da1398f61a808338424f353384f1b43
 SHA512 
50890e8d75eb9e4d3d98bbea5f86b86ad199a56ab0761bf2d0c0f3b7902810b2c17c2a677b0063963742a43a4660d400705bb8eb4e217c89302ae849a4ef3e08

diff --git a/dev-python/docker-py/docker-py-5.0.3.ebuild 
b/dev-python/docker-py/docker-py-5.0.3.ebuild
new file mode 100644
index 00000000000..f6e9eb29c7a
--- /dev/null
+++ b/dev-python/docker-py/docker-py-5.0.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python client for Docker"
+HOMEPAGE="https://github.com/docker/docker-py";
+SRC_URI="https://github.com/docker/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+       >=dev-python/requests-2.24.0[${PYTHON_USEDEP}]
+       >=dev-python/six-1.4.0[${PYTHON_USEDEP}]
+       >=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}]
+"
+DEPEND="
+       test? (
+               >=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
+               >=dev-python/paramiko-2.4.2[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_sphinx docs \
+       'dev-python/recommonmark' \
+       '>=dev-python/sphinx-1.4.6'
+distutils_enable_tests pytest
+
+src_prepare() {
+       # localhost has a better chance of being in /etc/hosts
+       sed -e 's:socket[.]gethostname():"localhost":' \
+               -i tests/unit/api_test.py || die
+
+       distutils-r1_src_prepare
+}
+
+python_test() {
+       epytest -vv tests/unit
+}

Reply via email to