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

766c89
From: Simon McVittie <smcv@debian.org>
766c89
Date: Mon, 9 Oct 2017 09:22:12 +0100
766c89
Subject: icu_sources_data.py: Decouple from Mozilla build system
766c89
766c89
mozpack.path is a wrapper around os.path that normalizes path
766c89
separators on Windows, but on Unix we only have one path separator
766c89
so there's nothing to normalize. Avoid needing to import all of it.
766c89
---
766c89
 intl/icu_sources_data.py | 4 +++-
766c89
 1 file changed, 3 insertions(+), 1 deletion(-)
766c89
766c89
diff --git a/intl/icu_sources_data.py b/intl/icu_sources_data.py
766c89
index 98c0ccb..8cf9290 100644
766c89
--- a/intl/icu_sources_data.py
766c89
+++ b/intl/icu_sources_data.py
766c89
@@ -22,7 +22,9 @@ import subprocess
766c89
 import sys
766c89
 import tempfile
766c89
766c89
-from mozpack import path as mozpath
766c89
+# Close enough
766c89
+import os.path as mozpath
766c89
+mozpath.normsep = lambda p: p
766c89
766c89
 # The following files have been determined to be dead/unused by a
766c89
 # semi-automated analysis. You can just remove any of the files below