source: general/prog/lxml.xml@ bd2365e0

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since bd2365e0 was bd2365e0, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Update to lxml-4.5.0.
Update to unrar-5.9.1.
Update to highlight-3.55.
Update to poppler-0.85.0.
Update to p11-kit-0.23.20.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22614 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY lxml-download-http "&pymodules-dl;/l/lxml/lxml-&lxml-version;.tar.gz">
8 <!ENTITY lxml-download-ftp " ">
9 <!ENTITY lxml-md5sum "f088e452ed45b030b6f84269f1e84d11">
10 <!ENTITY lxml-size "4.3 MB">
11 <!ENTITY lxml-buildsize "223 MB (add 60 MB for tests)">
12 <!ENTITY lxml-time "2.4 SBU (add 2.3 SBU for tests)">
13]>
14
15 <!-- Begin lxml -->
16 <sect2 id="lxml" xreflabel="lxml-&lxml-version;">
17
18 <title>lxml-&lxml-version;</title>
19
20 <indexterm zone="lxml">
21 <primary sortas="a-lxml">lxml</primary>
22 </indexterm>
23
24 <sect3 role="package">
25 <title>Introduction to lxml</title>
26
27 <para>
28 <application>lxml</application> provides
29 <application>Python</application> bindings for
30 <xref linkend="libxslt"/> and <xref linkend="libxml2"/>.
31 </para>
32
33 &lfs90_checked;
34
35 <bridgehead renderas="sect4">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&lxml-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&lxml-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &lxml-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &lxml-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &lxml-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &lxml-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect4">lxml Dependencies</bridgehead>
70
71 <bridgehead renderas="sect5">Required</bridgehead>
72 <para role="required">
73 <xref linkend="libxslt"/>
74 </para>
75
76 <bridgehead renderas="sect5">Recommended</bridgehead>
77 <para role="recommended">
78 <xref linkend="python2"/>
79 </para>
80
81 <bridgehead renderas="sect5">Optional (to run more tests)</bridgehead>
82 <para role="optional">
83 <xref linkend="gdb"/>,
84 <xref linkend="valgrind"/>, and
85 <ulink url="&pypi;/cssselect/">cssselect</ulink>
86 </para>
87
88 <para condition="html" role="usernotes">
89 User Notes: <ulink url="&blfs-wiki;/lxml"/>
90 </para>
91 </sect3>
92
93 <sect3 role="installation">
94 <title>Installation of lxml</title>
95
96 <note>
97 <para>
98 Both <application>Python 2</application> and
99 <application>Python 3</application> modules can
100 be built and installed without any conflicts.
101 </para>
102 </note>
103
104<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
105
106 <para>
107 To build both <application>Python 2</application> and
108 <application>Python 3</application> modules, run:
109 </para>
110
111<screen><userinput>python2 setup.py build &amp;&amp;
112python3 setup.py build</userinput></screen>
113
114 <para>
115 If you wish to run the tests, enter:
116 <command>make PYTHON=python2 test</command> and
117 <command>make PYTHON=python3 test</command>.
118 This will rebuild the package for inplace use before running the tests.
119 </para>
120
121 <para>
122 To install both modules, issue the following commands as the
123 <systemitem class="username">root</systemitem> user:
124 </para>
125
126<screen role="root"><userinput>python2 setup.py install --optimize=1 &amp;&amp;
127python3 setup.py install --optimize=1</userinput></screen>
128
129 </sect3>
130
131 <sect3 role="content">
132 <title>Contents</title>
133
134 <segmentedlist>
135 <segtitle>Installed Programs</segtitle>
136 <segtitle>Installed Libraries</segtitle>
137 <segtitle>Installed Directories</segtitle>
138
139 <seglistitem>
140 <seg>
141 None
142 </seg>
143 <seg>
144 None
145 </seg>
146 <seg>
147 /usr/lib/python&python2-majorver;/site-packages/lxml,
148 /usr/lib/python&python2-majorver;/site-packages/lxml-&lxml-version;-py&python2-majorver;-linux-$ARCH.egg-info
149 and/or
150 /usr/lib/python&python3-majorver;/site-packages/lxml,
151 /usr/lib/python&python3-majorver;/site-packages/lxml-&lxml-version;-py&python3-majorver;-linux-$ARCH.egg-info
152 </seg>
153 </seglistitem>
154 </segmentedlist>
155
156 </sect3>
157
158 </sect2>
159 <!--End lxml -->
Note: See TracBrowser for help on using the repository browser.