mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-18 13:14:37 +03:00
fix regression "check packaging"
This commit is contained in:
@@ -31,11 +31,13 @@ from aqt.exceptions import ArchiveDownloadError, ArchiveListError, ChecksumDownl
|
||||
from aqt.helper import Settings, get_hash, getUrl, ssplit
|
||||
from aqt.metadata import QtRepoProperty, Version
|
||||
|
||||
|
||||
@dataclass
|
||||
class UpdateXmls:
|
||||
target_folder: str
|
||||
xml_text: str
|
||||
|
||||
|
||||
@dataclass
|
||||
class TargetConfig:
|
||||
version: str
|
||||
@@ -416,12 +418,7 @@ class QtArchives:
|
||||
arch = "arm64"
|
||||
for ext in ["qtwebengine", "qtpdf"]:
|
||||
extensions_target_folder = posixpath.join(
|
||||
"online/qtsdkrepository",
|
||||
os_name,
|
||||
"extensions",
|
||||
ext,
|
||||
self._version_str(),
|
||||
arch
|
||||
"online/qtsdkrepository", os_name, "extensions", ext, self._version_str(), arch
|
||||
)
|
||||
extensions_xml_url = posixpath.join(extensions_target_folder, "Updates.xml")
|
||||
extensions_xml_text = self._download_update_xml(extensions_xml_url)
|
||||
|
||||
@@ -929,14 +929,7 @@ class MetadataFactory:
|
||||
|
||||
# Examples: extensions.qtwebengine.680.debug_information
|
||||
# extensions.qtwebengine.680.win64_msvc2022_64
|
||||
ext_pattern = re.compile(
|
||||
r"^extensions\."
|
||||
+ r"(?P<module>[^.]+)\."
|
||||
+ qt_ver_str
|
||||
+ r"\."
|
||||
+ arch
|
||||
+ r"$"
|
||||
)
|
||||
ext_pattern = re.compile(r"^extensions\." + r"(?P<module>[^.]+)\." + qt_ver_str + r"\." + arch + r"$")
|
||||
if version >= Version("6.8.0"):
|
||||
for ext in self.fetch_extensions():
|
||||
ext_meta = self._fetch_extension_metadata(self.archive_id.to_extension_folder(ext, qt_ver_str, arch))
|
||||
|
||||
Reference in New Issue
Block a user