Blame SOURCES/icu_sources_data.py-Decouple-from-Mozilla-build-system.patch

3de678
From: Simon McVittie <smcv@debian.org>
3de678
Date: Mon, 9 Oct 2017 09:22:12 +0100
3de678
Subject: icu_sources_data.py: Decouple from Mozilla build system
3de678
3de678
mozpack.path is a wrapper around os.path that normalizes path
3de678
separators on Windows, but on Unix we only have one path separator
3de678
so there's nothing to normalize. Avoid needing to import all of it.
3de678
---
3de678
 intl/icu_sources_data.py | 4 +++-
3de678
 1 file changed, 3 insertions(+), 1 deletion(-)
3de678
3de678
diff --git a/intl/icu_sources_data.py b/intl/icu_sources_data.py
3de678
index 98c0ccb..8cf9290 100644
3de678
--- a/intl/icu_sources_data.py
3de678
+++ b/intl/icu_sources_data.py
3de678
@@ -19,7 +19,9 @@ import subprocess
3de678
 import sys
3de678
 import tempfile
3de678
 
3de678
-from mozpack import path as mozpath
3de678
+# Close enough
3de678
+import os.path as mozpath
3de678
+mozpath.normsep = lambda p: p
3de678
 
3de678
 
3de678
 def find_source_file(dir, filename):