python.pkgs.traitlets: fix build and don't include .pytest_cache
Fixes build and prevents including `.pytest_cache` file (#40259).
This commit is contained in:
parent
0fd655f355
commit
3390592cfc
@ -7,6 +7,8 @@
|
|||||||
, ipython_genutils
|
, ipython_genutils
|
||||||
, decorator
|
, decorator
|
||||||
, enum34
|
, enum34
|
||||||
|
, pythonOlder
|
||||||
|
, six
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -20,12 +22,14 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ glibcLocales pytest mock ];
|
checkInputs = [ glibcLocales pytest mock ];
|
||||||
propagatedBuildInputs = [ ipython_genutils decorator enum34 ];
|
propagatedBuildInputs = [ ipython_genutils decorator six ] ++ lib.optional (pythonOlder "3.4") enum34;
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
LC_ALL="en_US.UTF-8" py.test $out
|
LC_ALL="en_US.UTF-8" py.test
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# doCheck = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Traitlets Python config system";
|
description = "Traitlets Python config system";
|
||||||
homepage = http://ipython.org/;
|
homepage = http://ipython.org/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user