diff options
author | Alex Brandt <alunduil@gentoo.org> | 2016-03-20 16:56:21 -0500 |
---|---|---|
committer | Alex Brandt <alunduil@gentoo.org> | 2016-03-20 17:04:34 -0500 |
commit | e7c7cc3c7bc7f89eff396ea1d7f9b78cb84017f7 (patch) | |
tree | a900f301ea6d1f62ff02abbe074c3955e622878a /dev-python | |
parent | dev-ruby/locale: drop ruby19 (diff) | |
download | gentoo-e7c7cc3c7bc7f89eff396ea1d7f9b78cb84017f7.tar.gz gentoo-e7c7cc3c7bc7f89eff396ea1d7f9b78cb84017f7.tar.bz2 gentoo-e7c7cc3c7bc7f89eff396ea1d7f9b78cb84017f7.zip |
dev-python/docker-py: add version 1.7.2
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/docker-py/Manifest | 1 | ||||
-rw-r--r-- | dev-python/docker-py/docker-py-1.7.2.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/docker-py/Manifest b/dev-python/docker-py/Manifest index a1c88feb9aaf..9de5c44f893d 100644 --- a/dev-python/docker-py/Manifest +++ b/dev-python/docker-py/Manifest @@ -4,3 +4,4 @@ DIST docker-py-1.3.1.tar.gz 71456 SHA256 4a980c55f22b97573b68f720ebc0b6f2a01cd9e DIST docker-py-1.4.0.tar.gz 75336 SHA256 81e2a7cd59b25c3df63ec47458c8a019ed7e11355ea0cfeec1f38df8c93f3179 SHA512 c4ea0a4a43063c90aa212952b3aeaa1a7c574dfcf7e8223c3fdb24216d0939c80258fe4ad2b6bba24d9d5fcde27332106860baf463482119b382670ed57c0da2 WHIRLPOOL f085dc4c59ce5b4b8c22695c90e054f3875dfa7553a600e025f089b3f5da34f91b5de3fb4106e737150b3e558319a5ae4bd1a6448f4bcafc9f9d45fa1a826d3a DIST docker-py-1.5.0.tar.gz 84712 SHA256 a7b437aa9bfd2ad1e9b3eeed57e376d28a93acb852bac2aaf01dd70a304d439b SHA512 948f63f48a1994f90041c7d2e2982a313ccc0c9aea0dc1cec03bcd9afd855459088b36d052ab061ada270c8fe06c0c18115910b40740c78f58258782791180ab WHIRLPOOL a34f3f896e5e3722fb9fed520e0f776875fd869f4dbd10ee922a73332dcd46b00c608c1a65f28eb9e53ba4a343b430a83ccacf7fd211113ee4dabde6dbf7963b DIST docker-py-1.7.0.tar.gz 95003 SHA256 13193dff1e29e0f3bfa8a51751a08eac8d56b3b7d14c4c2c9b7a56647303166b SHA512 98296c2bcc567caae6178599470999ee97b6e9648096a09790912e92191b88b2affaec5fb8dbe3b9070015ddb198fe8b9c3210d1a450ce91e620793d19da7b0c WHIRLPOOL 483f85e598d601346e933645819c78639adff1f1c2d0d65e7f22c71412d85442c74e1690b8457a372b4ab2dc0d1c56e4a30b44edc67bb150a16f2bb95aae1462 +DIST docker-py-1.7.2.tar.gz 96062 SHA256 695c6e5dba8fbc191e3eb15889ba5353a2d44b0d52467656ced4e092c439be90 SHA512 1fa5e40b07044145fcdb5b1231b4c852f8df4d2f0feaecc386eb82efd71e598afd982104de475fce6eb6b68a6a8fb320451466bcc39ae96c43cf8c5403c0588f WHIRLPOOL ae0246ec188218d1b5b9e6337c484eafc59b2ce36dc5be61b6e54d281d84c02c00fd6c62527fb1dfa2fd646b778efcee014261211687548a229724e18dadc40b diff --git a/dev-python/docker-py/docker-py-1.7.2.ebuild b/dev-python/docker-py/docker-py-1.7.2.ebuild new file mode 100644 index 000000000000..693939989758 --- /dev/null +++ b/dev-python/docker-py/docker-py-1.7.2.ebuild @@ -0,0 +1,48 @@ +# 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.14.0[${PYTHON_USEDEP}] ) + test? ( + ~dev-python/mock-1.0.1[${PYTHON_USEDEP}] + ~dev-python/pytest-2.7.2[${PYTHON_USEDEP}] + ~dev-python/pytest-cov-2.1.0[${PYTHON_USEDEP}] + ) +" +RDEPEND=" + >=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_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 +} |