python3Packages.woob: disable on python2
The futures package was disabled for python3 and importing it causes an eval error.
This commit is contained in:
parent
963ba38ad9
commit
d4dcbb2808
|
@ -7,7 +7,6 @@
|
|||
, cssselect
|
||||
, dateutil
|
||||
, feedparser
|
||||
, futures
|
||||
, gdata
|
||||
, gnupg
|
||||
, google-api-python-client
|
||||
|
@ -30,6 +29,7 @@
|
|||
buildPythonPackage rec {
|
||||
pname = "woob";
|
||||
version = "3.0";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
@ -67,7 +67,7 @@ buildPythonPackage rec {
|
|||
simplejson
|
||||
termcolor
|
||||
unidecode
|
||||
] ++ lib.optionals isPy27 [ futures ];
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
|
|
Loading…
Reference in a new issue