python2.pkgs.linecache2: don't recompile bytecode
This commit is contained in:
parent
d9e0820393
commit
80f321e834
1 changed files with 7 additions and 3 deletions
|
@ -2,9 +2,10 @@
|
|||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pbr
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (rec {
|
||||
pname = "linecache2";
|
||||
version = "1.0.0";
|
||||
|
||||
|
@ -22,5 +23,8 @@ buildPythonPackage rec {
|
|||
homepage = "https://github.com/testing-cabal/linecache2";
|
||||
license = licenses.psfl;
|
||||
};
|
||||
|
||||
}
|
||||
# TODO: move into main set, this was to avoid a rebuild
|
||||
} // stdenv.lib.optionalAttrs (!isPy3k ) {
|
||||
# syntax error in tests. Tests are likely Python 3 only.
|
||||
dontUsePythonRecompileBytecode = !isPy3k;
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue