Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/docker-py/
Date: Tue, 04 Apr 2017 21:30:33
Message-Id: 1491341407.8b5fb391bb87db6e83b92bd57dcab3b418fd77a1.mrueg@gentoo
1 commit: 8b5fb391bb87db6e83b92bd57dcab3b418fd77a1
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 4 21:30:07 2017 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 4 21:30:07 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b5fb391
7
8 dev-python/docker-py: Version bump to 2.2.1
9
10 Package-Manager: Portage-2.3.4, Repoman-2.3.2
11
12 dev-python/docker-py/Manifest | 1 +
13 dev-python/docker-py/docker-py-2.2.1.ebuild | 55 +++++++++++++++++++++++++++++
14 2 files changed, 56 insertions(+)
15
16 diff --git a/dev-python/docker-py/Manifest b/dev-python/docker-py/Manifest
17 index cb09b2b288d..7dd51d24c0b 100644
18 --- a/dev-python/docker-py/Manifest
19 +++ b/dev-python/docker-py/Manifest
20 @@ -3,3 +3,4 @@ DIST docker-py-1.2.2.tar.gz 69685 SHA256 85284a5b1a965e01a5d0a91f9f639ad5069143a
21 DIST docker-py-2.0.1.tar.gz 160820 SHA256 21b37d9fb581bcf88fe5e38ed915a7e3d4bd94174ec45f654669d970da371801 SHA512 097956bbf67659702cc92762f1570c5f86c478f38c527974b9f2f9938e9baa9a8c97f0c3b5252343a92f036e0712dc09cbbc1c1d7fa893b194cef9ec02b37c5a WHIRLPOOL f3451f6a9ded054cd977c57e06608f891ad933af464254243df5be9d909883b11451620aab21e3acb535acb7aec13c077b0e62c7683166c4b4f170812e3b8759
22 DIST docker-py-2.0.2.tar.gz 162030 SHA256 1d4a9f65c1e70aec5501c4d84486e3c0d9d0a0dbaa66b48e91f50a108a5c6b9c SHA512 9be455702e5dcf8d5e31fd204ea9b642a132876b1f758e7127daab56f0a8a9002af4b4fa39fd5bcf95208ade0a980d2f83bc81e9c5ba3ccdfaf5ae6ddedf4907 WHIRLPOOL 3ded3ed7177e4760566730e9fec31cde3fea25808b80b12a75294aad3648b13bf4df9ae42b5f5025376fcba022415179717664668ae9077ebb89406eefbba412
23 DIST docker-py-2.1.0.tar.gz 172299 SHA256 6eb64263708846390fbd204b55287b612ed6738c3fea9315c0008a027b8edfbf SHA512 053ae0110046d83be0b2b5b33ee84718f995455c650282202d49c9d6806b1d351021344b751f22d29781ab5b2fe9411849dea1da8de231659e657fc10c4d9747 WHIRLPOOL beae0995d3d9061f997cb8a7a65a5d5d18ace3cb3fabdfee6d35826141992d14f7f7b3be8bfccbbf0c4d8480282b0c878d1c5372ce73d6b7a4a5c66eb17dd8d1
24 +DIST docker-py-2.2.1.tar.gz 174907 SHA256 b84cda631daeaad532143b439af0235923647ed30da5fc4427e6929a637af122 SHA512 9eda776d0055587e68a8933969d0b540c6439dd26fe4dfc13ee50c46ccf55294c130d625f235a74bb48bc58aff93e0371b79cfeb971588e9f7d745a3b6930dc5 WHIRLPOOL 3e0b80cd2af690ed47010bd6cdc68b01b6e4e0d294f49326e3e51d6ab38c0d0fd159fea3d1e44b1f8ab31f591b33c136064b68aa471dadd66a693105bba55a1a
25
26 diff --git a/dev-python/docker-py/docker-py-2.2.1.ebuild b/dev-python/docker-py/docker-py-2.2.1.ebuild
27 new file mode 100644
28 index 00000000000..127e6263398
29 --- /dev/null
30 +++ b/dev-python/docker-py/docker-py-2.2.1.ebuild
31 @@ -0,0 +1,55 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Python client for Docker"
41 +HOMEPAGE="https://github.com/docker/docker-py"
42 +SRC_URI="https://github.com/docker/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="Apache-2.0"
45 +SLOT="0"
46 +KEYWORDS="~amd64"
47 +IUSE="doc test"
48 +
49 +RDEPEND="
50 + >=dev-python/docker-pycreds-0.2.1[${PYTHON_USEDEP}]
51 + !~dev-python/requests-2.12.2[${PYTHON_USEDEP}]
52 + >=dev-python/requests-2.11.1[${PYTHON_USEDEP}]
53 + >=dev-python/six-1.4.0[${PYTHON_USEDEP}]
54 + >=dev-python/websocket-client-0.32.0[${PYTHON_USEDEP}]
55 + $(python_gen_cond_dep '>=dev-python/backports-ssl-match-hostname-3.5[${PYTHON_USEDEP}]' 'python2_7' 'python3_4' )
56 + $(python_gen_cond_dep '>=dev-python/ipaddress-1.0.16[${PYTHON_USEDEP}]' 'python2_7' )
57 +"
58 +DEPEND="
59 + dev-python/setuptools[${PYTHON_USEDEP}]
60 + test? (
61 + ${RDEPEND}
62 + >=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
63 + dev-python/pytest-runner[${PYTHON_USEDEP}]
64 + >=dev-python/pytest-2.9.1[${PYTHON_USEDEP}]
65 + )
66 + doc? (
67 + dev-python/recommonmark[${PYTHON_USEDEP}]
68 + >=dev-python/sphinx-1.4.6[${PYTHON_USEDEP}]
69 + )
70 +"
71 +
72 +python_prepare_all() {
73 + sed -i -e "s/import pip//" -e "s/if 'docker-py'.*/if False:/" setup.py || die
74 + distutils-r1_python_prepare_all
75 +}
76 +
77 +python_compile_all() {
78 + if use doc; then
79 + sphinx-build docs html || die "docs failed to build"
80 + HTML_DOCS=( html/. )
81 + fi
82 +}
83 +
84 +python_test() {
85 + py.test tests/unit/ || die "tests failed under ${EPYTHON}"
86 +}