Drop git requirement
authorSophie Brun <sophie@freexian.com>
Tue, 5 Nov 2019 09:39:14 +0000 (10:39 +0100)
committerGianfranco Costamagna <locutusofborg@debian.org>
Sun, 29 Dec 2019 21:44:55 +0000 (21:44 +0000)
Last-Update: 2018-07-06

Only to allow local build without git.
Last-Update: 2018-07-06

Gbp-Pq: Name drop-git-requirement.patch

build_scripts/main.py

index 5f536792a21500fe9e929746cbdea6903a86ce64..8b0f3de8c4faef43ce181dff69a2df52ea34437c 100644 (file)
@@ -299,9 +299,9 @@ def get_qt_version():
 
 
 def prepare_build():
-    if (os.path.isdir(".git") and not OPTION_IGNOREGIT and
-            not OPTION_ONLYPACKAGE and not OPTION_REUSE_BUILD):
-        prepare_sub_modules()
+#    if (os.path.isdir(".git") and not OPTION_IGNOREGIT and
+#            not OPTION_ONLYPACKAGE and not OPTION_REUSE_BUILD):
+#        prepare_sub_modules()
     # Clean up temp build folder.
     for n in ["build"]:
         d = os.path.join(setup_script_dir, n)