Skip to content

Commit 6eabae6

Browse files
committed
download_dlls: update to pango 1.54.0
1 parent 227aaa3 commit 6eabae6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packing/download_dlls.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
from pathlib import Path
1313
from urllib.request import urlretrieve as download
1414

15-
PANGO_VERSION = "1.50.5"
15+
PANGO_VERSION = "1.54.0"
1616

1717

1818
def get_platform():
1919
if (struct.calcsize("P") * 8) == 32:
20-
return "32"
20+
return "x86"
2121
else:
22-
return "64"
22+
return "x64"
2323

2424

2525
logging.basicConfig(format="%(levelname)s - %(message)s", level=logging.DEBUG)
@@ -30,7 +30,7 @@ def get_platform():
3030

3131
download_url = (
3232
"https://github.com/naveen521kk/pango-build/releases"
33-
f"/download/v{PANGO_VERSION}/pango-build-win{plat}.zip"
33+
f"/download/v{PANGO_VERSION}/pango-v{PANGO_VERSION}-{plat}.zip"
3434
)
3535
final_location = Path(r"C:\cibw\vendor")
3636
download_location = Path(tempfile.mkdtemp())
@@ -52,7 +52,7 @@ def get_platform():
5252
logging.info("Completed Extracting.")
5353
logging.info("Moving Files accordingly.")
5454

55-
plat_location = download_location
55+
plat_location = download_location / f"pango-{plat}"
5656
for src_file in plat_location.glob("*"):
5757
logging.debug(f"Moving {src_file} to {final_location}...")
5858
shutil.move(str(src_file), str(final_location))

0 commit comments

Comments
 (0)