dev-python/ldap3: declare RDEPEND within test condition.
authorPatrice Clement <monsieurp@gentoo.org>
Mon, 10 Sep 2018 13:37:28 +0000 (15:37 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Mon, 10 Sep 2018 13:37:35 +0000 (15:37 +0200)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

dev-python/ldap3/ldap3-2.2.3.ebuild
dev-python/ldap3/ldap3-2.4.1.ebuild
dev-python/ldap3/ldap3-2.5.1.ebuild

index 79692644bb5c70445daa0a40a7c6bed4bf75c4d7..14c5331f093b12651754b32dcbfe2b2c534753fe 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -20,11 +20,14 @@ IUSE="test"
 # https://github.com/cannatag/ldap3/blob/master/test/config.py).
 RESTRICT="test"
 
-RDEPEND=">=dev-python/pyasn1-0.1.8[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
+RDEPEND="
+       dev-python/pyasn1[${PYTHON_USEDEP}]"
+
+DEPEND="
        dev-python/setuptools[${PYTHON_USEDEP}]
-       test? ( dev-python/nose[${PYTHON_USEDEP}] )
-       "
+       test? (
+               dev-python/nose[${PYTHON_USEDEP}]
+               ${RDEPEND} )"
 
 python_test() {
        nosetests -v -s test || die
index 0b8cb7a8fa8423c3dbc5cd820faea93e79c607c7..3cfa9d7b9af0397359017841b0297c4377cb727d 100644 (file)
@@ -24,9 +24,10 @@ RDEPEND="
        dev-python/pyasn1[${PYTHON_USEDEP}]"
 
 DEPEND="
-       ${RDEPEND}
        dev-python/setuptools[${PYTHON_USEDEP}]
-       test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+       test? (
+               dev-python/nose[${PYTHON_USEDEP}]
+               ${RDEPEND} )"
 
 python_test() {
        nosetests -v -s test || die
index 0b8cb7a8fa8423c3dbc5cd820faea93e79c607c7..3cfa9d7b9af0397359017841b0297c4377cb727d 100644 (file)
@@ -24,9 +24,10 @@ RDEPEND="
        dev-python/pyasn1[${PYTHON_USEDEP}]"
 
 DEPEND="
-       ${RDEPEND}
        dev-python/setuptools[${PYTHON_USEDEP}]
-       test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+       test? (
+               dev-python/nose[${PYTHON_USEDEP}]
+               ${RDEPEND} )"
 
 python_test() {
        nosetests -v -s test || die