python310Packages.distlib: remove unnecessary and unreproducible exe's

dates are embedded

arch does the same thing

4858f1493d/trunk/PKGBUILD (L22)
This commit is contained in:
Artturin 2023-04-04 18:30:42 +03:00
parent 45dc78cb0a
commit 68ee8c7d39

View file

@ -1,4 +1,5 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, setuptools
@ -18,6 +19,10 @@ buildPythonPackage rec {
setuptools
];
postFixup = lib.optionalString (!stdenv.targetPlatform.isWindows) ''
find $out -name '*.exe' -delete
'';
pythonImportsCheck = [
"distlib"
"distlib.database"
@ -39,4 +44,3 @@ buildPythonPackage rec {
maintainers = with maintainers; [ lnl7 ];
};
}