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

@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, isPy27, isPy34
{ lib, buildPythonPackage, fetchPypi, isPy27
, enum34, functools32, typing
}:
@@ -13,7 +13,7 @@ buildPythonPackage rec {
propagatedBuildInputs =
lib.optionals isPy27 [ enum34 functools32 ]
++ lib.optional (isPy27 || isPy34) typing;
++ lib.optional isPy27 typing;
# The Pypi tarball doesn't include tests, and the GitHub source isn't
# buildable until we bootstrap poetry, see