[Reproducible-commits] [strip-nondeterminism] 02/02: Add support for Python Wheel packages (renamed Zip files)

Andrew Ayer agwa at andrewayer.name
Sat Jan 17 23:35:32 UTC 2015


This is an automated email from the git hooks/post-receive script.

agwa-guest pushed a commit to branch master
in repository strip-nondeterminism.

commit 33aeeebf65be07bfd3dd166c15bd6e3d137ab09b
Author: Peter De Wachter <pdewacht at gmail.com>
Date:   Sat Jan 17 20:57:28 2015 +0100

    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;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/strip-nondeterminism.git



More information about the Reproducible-commits mailing list