File: skip-git-clone.patch

package info (click to toggle)
dateparser 1.2.0-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 4,072 kB
  • sloc: python: 52,460; makefile: 154; sh: 14
file content (27 lines) | stat: -rw-r--r-- 771 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: Stefano Rivera <stefanor@debian.org>
Date: Thu, 4 Feb 2021 20:08:50 -0700
Subject: Disable any attempt to git clone Unicode data

We want to build against Debian-packaged unicode data, not clone from
the Internet during the build.
---
 dateparser_scripts/utils.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dateparser_scripts/utils.py b/dateparser_scripts/utils.py
index a8ba6d1..22a78e0 100644
--- a/dateparser_scripts/utils.py
+++ b/dateparser_scripts/utils.py
@@ -2,10 +2,11 @@ import os
 import shutil
 from collections import OrderedDict
 
-from git import Repo
+#from git import Repo
 
 
 def get_raw_data():
+    return  # Disable git clone for Debian package
     cldr_version = "31.0.1"
     raw_data_directory = "../raw_data"