1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
9 thisapp = lxml-%{version}
11 groups = Development/Languages
14 summary = ElementTree-like Python bindings for libxml2 and libxslt.
17 lxml provides a Python binding to the libxslt and libxml2 libraries.
18 It follows the ElementTree API as much as possible in order to provide
19 a more Pythonic interface to libxml2 and libxslt than the default
23 source_dl = https://github.com/lxml/lxml/archive/
34 # Setting LC_CTYPE to workaround encoding issue
35 export LC_CTYPE=en_US.UTF-8
38 DIR_APP = %{DIR_SRC}/lxml-%{thisapp}
41 CFLAGS="%{CFLAGS}" %{python3} setup.py build
45 make PYTHON=%{python3} test
49 %{python3} setup.py install --skip-build -O1 \
57 package python3-lxml-debuginfo