diff options
author | Alex Brandt <alunduil@gentoo.org> | 2016-09-24 10:35:00 -0500 |
---|---|---|
committer | Alex Brandt <alunduil@gentoo.org> | 2016-09-24 10:35:00 -0500 |
commit | 52c9e3485f86354a16b8822293be456cf7405fc7 (patch) | |
tree | a19d03a0cfd7936bd9c22f6cd9041397289eb4bc /dev-python/docker-py | |
parent | 38d15791e6e281ca813f53d7796199e88553db51 (diff) | |
download | gentoo-52c9e3485f86354a16b8822293be456cf7405fc7.tar.gz gentoo-52c9e3485f86354a16b8822293be456cf7405fc7.tar.xz |
dev-python/docker-py: add version 1.10.3
Package-Manager: portage-2.3.1
Diffstat (limited to 'dev-python/docker-py')
-rw-r--r-- | dev-python/docker-py/Manifest | 1 | ||||
-rw-r--r-- | dev-python/docker-py/docker-py-1.10.3.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/docker-py/Manifest b/dev-python/docker-py/Manifest index 63f9a23a481..55611498058 100644 --- a/dev-python/docker-py/Manifest +++ b/dev-python/docker-py/Manifest @@ -1,3 +1,4 @@ +DIST docker-py-1.10.3.tar.gz 121064 SHA256 3042c0b3ca5333aaaa53f0aa7acc19b5a1258b0f2fcf0a90da0f96659f52f64a SHA512 39bb7440849fcc815f6a36dfe402e76635d01584f9af3d17610d0c70719f46aa16b697058feeda961b9830e463fba5aeac2cc28752881ea0bf1cd0c6ca41acb7 WHIRLPOOL 92a0b7dd9a3fdedee7538bc1518035bca470c91a436516c87b2645b50a36fd5b884517f92759bd4e7f02cd6545335072bd801692cbb5c2b424cb6f4320ddea27 DIST docker-py-1.2.2.tar.gz 69685 SHA256 85284a5b1a965e01a5d0a91f9f639ad5069143a276c123198fdafc3659280b38 SHA512 bf00b19e0ab56e5c0e8459234d09722ca504ecd933bfba61cb4ab4805410f53f6ad6083f2e964ef5a6eded2ea05aa01a89c27621064386bae145c7258ed996ad WHIRLPOOL bd7ff4579f924e02d18581b1aca00790dcb84afda03e4cde70b349bfdb4ad43aa2e06da2bcbe780f6074d98f9af9b14fb9d2ab4da9265e56b73288902c9ede7a DIST docker-py-1.8.1.tar.gz 101171 SHA256 82dc8db8088576ec5c42c203f7c46a88a26963e137ee0dafbf7e33882d75eb47 SHA512 c05412a43a774cc402e8f1bbb6c389c17e7fc335db4cfbe2d8a7001d7389f74fe51b3a2120bbbde640d93c5788283651b992389e3a09852eecb10e87e13466a0 WHIRLPOOL 47bdb88c07385d98cf5922ee420f85a93a84c62cc807acd9b0093ce55c386a4bd9f3cca1603e00259d32b0c3f0617282c49f23e4f67ead803a1ea5850ddeafc3 DIST docker-py-1.9.0.tar.gz 105939 SHA256 0ff58798c8cf79c7e459505786b3b83ca0552a077945b8fe20fc38ff3f732361 SHA512 49e6d4e8ab30c4e54165e7eff9e3034a1fe102348020bad2c5aefa238c44efdf39711536a7727fd9689e2e90483a348930bb91f1e76cade546161c82990f78ed WHIRLPOOL d60bca034f91569f37bef65ff42fcf950dfbc02bc42053bb650a9188661a8c0d9c21cb03128782a15799e6f208e88b32618286615ef94ba9396a4940ae3b6603 diff --git a/dev-python/docker-py/docker-py-1.10.3.ebuild b/dev-python/docker-py/docker-py-1.10.3.ebuild new file mode 100644 index 00000000000..927bee77f2b --- /dev/null +++ b/dev-python/docker-py/docker-py-1.10.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) + +inherit distutils-r1 vcs-snapshot + +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" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( ~dev-python/mkdocs-0.15.3[${PYTHON_USEDEP}] ) + test? ( + ~dev-python/mock-1.0.1[${PYTHON_USEDEP}] + >=dev-python/pytest-2.8.0[${PYTHON_USEDEP}] + <=dev-python/pytest-3.0.0[${PYTHON_USEDEP}] + ~dev-python/pytest-cov-2.1.0[${PYTHON_USEDEP}] + ) +" +RDEPEND=" + >=dev-python/docker-pycreds-0.2.1[${PYTHON_USEDEP}] + <dev-python/requests-2.11[${PYTHON_USEDEP}] + >=dev-python/requests-2.5.2[${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_3' 'python3_4' ) + $(python_gen_cond_dep '>=dev-python/ipaddress-1.0.16[${PYTHON_USEDEP}]' 'python2_7' ) +" + +python_compile_all() { + if use doc; then + mkdocs build -d 'mkdocs_site' || die "docs failed to build" + fi +} + +python_test() { + py.test tests/unit/ | die "tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( mkdocs_site/. ) + + distutils-r1_python_install_all +} |