Compare commits

..

2 Commits

Author SHA1 Message Date
clrbuilder b95dd8c67f Update packages file for version 40370
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-11-21 00:06:56 -08:00
Brett T. Warden 8ed4d2d0de Fix regex escaping in vendor.py
Address this warning from Python:
SyntaxWarning: invalid escape sequence '\-'
2023-11-20 12:58:01 -08:00
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -2357,6 +2357,7 @@ lldpd
llvm
llvm14
llvm15
llvm16
lm-sensors
lmdb
logrotate
@@ -4680,6 +4681,7 @@ pyudev
qalculate-gtk
qatlib
qbittorrent
qca
qca-qt5
qcoro
qemu
+2 -2
View File
@@ -97,8 +97,8 @@ def update_cargo_sources(name, tag):
with open('Makefile', encoding='utf8') as mfile:
for line in mfile.readlines():
if line.startswith('ARCHIVES'):
if re.match(archive_match + '[a-zA-Z0-9_\-.]+\.tar\.xz', line):
new_archives = re.sub(archive_match + '[a-zA-Z0-9_\-.]+\.tar\.xz',
if re.match(archive_match + r'[a-zA-Z0-9_\-.]+\.tar\.xz', line):
new_archives = re.sub(archive_match + r'[a-zA-Z0-9_\-.]+\.tar\.xz',
f"{archive_match}-{tag}.tar.xz\n", line)
else:
new_archives = f"ARCHIVES = {archive_match}-{tag}.tar.xz ./vendor\n"