dev-python/vertex: Support combined dev-python/twisted
authorMichał Górny <mgorny@gentoo.org>
Tue, 28 Mar 2017 17:23:12 +0000 (19:23 +0200)
committerMichał Górny <mgorny@gentoo.org>
Tue, 28 Mar 2017 18:28:32 +0000 (20:28 +0200)
dev-python/vertex/vertex-0.3.1-r1.ebuild

index 789b41a68876451000caf52f4b0f791bd8471c49..066292c65488e32c572e5fabe15088b23dc27510 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -18,9 +18,12 @@ RDEPEND="
        libressl? ( dev-libs/libressl )
        >=dev-python/epsilon-0.6.0-r1[${PYTHON_USEDEP}]
        >=dev-python/pyopenssl-0.13-r1[${PYTHON_USEDEP}]
-       dev-python/twisted-core[${PYTHON_USEDEP}]"
+       || (
+               dev-python/twisted[${PYTHON_USEDEP}]
+               dev-python/twisted-core[${PYTHON_USEDEP}]
+       )"
 DEPEND="${RDEPEND}
-       test? ( dev-python/pretend )"
+       test? ( dev-python/pretend[${PYTHON_USEDEP}] )"
 
 python_install_all() {
        distutils-r1_python_install_all