| 1 |
From: Stefano Rivera <[email protected]> |
| 2 |
Date: Thu, 4 Feb 2021 20:08:50 -0700 |
| 3 |
Subject: Disable any attempt to git clone Unicode data |
| 4 |
|
| 5 |
We want to build against Debian-packaged unicode data, not clone from |
| 6 |
the Internet during the build. |
| 7 |
--- |
| 8 |
dateparser_scripts/utils.py | 3 ++- |
| 9 |
1 file changed, 2 insertions(+), 1 deletion(-) |
| 10 |
|
| 11 |
diff --git a/dateparser_scripts/utils.py b/dateparser_scripts/utils.py |
| 12 |
index a8ba6d1..22a78e0 100644 |
| 13 |
--- a/dateparser_scripts/utils.py |
| 14 |
+++ b/dateparser_scripts/utils.py |
| 15 |
@@ -2,10 +2,11 @@ import os |
| 16 |
import shutil |
| 17 |
from collections import OrderedDict |
| 18 |
|
| 19 |
-from git import Repo |
| 20 |
+#from git import Repo |
| 21 |
|
| 22 |
|
| 23 |
def get_raw_data(): |
| 24 |
+ return # Disable git clone for Debian package |
| 25 |
cldr_version = "31.0.1" |
| 26 |
raw_data_directory = "../raw_data" |
| 27 |
|