mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-26 08:42:12 +08:00
ddea44e626
Update to lxml-3.8.0 (Python module). Update to ModemManager-1.6.8. Update to nmap-7.50. Update gnome-calculator debendencies. Update to gnome-tweak-tool-3.24.1. Simplify fix for kdelibs4support.</para> git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18832 af4574ff-66df-0310-9fd7-8a98e5e911e0
143 lines
4.0 KiB
XML
143 lines
4.0 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY lxml-download-http
|
|
"https://pypi.io/packages/source/l/lxml/lxml-&lxml-version;.tar.gz">
|
|
<!ENTITY lxml-download-ftp " ">
|
|
<!ENTITY lxml-md5sum "e54e2fae44d684d6b9c636fe189e93ff">
|
|
<!ENTITY lxml-size "3.6 MB">
|
|
<!ENTITY lxml-buildsize "104 MB">
|
|
<!ENTITY lxml-time "1.3 SBU">
|
|
]>
|
|
|
|
<!-- Begin lxml -->
|
|
<sect2 id="lxml" xreflabel="lxml-&lxml-version;" revision="systemd">
|
|
|
|
<title>lxml-&lxml-version;</title>
|
|
|
|
<indexterm zone="lxml">
|
|
<primary sortas="a-lxml">lxml</primary>
|
|
</indexterm>
|
|
|
|
<sect3 role="package">
|
|
<title>Introduction to lxml</title>
|
|
|
|
<para>
|
|
<application>lxml</application> provides
|
|
<application>Python</application> bindings for
|
|
<xref linkend="libxslt"/> and <xref linkend="libxml2"/>.
|
|
</para>
|
|
|
|
&lfs80_checked;
|
|
|
|
<bridgehead renderas="sect4">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&lxml-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&lxml-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &lxml-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &lxml-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &lxml-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &lxml-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect4">lxml Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect5">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="libxslt"/>
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">
|
|
User Notes: <ulink url="&blfs-wiki;/lxml"/>
|
|
</para>
|
|
</sect3>
|
|
|
|
<sect3 role="installation">
|
|
<title>Installation of lxml</title>
|
|
|
|
<note>
|
|
<para>
|
|
Both <application>Python 2</application> and
|
|
<application>Python 3</application> modules can
|
|
be built and installed without any conflicts.
|
|
</para>
|
|
</note>
|
|
|
|
<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
|
|
|
|
<para>
|
|
To install the <application>Python 2</application> module,
|
|
run the following commands as the
|
|
<systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>python setup.py build &&
|
|
python setup.py install --optimize=1</userinput></screen>
|
|
|
|
<para>
|
|
To install the <application>Python 3</application> module,
|
|
run the following commands as the
|
|
<systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>python3 setup.py clean &&
|
|
python3 setup.py build &&
|
|
python3 setup.py install --optimize=1</userinput></screen>
|
|
|
|
</sect3>
|
|
|
|
<sect3 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
None
|
|
</seg>
|
|
<seg>
|
|
None
|
|
</seg>
|
|
<seg>
|
|
/usr/lib/python&python2-majorver;/site-packages/lxml-&lxml-version;-py&python2-majorver;-linux-$ARCH.egg
|
|
and/or
|
|
/usr/lib/python&python3-majorver;/site-packages/lxml-&lxml-version;-py&python3-majorver;-linux-$ARCH.egg
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
</sect3>
|
|
|
|
</sect2>
|
|
<!--End lxml -->
|