python3Packages.numba: clean up dependencies

Since the package is declared to be incompatibile with python versions older than 3.6 the `lib.optionals isPy27 [ funcsigs singledispatch]` part is redundant.
This commit is contained in:
krzygorz 2021-02-07 18:40:36 +01:00 committed by Frederik Rietdijk
parent f80ef84960
commit 37fbc86e35

View File

@ -4,13 +4,9 @@
, fetchPypi , fetchPypi
, python , python
, buildPythonPackage , buildPythonPackage
, isPy27
, isPy3k
, numpy , numpy
, llvmlite , llvmlite
, setuptools , setuptools
, funcsigs
, singledispatch
, libcxx , libcxx
}: }:
@ -27,8 +23,7 @@ buildPythonPackage rec {
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1"; NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
propagatedBuildInputs = [numpy llvmlite setuptools] propagatedBuildInputs = [numpy llvmlite setuptools];
++ lib.optionals isPy27 [ funcsigs singledispatch];
# Copy test script into $out and run the test suite. # Copy test script into $out and run the test suite.
checkPhase = '' checkPhase = ''