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

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