Debian Codegraph @

debian/patches/skip-git-clone.patch

raw
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 --- a/dateparser_scripts/utils.py
12 +++ b/dateparser_scripts/utils.py
13 @@ -2,13 +2,14 @@
14 import shutil
15 from pathlib import Path
16
17 -from git import Repo
18 +#from git import Repo
19
20
21 CLDR_JSON_DIR = (Path(__file__).parent / "../cldr-json").resolve()
22
23
24 def get_raw_data():
25 + return # Disable git clone for Debian package
26 cldr_version = "44.1.0"
27 url = "https://github.com/unicode-org/cldr-json.git"
28 if os.path.isdir(CLDR_JSON_DIR):