pypass: migrate to pythonRelaxDepsHook
This commit is contained in:
@@ -42,9 +42,9 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
# Remove enum34 requirement if Python >= 3.4
|
||||
postPatch = lib.optionalString (pythonAtLeast "3.4") ''
|
||||
substituteInPlace requirements.txt --replace "enum34" ""
|
||||
'';
|
||||
pythonRemoveDeps = lib.optionals (pythonAtLeast "3.4") [
|
||||
"enum34"
|
||||
];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user