From 73c9e1706ed62877457a79e223e5e138de8ce5a5 Mon Sep 17 00:00:00 2001 From: Nikita Ofitserov Date: Fri, 10 May 2013 17:52:01 +0400 Subject: [PATCH] webtest depends on unittest2 on python 2.x This fixes its build with python 2.7. --- pkgs/top-level/python-packages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index fd454d3c45c4..2100cf15e8c1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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