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 = http://lxml.de/files/
24 sources = %{thisapp}.tgz
35 CFLAGS="%{CFLAGS}" %{python3} setup.py build
39 # Setup test environment.
40 BUILD_LIB_DIR=$(find $(pwd) -name "*.so" | head -n 1 | xargs dirname)
41 cp $BUILD_LIB_DIR/*.so src/lxml
42 export LANG=en_US.utf8
45 %{python3} test.py -p -v
49 %{python3} setup.py install --skip-build -O1 \
57 package python3-lxml-debuginfo