diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2016-12-15 13:06:27 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2016-12-15 13:06:27 +0100 |
commit | 396e5a943f581a03a679c4bcaeee4dfd8bf67ee6 (patch) | |
tree | c90ea8e2758a40ae2290bccb95fa8e154592901b | |
parent | net-misc/chrony: Version bump. (diff) | |
download | gentoo-396e5a943f581a03a679c4bcaeee4dfd8bf67ee6.tar.gz gentoo-396e5a943f581a03a679c4bcaeee4dfd8bf67ee6.tar.bz2 gentoo-396e5a943f581a03a679c4bcaeee4dfd8bf67ee6.zip |
dev-python/docker-py: Version bump to 2.0.0
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r-- | dev-python/docker-py/Manifest | 1 | ||||
-rw-r--r-- | dev-python/docker-py/docker-py-2.0.0.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/docker-py/Manifest b/dev-python/docker-py/Manifest index 7da2c0cb3380..9deefe81c485 100644 --- a/dev-python/docker-py/Manifest +++ b/dev-python/docker-py/Manifest @@ -1,3 +1,4 @@ DIST docker-py-1.10.6.tar.gz 122462 SHA256 dd1aa55dbe507538318e51e5303077d146d5176abd6b05fe9bcde24c289410bc SHA512 6360f9743472c42b3b080204195a0ba62ec85503cc3d4053dca1fb68e8dbed54bd90ed530d9b6ed0b29367aecbe3731d076c89e8d49365c133754bc38c3f15b9 WHIRLPOOL 3f42a0e597e63d0b821c1887b680b2faa8f696b65aa0851acaf00ccbc3ed2b271b1bbcc5390b99f6402b56f6a1a116fe76bf6a5f542b8beb9f8213e81df18f08 DIST docker-py-1.2.2.tar.gz 69685 SHA256 85284a5b1a965e01a5d0a91f9f639ad5069143a276c123198fdafc3659280b38 SHA512 bf00b19e0ab56e5c0e8459234d09722ca504ecd933bfba61cb4ab4805410f53f6ad6083f2e964ef5a6eded2ea05aa01a89c27621064386bae145c7258ed996ad WHIRLPOOL bd7ff4579f924e02d18581b1aca00790dcb84afda03e4cde70b349bfdb4ad43aa2e06da2bcbe780f6074d98f9af9b14fb9d2ab4da9265e56b73288902c9ede7a DIST docker-py-1.9.0.tar.gz 105939 SHA256 0ff58798c8cf79c7e459505786b3b83ca0552a077945b8fe20fc38ff3f732361 SHA512 49e6d4e8ab30c4e54165e7eff9e3034a1fe102348020bad2c5aefa238c44efdf39711536a7727fd9689e2e90483a348930bb91f1e76cade546161c82990f78ed WHIRLPOOL d60bca034f91569f37bef65ff42fcf950dfbc02bc42053bb650a9188661a8c0d9c21cb03128782a15799e6f208e88b32618286615ef94ba9396a4940ae3b6603 +DIST docker-py-2.0.0.tar.gz 159296 SHA256 d567db615375df7655e2c4ac794b6a7c6a06c3437ee1ace476e04a88d94531c4 SHA512 773f8899bef8ac225a2d42b645b8a6f62485661fff1753bf91ab6653f8b81597ed3ea944b32e7ce106eec49215582671f4249e0569e28568559a09ca0905f58e WHIRLPOOL c2fb2686966845617b9450439060a90b0c4536c66b34aba07ae680959e842aaf9541b823505a4de81a2b8f17eb3380a578ba2802f9f80a699a3d539d85c0083a diff --git a/dev-python/docker-py/docker-py-2.0.0.ebuild b/dev-python/docker-py/docker-py-2.0.0.ebuild new file mode 100644 index 000000000000..baecb14a0d5d --- /dev/null +++ b/dev-python/docker-py/docker-py-2.0.0.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=( python{2_7,3_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.14.0[${PYTHON_USEDEP}] ) + test? ( + >=dev-python/mock-1.0.1[${PYTHON_USEDEP}] + >=dev-python/pytest-2.9.1[${PYTHON_USEDEP}] + >=dev-python/pytest-cov-2.1.0[${PYTHON_USEDEP}] + >=dev-python/coverage-3.7.1[${PYTHON_USEDEP}] + ) +" +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' ) +" + +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 +} |