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

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