Package: libfile-stripnondeterminism-perl Version: 0.003-1 Severity: wishlist
Python Wheel packages (*.whl) are just zip files, so it'd be nice if strip-nondeterminism recognized that extension as well.
>From 233504861c746e0a33d32009007a36bbf0ad6822 Mon Sep 17 00:00:00 2001 From: Peter De Wachter <pdewa...@gmail.com> Date: Sat, 17 Jan 2015 20:57:28 +0100 Subject: [PATCH] Add support for Python Wheel packages (renamed Zip files) --- lib/File/StripNondeterminism.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/File/StripNondeterminism.pm b/lib/File/StripNondeterminism.pm index f269b7d..e6dd1ab 100644 --- a/lib/File/StripNondeterminism.pm +++ b/lib/File/StripNondeterminism.pm @@ -73,7 +73,7 @@ sub get_normalizer_for_file { return \&File::StripNondeterminism::handlers::pomproperties::normalize; } # zip - if (m/\.(zip|pk3)$/ && _get_file_type($_) =~ m/Zip archive data/) { + if (m/\.(zip|pk3|whl)$/ && _get_file_type($_) =~ m/Zip archive data/) { return \&File::StripNondeterminism::handlers::zip::normalize; } return undef; -- 2.1.4