merge master into pythonize1

This commit is contained in:
saltedcoffii
2021-05-08 14:16:12 -04:00
27 changed files with 414 additions and 169 deletions

View File

@@ -1,6 +1,6 @@
# Defines common constants used in different parts of crew
CREW_VERSION = '1.9.3'
CREW_VERSION = '1.9.5'
ARCH_ACTUAL = `uname -m`.strip
# This helps with virtualized builds on aarch64 machines

View File

@@ -45,6 +45,10 @@ class Package
end
end
def self.get_binary_url (architecture)
return @binary_url.has_key?(architecture) ? @binary_url[architecture] : nil
end
def self.get_sha256 (architecture)
if !@build_from_source and @binary_sha256 and @binary_sha256.has_key?(architecture)
return @binary_sha256[architecture]