python: remove isPy33, isPy34

This commit is contained in:
Pavol Rusnak
2020-05-04 20:32:01 +02:00
committed by Jon
parent 3dca1ffee8
commit 420124adf8
13 changed files with 18 additions and 31 deletions

View File

@@ -4,7 +4,6 @@
, python
, buildPythonPackage
, isPy27
, isPy33
, isPy3k
, numpy
, llvmlite
@@ -26,7 +25,8 @@ buildPythonPackage rec {
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
propagatedBuildInputs = [numpy llvmlite] ++ stdenv.lib.optional (!isPy3k) funcsigs ++ stdenv.lib.optional (isPy27 || isPy33) singledispatch;
propagatedBuildInputs = [numpy llvmlite]
++ stdenv.lib.optionals isPy27 [ funcsigs singledispatch];
# Copy test script into $out and run the test suite.
checkPhase = ''