Bump version to 24.04.3.4
[LibreOffice.git] / external / lxml / replace-setuptools-with-distutils.patch.1
blob5275e40312c8668f1112c120efed23cd9f2d5aa1
1 diff -ur lxml.org/setupinfo.py lxml/setupinfo.py
2 --- lxml.org/setupinfo.py       2023-10-20 10:32:17.921500435 +0200
3 +++ lxml/setupinfo.py   2023-10-20 10:33:40.303323572 +0200
4 @@ -4,7 +4,7 @@
5  import os.path
6  import subprocess
7  
8 -from setuptools.command.build_ext import build_ext as _build_ext
9 +from distutils.command.build_ext import build_ext as _build_ext
10  from distutils.core import Extension
11  from distutils.errors import CompileError, DistutilsOptionError
12  from versioninfo import get_base_dir
13 diff -ur lxml.org/setup.py lxml/setup.py
14 --- lxml.org/setup.py   2023-10-20 10:32:17.949501053 +0200
15 +++ lxml/setup.py       2023-10-20 10:33:09.082631759 +0200
16 @@ -217,9 +217,10 @@
17      # `Unknown distribution option: 'bugtrack_url'`
18      # which distract folks from real causes of problems when troubleshooting
19      # bugtrack_url="https://bugs.launchpad.net/lxml",
20 -    project_urls={
21 -        "Source": "https://github.com/lxml/lxml",
22 -    },
23 +    # same as for bugtrack_urls also for project_urls when using distutils instead of setuptools
24 +    #project_urls={
25 +    #    "Source": "https://github.com/lxml/lxml",
26 +    #},
27      description=(
28          "Powerful and Pythonic XML processing library"
29          " combining libxml2/libxslt with the ElementTree API."