]> git.ipfire.org Git - ipfire-3.x.git/blob - python-lxml/python-lxml.nm
gmp: Update to 6.2.0
[ipfire-3.x.git] / python-lxml / python-lxml.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = python-lxml
7 version = 4.3.4
8 release = 1
9 thisapp = lxml-%{version}
10
11 groups = Development/Languages
12 url = https://lxml.de
13 license = BSD
14 summary = ElementTree-like Python bindings for libxml2 and libxslt.
15
16 description
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
20 bindings.
21 end
22
23 source_dl = https://github.com/lxml/lxml/archive/
24
25 build
26 requires
27 cython
28 libxml2-devel
29 libxslt-devel
30 python3-devel
31 zlib-devel
32 end
33
34 # Setting LC_CTYPE to workaround encoding issue
35 export LC_CTYPE=en_US.UTF-8
36
37 # WTF?
38 DIR_APP = %{DIR_SRC}/lxml-%{thisapp}
39
40 build
41 CFLAGS="%{CFLAGS}" %{python3} setup.py build
42 end
43
44 test
45 make PYTHON=%{python3} test
46 end
47
48 install
49 %{python3} setup.py install --skip-build -O1 \
50 --root=%{BUILDROOT}
51 end
52 end
53
54 packages
55 package python3-lxml
56
57 package python3-lxml-debuginfo
58 template DEBUGINFO
59 end
60 end