diff options
author | Marien Zwart <marienz@gentoo.org> | 2006-02-13 23:05:49 +0000 |
---|---|---|
committer | Marien Zwart <marienz@gentoo.org> | 2006-02-13 23:05:49 +0000 |
commit | 4e26309dde55916fb160332d266ae40c39b27e74 (patch) | |
tree | c5ad0bb38d03e54714eef57a64fab37c4055f856 /dev-python/ldaptor/ldaptor-0.0.42.ebuild | |
parent | Stop passing the -R option to trial (deprecated in twisted 2.1, removed in 2.2). (diff) | |
download | historical-4e26309dde55916fb160332d266ae40c39b27e74.tar.gz historical-4e26309dde55916fb160332d266ae40c39b27e74.tar.bz2 historical-4e26309dde55916fb160332d266ae40c39b27e74.zip |
Do not pass -R to trial versions that do not support it.
Package-Manager: portage-2660-svn
Diffstat (limited to 'dev-python/ldaptor/ldaptor-0.0.42.ebuild')
-rw-r--r-- | dev-python/ldaptor/ldaptor-0.0.42.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-python/ldaptor/ldaptor-0.0.42.ebuild b/dev-python/ldaptor/ldaptor-0.0.42.ebuild index 665e7df46f21..98943c552a94 100644 --- a/dev-python/ldaptor/ldaptor-0.0.42.ebuild +++ b/dev-python/ldaptor/ldaptor-0.0.42.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/ldaptor/ldaptor-0.0.42.ebuild,v 1.4 2006/01/31 23:57:24 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/ldaptor/ldaptor-0.0.42.ebuild,v 1.5 2006/02/13 23:02:32 marienz Exp $ inherit distutils eutils @@ -74,5 +74,9 @@ src_install() { } src_test() { - trial -R ldaptor || die "test failed" + local trialopts + if ! has_version ">=dev-python/twisted-2.1"; then + trialopts=-R + fi + trial ${trialopts} ldaptor || die "test failed" } |