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