summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-10-02 02:16:49 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-10-02 02:16:49 +0000
commita3f2285f856c034002dd602ba4aa89cf0dd145e0 (patch)
tree677474a8b21cfdd683bacda5f49d5b68bb8c877d /dev-python/ldaptor
parentAutomatically enable Python 2 and Python 3 if no version has been explicitly ... (diff)
downloadgentoo-2-a3f2285f856c034002dd602ba4aa89cf0dd145e0.tar.gz
gentoo-2-a3f2285f856c034002dd602ba4aa89cf0dd145e0.tar.bz2
gentoo-2-a3f2285f856c034002dd602ba4aa89cf0dd145e0.zip
Fix tests.
(Portage version: 14471-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/ldaptor')
-rw-r--r--dev-python/ldaptor/ChangeLog6
-rw-r--r--dev-python/ldaptor/ldaptor-0.0.43.ebuild14
2 files changed, 14 insertions, 6 deletions
diff --git a/dev-python/ldaptor/ChangeLog b/dev-python/ldaptor/ChangeLog
index 5fb64eae07cd..523507ac6b77 100644
--- a/dev-python/ldaptor/ChangeLog
+++ b/dev-python/ldaptor/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/ldaptor
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/ldaptor/ChangeLog,v 1.29 2009/09/27 18:36:08 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ldaptor/ChangeLog,v 1.30 2009/10/02 02:16:49 arfrever Exp $
+
+ 02 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ ldaptor-0.0.43.ebuild:
+ Fix tests.
27 Sep 2009; nixnut <nixnut@gentoo.org> ldaptor-0.0.43.ebuild:
ppc stable #284767
diff --git a/dev-python/ldaptor/ldaptor-0.0.43.ebuild b/dev-python/ldaptor/ldaptor-0.0.43.ebuild
index 54b16357c880..34299abf3db0 100644
--- a/dev-python/ldaptor/ldaptor-0.0.43.ebuild
+++ b/dev-python/ldaptor/ldaptor-0.0.43.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/ldaptor/ldaptor-0.0.43.ebuild,v 1.9 2009/09/27 18:36:08 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/ldaptor/ldaptor-0.0.43.ebuild,v 1.10 2009/10/02 02:16:49 arfrever Exp $
inherit distutils
@@ -55,6 +55,14 @@ src_compile() {
fi
}
+src_test() {
+ # Delete test with additional dependencies.
+ if ! use web; then
+ rm -f ldaptor/test/test_webui.py
+ fi
+ PYTHONPATH=. trial ldaptor || die "test failed"
+}
+
src_install() {
distutils_src_install
@@ -75,7 +83,3 @@ src_install() {
fi
fi
}
-
-src_test() {
- PYTHONPATH=. trial ldaptor || die "test failed"
-}