]> git.ipfire.org Git - ipfire-3.x.git/blame_incremental - python3-lxml/python3-lxml.nm
snort: Update to 3.7.2.0
[ipfire-3.x.git] / python3-lxml / python3-lxml.nm
... / ...
CommitLineData
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = python3-lxml
7version = 4.9.3
8release = 1
9thisapp = lxml-%{version}
10
11groups = Development/Languages
12url = https://lxml.de
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
23source_dl = https://github.com/lxml/lxml/archive/
24
25build
26 requires
27 cython
28 libxml2-devel
29 libxslt-devel
30 python3-devel
31 zlib-devel
32 python3-setuptools
33 end
34
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
41 build
42 CFLAGS="%{CFLAGS}" %{python3} setup.py build
43 end
44
45 #test
46 # make PYTHON=%{python3} test
47 #end
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