summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-04-04 23:30:07 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-04-04 23:30:07 +0200
commit8b5fb391bb87db6e83b92bd57dcab3b418fd77a1 (patch)
treed64111dab62eab1ac5bdf3a0ff6849f496f51612 /dev-python/docker-py
parentmedia-libs/gegl: ppc stable (bug 591618). (diff)
downloadgentoo-8b5fb391bb87db6e83b92bd57dcab3b418fd77a1.tar.gz
gentoo-8b5fb391bb87db6e83b92bd57dcab3b418fd77a1.tar.bz2
gentoo-8b5fb391bb87db6e83b92bd57dcab3b418fd77a1.zip
dev-python/docker-py: Version bump to 2.2.1
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'dev-python/docker-py')
-rw-r--r--dev-python/docker-py/Manifest1
-rw-r--r--dev-python/docker-py/docker-py-2.2.1.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/docker-py/Manifest b/dev-python/docker-py/Manifest
index cb09b2b288d1..7dd51d24c0bf 100644
--- a/dev-python/docker-py/Manifest
+++ b/dev-python/docker-py/Manifest
@@ -3,3 +3,4 @@ DIST docker-py-1.2.2.tar.gz 69685 SHA256 85284a5b1a965e01a5d0a91f9f639ad5069143a
DIST docker-py-2.0.1.tar.gz 160820 SHA256 21b37d9fb581bcf88fe5e38ed915a7e3d4bd94174ec45f654669d970da371801 SHA512 097956bbf67659702cc92762f1570c5f86c478f38c527974b9f2f9938e9baa9a8c97f0c3b5252343a92f036e0712dc09cbbc1c1d7fa893b194cef9ec02b37c5a WHIRLPOOL f3451f6a9ded054cd977c57e06608f891ad933af464254243df5be9d909883b11451620aab21e3acb535acb7aec13c077b0e62c7683166c4b4f170812e3b8759
DIST docker-py-2.0.2.tar.gz 162030 SHA256 1d4a9f65c1e70aec5501c4d84486e3c0d9d0a0dbaa66b48e91f50a108a5c6b9c SHA512 9be455702e5dcf8d5e31fd204ea9b642a132876b1f758e7127daab56f0a8a9002af4b4fa39fd5bcf95208ade0a980d2f83bc81e9c5ba3ccdfaf5ae6ddedf4907 WHIRLPOOL 3ded3ed7177e4760566730e9fec31cde3fea25808b80b12a75294aad3648b13bf4df9ae42b5f5025376fcba022415179717664668ae9077ebb89406eefbba412
DIST docker-py-2.1.0.tar.gz 172299 SHA256 6eb64263708846390fbd204b55287b612ed6738c3fea9315c0008a027b8edfbf SHA512 053ae0110046d83be0b2b5b33ee84718f995455c650282202d49c9d6806b1d351021344b751f22d29781ab5b2fe9411849dea1da8de231659e657fc10c4d9747 WHIRLPOOL beae0995d3d9061f997cb8a7a65a5d5d18ace3cb3fabdfee6d35826141992d14f7f7b3be8bfccbbf0c4d8480282b0c878d1c5372ce73d6b7a4a5c66eb17dd8d1
+DIST docker-py-2.2.1.tar.gz 174907 SHA256 b84cda631daeaad532143b439af0235923647ed30da5fc4427e6929a637af122 SHA512 9eda776d0055587e68a8933969d0b540c6439dd26fe4dfc13ee50c46ccf55294c130d625f235a74bb48bc58aff93e0371b79cfeb971588e9f7d745a3b6930dc5 WHIRLPOOL 3e0b80cd2af690ed47010bd6cdc68b01b6e4e0d294f49326e3e51d6ab38c0d0fd159fea3d1e44b1f8ab31f591b33c136064b68aa471dadd66a693105bba55a1a
diff --git a/dev-python/docker-py/docker-py-2.2.1.ebuild b/dev-python/docker-py/docker-py-2.2.1.ebuild
new file mode 100644
index 000000000000..127e62633989
--- /dev/null
+++ b/dev-python/docker-py/docker-py-2.2.1.ebuild
@@ -0,0 +1,55 @@
+# 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} )
+
+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"
+IUSE="doc test"
+
+RDEPEND="
+ >=dev-python/docker-pycreds-0.2.1[${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}"
+}