python2Packages.freezegun: disable tests for python2
Contains python3 exclusive code
This commit is contained in:
parent
b6654d9d6c
commit
393f5fc5f1
@ -1,6 +1,7 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, isPy27
|
||||||
, dateutil
|
, dateutil
|
||||||
, six
|
, six
|
||||||
, mock
|
, mock
|
||||||
@ -19,6 +20,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ dateutil six ];
|
propagatedBuildInputs = [ dateutil six ];
|
||||||
checkInputs = [ mock nose pytest ];
|
checkInputs = [ mock nose pytest ];
|
||||||
|
# contains python3 specific code
|
||||||
|
doCheck = !isPy27;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "FreezeGun: Let your Python tests travel through time";
|
description = "FreezeGun: Let your Python tests travel through time";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user