mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
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
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pbr
|
, pbr
|
||||||
|
, isPy3k
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage (rec {
|
||||||
pname = "linecache2";
|
pname = "linecache2";
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
|
|
||||||
|
@ -22,5 +23,8 @@ buildPythonPackage rec {
|
||||||
homepage = "https://github.com/testing-cabal/linecache2";
|
homepage = "https://github.com/testing-cabal/linecache2";
|
||||||
license = licenses.psfl;
|
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…
Add table
Add a link
Reference in a new issue