File: ignore_git_hidden_folder_in_config_slepc_py.patch

package info (click to toggle)
slepc 3.24.1%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 122,028 kB
  • sloc: ansic: 104,353; javascript: 12,732; python: 5,958; f90: 3,312; cpp: 1,528; makefile: 761; xml: 679; sh: 347
file content (13 lines) | stat: -rw-r--r-- 689 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: slepc/config/packages/slepc.py
===================================================================
--- slepc.orig/config/packages/slepc.py	2025-11-06 17:41:58.788608915 +0100
+++ slepc/config/packages/slepc.py	2025-11-06 17:41:58.785494016 +0100
@@ -146,7 +146,7 @@
         self.gitdate = 'unknown'
         self.branch = 'unknown'
     else:
-      if os.path.exists(os.path.join(self.dir,'.git')):
+      if False and os.path.exists(os.path.join(self.dir,'.git')):
         self.log.Exit('Your SLEPc source tree is broken. Use "git status" to check, or remove the entire directory and start all over again')
       else:
         self.log.write('This is a tarball installation')