Files
dotfiles/mods/static/python311Packages-lxml.patch
Sebastian Moser d21bc3c7c5 ...
2024-01-23 15:03:48 +01:00

27 lines
1.4 KiB
Diff

diff --git a/buildlibxml.py b/buildlibxml.py
index ab2efad..22fa8f6 100644
--- a/buildlibxml.py
+++ b/buildlibxml.py
@@ -278,7 +278,10 @@ def download_libxml2(dest_dir, version=None):
from_location = "https://gitlab.gnome.org/GNOME/libxml2/-/archive/dea91c97debeac7c1aaf9c19f79029809e23a353/"
version = "dea91c97debeac7c1aaf9c19f79029809e23a353"
else:
- from_location = http_find_latest_version_directory(LIBXML2_LOCATION, version=version)
+ pass
+ #from_location = http_find_latest_version_directory(LIBXML2_LOCATION, version=version)
+ version = "2.12.4"
+ from_location = "https://download.gnome.org/sources/libxml2/2.12/"
return download_library(dest_dir, from_location, 'libxml2',
version_re, filename, version=version)
@@ -289,7 +292,8 @@ def download_libxslt(dest_dir, version=None):
#version_re = re.compile(r'LATEST_LIBXSLT_IS_([0-9.]+[0-9](?:-[abrc0-9]+)?)')
version_re = re.compile(r'libxslt-([0-9.]+[0-9]).tar.xz')
filename = 'libxslt-%s.tar.xz'
- from_location = http_find_latest_version_directory(LIBXSLT_LOCATION, version=version)
+ #from_location = http_find_latest_version_directory(LIBXSLT_LOCATION, version=version)
+ from_location = "https://download.gnome.org/sources/libxslt/1.1/"
return download_library(dest_dir, from_location, 'libxslt',
version_re, filename, version=version)