dev-python/hcloud-python: fix DEPEND
authorAgostino Sarubbo <ago@gentoo.org>
Mon, 29 Apr 2019 08:26:42 +0000 (10:26 +0200)
committerAgostino Sarubbo <ago@gentoo.org>
Mon, 29 Apr 2019 08:26:49 +0000 (10:26 +0200)
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

dev-python/hcloud-python/hcloud-python-1.2.1.ebuild

index 213497624413fcd9c92825cb5eac9e37c7b965fa..79c12ac6fa46806871dc59078c70315eb19fdb53 100644 (file)
@@ -16,11 +16,14 @@ SLOT="0"
 KEYWORDS="~amd64"
 IUSE="doc examples"
 
-RDEPEND="dev-python/future[${PYTHON_USEDEP}]
-       dev-python/python-dateutil[${PYTHON_USEDEP}]
-       dev-python/requests[${PYTHON_USEDEP}]
+COMMON_DEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]
+       dev-python/requests[${PYTHON_USEDEP}]"
+
+DEPEND="${COMMON_DEPEND}
        doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
-DEPEND="${RDEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
+       dev-python/future[${PYTHON_USEDEP}]"
 
 # it can be delete for the next release bump
 # https://github.com/hetznercloud/hcloud-python/pull/41