| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/games/freeorion/files/ |
Upload File : |
--- cmake/make_versioncpp.py.orig 2020-09-25 11:06:39 UTC
+++ cmake/make_versioncpp.py
@@ -127,18 +127,6 @@ version = "0.4.10.1"
branch = ""
build_no = INVALID_BUILD_NO
-try:
- branch = check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'], universal_newlines=True).strip()
- if (branch == "master") or (branch[:7] == "release"):
- branch = ""
- else:
- branch += " "
- commit = check_output(["git", "show", "--no-show-signature", "-s", "--format=%h", "--abbrev=7", "HEAD"], universal_newlines=True).strip()
- timestamp = float(check_output(["git", "show", "--no-show-signature", "-s", "--format=%ct", "HEAD"], universal_newlines=True).strip())
- build_no = ".".join([datetime.utcfromtimestamp(timestamp).strftime("%Y-%m-%d"), commit])
-except (IOError, CalledProcessError):
- print("WARNING: git not installed or not setup correctly")
-
for generator in generators:
generator.execute(version, branch, build_no, build_sys)