office-gobmx/external/lxml/replace-setuptools-with-distutils.patch.1
Xisco Fauli b2ae2fa78f lxml: ignore warnings when calling setup.py build too
Reverts dc97b366ab
"python3: silence distutils deprecated warning"
and f41773d684
"python3: silence distutils deprecated warning (take 2)"
and c920605dd4
"external/lxml: Fix --enable-python=fully-internal build"

Change-Id: I9131fa5ac22cf4f0279e7bf0edc5c50b61845044
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170206
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-07-09 16:37:02 +02:00

12 lines
493 B
Groff

diff -ur lxml.org/setupinfo.py lxml/setupinfo.py
--- lxml.org/setupinfo.py 2023-10-20 10:32:17.921500435 +0200
+++ lxml/setupinfo.py 2023-10-20 10:33:40.303323572 +0200
@@ -4,7 +4,7 @@
import os.path
import subprocess
-from setuptools.command.build_ext import build_ext as _build_ext
+from distutils.command.build_ext import build_ext as _build_ext
from distutils.core import Extension
from distutils.errors import CompileError, DistutilsOptionError
from versioninfo import get_base_dir