summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-11-08 15:53:03 +0100
committerManuel Rüger <mrueg@gentoo.org>2017-11-08 15:53:03 +0100
commitc10905f219ffd17d86211b5dbec0f234fab9dfde (patch)
treeac8aea21da013d436b87ff3da89ead30e1a9f4d0 /dev-python
parentnet-misc/x2goserver: 4.0.1.21 bump (diff)
downloadgentoo-c10905f219ffd17d86211b5dbec0f234fab9dfde.tar.gz
gentoo-c10905f219ffd17d86211b5dbec0f234fab9dfde.tar.bz2
gentoo-c10905f219ffd17d86211b5dbec0f234fab9dfde.zip
dev-python/docker-py: Version bump to 2.6.0
Package-Manager: Portage-2.3.12, Repoman-2.3.4
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/docker-py/Manifest1
-rw-r--r--dev-python/docker-py/docker-py-2.6.0.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/docker-py/Manifest b/dev-python/docker-py/Manifest
index a3faf212c1bc..796d19837462 100644
--- a/dev-python/docker-py/Manifest
+++ b/dev-python/docker-py/Manifest
@@ -4,3 +4,4 @@ DIST docker-py-2.2.1.tar.gz 174907 SHA256 b84cda631daeaad532143b439af0235923647e
DIST docker-py-2.3.0.tar.gz 177920 SHA256 56ca8acbe7f7e9cffbfc8e1a2a256ec0fbe322130b1d1ba432865c707fc9f33f SHA512 61800bfb9377abb6d59cf394902f98f51b374b3752e6c151b801d014090801559b6bb64e1da9081a2516076bbc41a47987013a1e98fa37771cf5e97f26f2737d WHIRLPOOL b5e0d89dc70b2944dbfb1cba7c324c80c0655276c5ad27e4c5590170481201248934c99f044473648dd81d4ae866ed267704b33778c9a4d5a69bcadd3acaf378
DIST docker-py-2.4.2.tar.gz 180890 SHA256 53f72ae0c3329f48b2301eb64bc63ca0da2cdc9e8e24c87a76dab91da713ca2c SHA512 3367066b2acd96b85bef28aef00c91d752dc25b3055575b4f2f9c0b981eb4bca81a742bc6da5f97cf039cd9c7d818e3f80101997fe3a2e2c6f3a9c42fd3111c2 WHIRLPOOL f32495086c5b3a67bec365033d54b52ed77b156ec262239b10c5115e88e84be1bdd25562df9e04f93c18dbab68c378ef58e17d321ea54a2a0f8472381266b976
DIST docker-py-2.5.1.tar.gz 183413 SHA256 136338dbe7b9d8d1c24a6f968f43566e23b79ce1dfbcd33c6a201985b702c4e0 SHA512 5862589fbb831c6960ce5e6d256c716b64c2ad28d9c3542fd290f80b0deeac3a4985a96f3a9e04f55b184b03498900d8d520085cbda223b54480db4bbf977d1e WHIRLPOOL 52a0338c4df311cc1d01194f2f50fb02fa6aba8dc818f1caffffbd0fe686a2e8ac8b0646c93d7ad5911129b24ade3fb3847eea3609b9aef188e7601596e6fe34
+DIST docker-py-2.6.0.tar.gz 191901 SHA256 fc6e4b80c05a9c3cf5010facce3a48a1d87c2f30d234c3799c0a3a94ded5ec1a SHA512 4b574510ad57ec3b9853b42d36fc1870b093872ed02f339cc5de1d7b0687196c00fee3d8b7182d06800e49eaff71b5942537290526590288954c34b7b8ead331 WHIRLPOOL f07bcdb35a8ede05db81b4363b437db6938df519562e2d37f1b224dcf93b49c5e614280f7a6cf4e148af795af380538e9cb409c7923b3125e23a38ed4e20243e
diff --git a/dev-python/docker-py/docker-py-2.6.0.ebuild b/dev-python/docker-py/docker-py-2.6.0.ebuild
new file mode 100644
index 000000000000..559c7b0e68d7
--- /dev/null
+++ b/dev-python/docker-py/docker-py-2.6.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+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 ~arm64 ~x86"
+IUSE="doc test"
+
+RDEPEND="
+ >=dev-python/docker-pycreds-0.2.1[${PYTHON_USEDEP}]
+ !~dev-python/requests-2.18.0[${PYTHON_USEDEP}]
+ !~dev-python/requests-2.12.2[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.11.1[${PYTHON_USEDEP}]
+ >=dev-python/six-1.4.0[${PYTHON_USEDEP}]
+ >=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '>=dev-python/backports-ssl-match-hostname-3.5[${PYTHON_USEDEP}]' 'python2_7' 'python3_4' )
+ $(python_gen_cond_dep '>=dev-python/ipaddress-1.0.16[${PYTHON_USEDEP}]' 'python2_7' )
+"
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ >=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
+ dev-python/pytest-runner[${PYTHON_USEDEP}]
+ >=dev-python/pytest-2.9.1[${PYTHON_USEDEP}]
+ )
+ doc? (
+ dev-python/recommonmark[${PYTHON_USEDEP}]
+ >=dev-python/sphinx-1.4.6[${PYTHON_USEDEP}]
+ )
+"
+
+python_prepare_all() {
+ sed -i -e "s/import pip//" -e "s/if 'docker-py'.*/if False:/" setup.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ if use doc; then
+ sphinx-build docs html || die "docs failed to build"
+ HTML_DOCS=( html/. )
+ fi
+}
+
+python_test() {
+ py.test tests/unit/ || die "tests failed under ${EPYTHON}"
+}