Skip to content

Commit fa9d1a0

Browse files
committed
lxml is a dependency
1 parent 4bf2d7e commit fa9d1a0

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

docs/0.13.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ The major features in this release are:
2626

2727
* a major revamping to the HTML output from gcc-with-cpychecker
2828

29+
New dependency: ``lxml``. The new HTML output format uses lxml
30+
internally.
31+
2932

3033
Changes to the GCC Python Plugin
3134
================================

docs/basics.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ The plugin has the following requirements:
3838

3939
http://pygments.org/
4040

41+
* "lxml": The libcpychecker code uses the "lxml" internally when writing
42+
out error reports.
43+
4144
* graphviz: many of the interesting examples use "dot" to draw diagrams
4245
(e.g. control-flow graphs), so it's worth having graphviz installed.
4346

gcc-python-plugin.spec

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ BuildRequires: python-sphinx
3535
BuildRequires: python-pygments
3636
BuildRequires: python3-pygments
3737

38+
# lxml is used when running the selftests:
39+
BuildRequires: python-lxml
40+
BuildRequires: python3-lxml
41+
3842
%global gcc_plugins_dir %(gcc --print-file-name=plugin)
3943

4044
%description
@@ -52,6 +56,7 @@ Summary: GCC plugin embedding Python 2
5256
Group: Development/Languages
5357
Requires: python-six
5458
Requires: python-pygments
59+
Requires: python-lxml
5560
Requires: gcc-python-plugin-c-api%{?_isa} = %{version}-%{release}
5661

5762
%description -n gcc-python2-plugin
@@ -62,6 +67,7 @@ Summary: GCC plugin embedding Python 3
6267
Group: Development/Languages
6368
Requires: python3-six
6469
Requires: python3-pygments
70+
Requires: python3-lxml
6571
Requires: gcc-python-plugin-c-api%{?_isa} = %{version}-%{release}
6672

6773
%description -n gcc-python3-plugin
@@ -72,6 +78,7 @@ Summary: GCC plugin embedding Python 2 debug build
7278
Group: Development/Languages
7379
Requires: python-six
7480
Requires: python-pygments
81+
Requires: python-lxml
7582
Requires: gcc-python-plugin-c-api%{?_isa} = %{version}-%{release}
7683

7784
%description -n gcc-python2-debug-plugin
@@ -82,6 +89,7 @@ Summary: GCC plugin embedding Python 3 debug build
8289
Group: Development/Languages
8390
Requires: python3-six
8491
Requires: python3-pygments
92+
Requires: python3-lxml
8593
Requires: gcc-python-plugin-c-api%{?_isa} = %{version}-%{release}
8694

8795
%description -n gcc-python3-debug-plugin

0 commit comments

Comments
 (0)