glfs/general/prog/docutils.xml
Bruce Dubbs 356a7a9e09 Update to mercurial-4.5.
Change default for docutils to python2.
Add a note to dependencies for gpgme.



git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19844 af4574ff-66df-0310-9fd7-8a98e5e911e0
2018-02-22 15:11:22 +00:00

138 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 docutils-download-http "http://downloads.sourceforge.net/docutils/docutils-&docutils-version;.tar.gz">
<!ENTITY docutils-download-ftp " ">
<!ENTITY docutils-md5sum "c53768d63db3873b7d452833553469de">
<!ENTITY docutils-size "1.6 MB">
<!ENTITY docutils-buildsize "12 MB">
<!ENTITY docutils-time "0.4 SBU">
]>
<!-- Begin docutils -->
<sect2 id="docutils" xreflabel="docutils-&docutils-version;">
<title>docutils-&docutils-version;</title>
<indexterm zone="docutils">
<primary sortas="a-docutils">docutils</primary>
</indexterm>
<sect3 role="package">
<title>Introduction to docutils</title>
<para>
<application>docutils</application> is a set of
<application>Python</application> modules and programs
for processing plaintext docs into formats such as HTML, XML, or LaTeX.
</para>
&lfs82_checked;
<bridgehead renderas="sect4">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&docutils-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&docutils-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &docutils-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &docutils-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &docutils-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &docutils-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect4">Docutils Dependencies</bridgehead>
<bridgehead renderas="sect5">Recommended</bridgehead>
<para role="recommended">
<xref linkend="python2"/>
</para>
<note><para>This package can be installed with
<application>Python 3</application>, but some packages require
<application>Python 2</application>.</para></note>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/docutils"/>
</para>
</sect3>
<sect3 role="installation">
<title>Installation of docutils</title>
<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
<para>
To build the <application>Python 2</application> applications,
run the following command:
</para>
<screen><userinput>python setup.py build</userinput></screen>
<para>
To install the <application>Python</application> applications
run the following as the
<systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>python setup.py install --optimize=1 &amp;&amp;
for f in /usr/bin/rst*.py; do
ln -svf $(basename $f) /usr/bin/$(basename $f .py)
done</userinput></screen>
</sect3>
<sect3 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
rst2html4, rst2html5, rst2html, rst2latex, rst2man,
rst2odt_prepstyles, rst2odt, rst2pseudoxml, rst2s5,
rst2xetex, rst2xml, and rstpep2html
</seg>
<seg>
None
</seg>
<seg>
/usr/lib/python&python3-majorver;/site-packages/docutils
</seg>
</seglistitem>
</segmentedlist>
</sect3>
</sect2>
<!--End docutils -->