summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2018-09-10 15:37:28 +0200
committerPatrice Clement <monsieurp@gentoo.org>2018-09-10 15:37:35 +0200
commitf476a945cbbcce8a62dab9b887419fc21961f999 (patch)
tree09d3d4e7c3763890103c4a62956f7f1e9c29c84a /dev-python/ldap3
parentgames-server/steamcmd: don't set default values for conf.d. (diff)
downloadgentoo-f476a945cbbcce8a62dab9b887419fc21961f999.tar.gz
gentoo-f476a945cbbcce8a62dab9b887419fc21961f999.tar.bz2
gentoo-f476a945cbbcce8a62dab9b887419fc21961f999.zip
dev-python/ldap3: declare RDEPEND within test condition.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-python/ldap3')
-rw-r--r--dev-python/ldap3/ldap3-2.2.3.ebuild13
-rw-r--r--dev-python/ldap3/ldap3-2.4.1.ebuild5
-rw-r--r--dev-python/ldap3/ldap3-2.5.1.ebuild5
3 files changed, 14 insertions, 9 deletions
diff --git a/dev-python/ldap3/ldap3-2.2.3.ebuild b/dev-python/ldap3/ldap3-2.2.3.ebuild
index 79692644bb5c..14c5331f093b 100644
--- a/dev-python/ldap3/ldap3-2.2.3.ebuild
+++ b/dev-python/ldap3/ldap3-2.2.3.ebuild
@@ -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
diff --git a/dev-python/ldap3/ldap3-2.4.1.ebuild b/dev-python/ldap3/ldap3-2.4.1.ebuild
index 0b8cb7a8fa84..3cfa9d7b9af0 100644
--- a/dev-python/ldap3/ldap3-2.4.1.ebuild
+++ b/dev-python/ldap3/ldap3-2.4.1.ebuild
@@ -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
diff --git a/dev-python/ldap3/ldap3-2.5.1.ebuild b/dev-python/ldap3/ldap3-2.5.1.ebuild
index 0b8cb7a8fa84..3cfa9d7b9af0 100644
--- a/dev-python/ldap3/ldap3-2.5.1.ebuild
+++ b/dev-python/ldap3/ldap3-2.5.1.ebuild
@@ -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