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
|
Description: Fix for build error if not installed.
Patch extracted from BR #1054725 debdiff.
Author: Yogeswaran Umasankar <kd8mbd@gmail.com>
Forwarded: not-needed
Last-Update: 2024-01-17
--- a/src/pymod/setup.py
+++ b/src/pymod/setup.py
@@ -70,11 +70,11 @@ def git_version():
def pacparser_version():
- if (
- subprocess.call("git rev-parse --git-dir".split(" "), stderr=subprocess.DEVNULL)
- == 0
- ):
- return git_version()
+ #if (
+ # subprocess.call("git rev-parse --git-dir".split(" "), stderr=subprocess.DEVNULL)
+ # == 0
+ #):
+ # return git_version()
# Check if we have version.mk. It's added in the manual release tarball.
version_file = os.path.join(setup_dir(), "..", "version.mk")
|