mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 23:07:23 +08:00
Add lxml-3.6.4 (systemd).
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18015 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
0f9407393d
commit
23e36d191c
142
general/prog/lxml.xml
Normal file
142
general/prog/lxml.xml
Normal file
@ -0,0 +1,142 @@
|
||||
<?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 "6dd7314233029d9dab0156e7b1c7830b">
|
||||
<!ENTITY lxml-size "3.5 MB">
|
||||
<!ENTITY lxml-buildsize "75 MB">
|
||||
<!ENTITY lxml-time "0.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>
|
||||
|
||||
&lfs7a_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 -->
|
@ -81,6 +81,11 @@
|
||||
<xref linkend="Beaker"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem revision="systemd">
|
||||
<para>
|
||||
<xref linkend="lxml"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem revision="systemd">
|
||||
<para>
|
||||
<xref linkend="MarkupSafe"/>
|
||||
@ -134,6 +139,9 @@
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="beaker.xml"/>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="lxml.xml"/>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="markupsafe.xml"/>
|
||||
|
||||
|
@ -96,8 +96,7 @@
|
||||
<xref linkend="libgcrypt"/>,
|
||||
<xref linkend="libidn"/>,
|
||||
<xref linkend="libxkbcommon"/>,
|
||||
<xref linkend="python2"/> or
|
||||
<xref linkend="python3"/>,
|
||||
<xref linkend="lxml"/>,
|
||||
<xref linkend="qemu"/>,
|
||||
<xref linkend="valgrind"/>,
|
||||
<xref linkend="zsh"/> (for the zsh completions),
|
||||
@ -106,7 +105,6 @@
|
||||
<ulink url="https://www.kernel.org/pub/linux/utils/kernel/kexec/">kexec-tools</ulink>,
|
||||
<ulink url="https://www.gnu.org/software/libmicrohttpd/">libmicrohttpd</ulink>,
|
||||
<ulink url="http://sourceforge.net/projects/libseccomp/">libseccomp</ulink>,
|
||||
<ulink url="http://lxml.de/">lxml</ulink> (Python Module),
|
||||
<ulink url="https://github.com/Cyan4973/lz4">lz4</ulink>,
|
||||
<ulink url="http://fukuchi.org/works/qrencode/">qrencode</ulink>,
|
||||
<ulink url="http://sourceforge.net/projects/linuxquota/">quota-tools</ulink> and
|
||||
|
@ -50,6 +50,9 @@
|
||||
<para>[dj] - Update to dbus-1.10.12. Fixes
|
||||
<ulink url="&blfs-ticket-root;8424">#8424</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem revision="systemd">
|
||||
<para>[dj] - Added lxml-3.6.4.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
|
@ -371,6 +371,7 @@
|
||||
<!ENTITY Beaker-version "1.8.0">
|
||||
<!ENTITY dbus-python-version "1.2.4">
|
||||
<!ENTITY Jinja2-version "2.8">
|
||||
<!ENTITY lxml-version "3.6.4">
|
||||
<!ENTITY MarkupSafe-version "0.23">
|
||||
<!ENTITY pyatspi2-version "2.20.2">
|
||||
<!ENTITY py2cairo-version "1.10.0">
|
||||
|
Loading…
Reference in New Issue
Block a user