dev-python/docker-py: add version 1.8.0
authorAlex Brandt <alunduil@gentoo.org>
Sun, 17 Apr 2016 17:40:50 +0000 (12:40 -0500)
committerAlex Brandt <alunduil@gentoo.org>
Sun, 17 Apr 2016 17:47:08 +0000 (12:47 -0500)
Package-Manager: portage-2.2.28

dev-python/docker-py/docker-py-1.8.0.ebuild

index 155e9614162cd8c9ccc63346f889be64997ba569..db7ba70a7d03fba01562096c4e32116211cf76e6 100644 (file)
@@ -7,11 +7,9 @@ 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"
+SRC_URI="https://github.com/docker/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
@@ -31,6 +29,7 @@ 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_gen_cond_dep '>=dev-python/py2-ipaddress-3.4.1[${PYTHON_USEDEP}]' 'python2_7')
 "
 
 python_compile_all() {