webtest depends on unittest2 on python 2.x

This fixes its build with python 2.7.
This commit is contained in:
Nikita Ofitserov 2013-05-10 17:52:01 +04:00
parent f948351946
commit 73c9e1706e

View File

@ -4667,8 +4667,7 @@ pythonPackages = python.modules // rec {
md5 = "a1266d4db421963fd3deb172c6689e4b";
};
buildInputs = [ pkgs.unzip ] ++ optionals isPy26 [ pythonPackages.ordereddict
pythonPackages.unittest2 ];
buildInputs = [ pkgs.unzip ] ++ optionals isPy26 [ pythonPackages.ordereddict ];
# XXX: skipping two tests fails in python2.6
doCheck = ! isPy26;
@ -4679,6 +4678,7 @@ pythonPackages = python.modules // rec {
six
beautifulsoup4
waitress
unittest2
mock
pyquery
wsgiproxy2