diff options
author | Alex Brandt <alunduil@gentoo.org> | 2016-04-03 09:40:31 -0500 |
---|---|---|
committer | Alex Brandt <alunduil@gentoo.org> | 2016-04-03 09:46:00 -0500 |
commit | 8f7321b4a3f449107bfb4ef628169639e061ddc8 (patch) | |
tree | 90c458ab08efaf6724a711b2b64fb5407133b7ee /dev-python/docker-py | |
parent | sci-mathematics/agda-stdlib: drop old (diff) | |
download | gentoo-8f7321b4a3f449107bfb4ef628169639e061ddc8.tar.gz gentoo-8f7321b4a3f449107bfb4ef628169639e061ddc8.tar.bz2 gentoo-8f7321b4a3f449107bfb4ef628169639e061ddc8.zip |
dev-python/docker-py: add version 1.8.0_rc2
Package-Manager: portage-2.2.28
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.8.0_rc2.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/docker-py/Manifest b/dev-python/docker-py/Manifest index def4e7350da7..7ebbb59f0c8a 100644 --- a/dev-python/docker-py/Manifest +++ b/dev-python/docker-py/Manifest @@ -4,3 +4,4 @@ DIST docker-py-1.4.0.tar.gz 75336 SHA256 81e2a7cd59b25c3df63ec47458c8a019ed7e113 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 +DIST docker-py-1.8.0_rc2.tar.gz 100120 SHA256 5176c543343a582f2f7a461560a7c759d002b2dceb7552f542d7d1e0fce3cb05 SHA512 f7924015bc267acb095a9f21d151afd56d787a5d26dcc8c285d81c4e5af8a1027c7f166b8178e3e821a3b2fe541b51121c825ab59591b97bea8eb8a3fe3d7a0f WHIRLPOOL 451fea912c3cdd6bcaf7e29431719c39d7fea9bb03b7b94fbecf493bc28713d97e1438ee6ce8c0fb6977739061c25a87b29e5924e087e8613fe1f115b8000809 diff --git a/dev-python/docker-py/docker-py-1.8.0_rc2.ebuild b/dev-python/docker-py/docker-py-1.8.0_rc2.ebuild new file mode 100644 index 000000000000..155e9614162c --- /dev/null +++ b/dev-python/docker-py/docker-py-1.8.0_rc2.ebuild @@ -0,0 +1,50 @@ +# 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 + +MY_PV=${PV//_/-} + +DESCRIPTION="Python client for Docker" +HOMEPAGE="https://github.com/docker/docker-py" +SRC_URI="https://github.com/docker/${PN}/archive/${MY_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 +} |