diff --git a/python/build/libs.py b/python/build/libs.py index a62a0bb67..16ff0cff7 100644 --- a/python/build/libs.py +++ b/python/build/libs.py @@ -379,8 +379,8 @@ ffmpeg = FfmpegProject( ) openssl = OpenSSLProject( - 'https://www.openssl.org/source/openssl-3.0.0-alpha16.tar.gz', - '08ce8244b59d75f40f91170dfcb012bf25309cdcb1fef9502e39d694f883d1d1', + 'https://www.openssl.org/source/openssl-3.0.0-beta2.tar.gz', + 'e76ab22879201b12f014393ee4becec7f264d8f6955b1036839128002868df71', 'include/openssl/ossl_typ.h', ) diff --git a/python/build/project.py b/python/build/project.py index 374ccdb14..e0868b27b 100644 --- a/python/build/project.py +++ b/python/build/project.py @@ -20,7 +20,7 @@ class Project: self.base = base if name is None or version is None: - m = re.match(r'^([-\w]+)-(\d[\d.]*[a-z]?[\d.]*(?:-alpha\d+)?)(\+.*)?$', self.base) + m = re.match(r'^([-\w]+)-(\d[\d.]*[a-z]?[\d.]*(?:-(?:alpha|beta)\d+)?)$', self.base) if name is None: name = m.group(1) if version is None: version = m.group(2)