source: general/prog/lxml.xml@ 9d91f2c6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.4 9.0 9.1 bdubbs/svn elogind 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 9d91f2c6 was 1613ba5, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to lxml-4.2.5 (Python module).
Update to mesa-18.2.0.
Update to vlc-3.0.4.

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

  • Property mode set to 100644
File size: 5.1 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 "ce042575c4459c4994f68b9a862a72a4">
10 <!ENTITY lxml-size "4.2 MB">
11 <!ENTITY lxml-buildsize "151 MB (add 105 MB for the testsuite)">
12 <!ENTITY lxml-time "2.1 SBU (add 3.3 SBU for the testsuite)">
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 &lfs83_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">Optional (to run more tests)</bridgehead>
77 <para role="optional">
78 <xref linkend="gdb"/>
79 <xref linkend="valgrind"/>
80 <ulink url="&pypi;/cssselect/">cssselect</ulink>
81 </para>
82
83 <para condition="html" role="usernotes">
84 User Notes: <ulink url="&blfs-wiki;/lxml"/>
85 </para>
86 </sect3>
87
88 <sect3 role="installation">
89 <title>Installation of lxml</title>
90
91 <note>
92 <para>
93 Both <application>Python 2</application> and
94 <application>Python 3</application> modules can
95 be built and installed without any conflicts.
96 </para>
97 </note>
98
99<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
100
101 <para>
102 To build the <application>Python 2</application> module, run:
103 </para>
104
105<screen><userinput>python setup.py build</userinput></screen>
106
107 <para>
108 If you wish to run the tests, enter: <command>make test</command>.
109 This will rebuild the package for inplace use before running the tests.
110 One or more tests sometimes fail.
111 </para>
112
113 <para>
114 To install the <application>Python 2</application> module,
115 as the
116 <systemitem class="username">root</systemitem> user run:
117 </para>
118
119<screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen>
120
121 <para>
122 To build the <application>Python 3</application> module, run:
123 </para>
124
125<screen><userinput>python3 setup.py clean &amp;&amp;
126python3 setup.py build</userinput></screen>
127
128 <para>
129 If you wish to run the tests, enter: <command>make PYTHON=python3
130 test</command>. This will rebuild the package for inplace use before
131 running the tests. One or more tests sometimes fail.
132 </para>
133
134 <para>
135 To install the <application>Python 3</application> module,
136 as the
137 <systemitem class="username">root</systemitem> user run:
138 </para>
139
140<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
141
142 </sect3>
143
144 <sect3 role="content">
145 <title>Contents</title>
146
147 <segmentedlist>
148 <segtitle>Installed Programs</segtitle>
149 <segtitle>Installed Libraries</segtitle>
150 <segtitle>Installed Directories</segtitle>
151
152 <seglistitem>
153 <seg>
154 None
155 </seg>
156 <seg>
157 None
158 </seg>
159 <seg>
160 /usr/lib/python&python2-majorver;/site-packages/lxml,
161 /usr/lib/python&python2-majorver;/site-packages/lxml-&lxml-version;-py&python2-majorver;-linux-$ARCH.egg-info
162 and/or
163 /usr/lib/python&python3-majorver;/site-packages/lxml,
164 /usr/lib/python&python3-majorver;/site-packages/lxml-&lxml-version;-py&python3-majorver;-linux-$ARCH.egg-info
165 </seg>
166 </seglistitem>
167 </segmentedlist>
168
169 </sect3>
170
171 </sect2>
172 <!--End lxml -->
Note: See TracBrowser for help on using the repository browser.