glfs/general/prog/markupsafe.xml
Bruce Dubbs 2f3cfb22b8 Tag most of xorg, but 12 drivers remain.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19795 af4574ff-66df-0310-9fd7-8a98e5e911e0
2018-02-18 21:04:14 +00:00

155 lines
4.6 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 MarkupSafe-download-http "&pymodules-dl;/M/MarkupSafe/MarkupSafe-&MarkupSafe-version;.tar.gz">
<!ENTITY MarkupSafe-download-ftp " ">
<!ENTITY MarkupSafe-md5sum "2fcedc9284d50e577b5192e8e3578355">
<!ENTITY MarkupSafe-size "16 KB">
<!ENTITY MarkupSafe-buildsize "872 KB">
<!ENTITY MarkupSafe-time "less than 0.1 SBU">
]>
<!-- Begin MarkupSafe -->
<sect2 id="MarkupSafe" xreflabel="MarkupSafe-&MarkupSafe-version;">
<title>MarkupSafe-&MarkupSafe-version;</title>
<indexterm zone="MarkupSafe">
<primary sortas="a-MarkupSafe">MarkupSafe</primary>
</indexterm>
<sect3 role="package">
<title>Introduction to MarkupSafe Module</title>
<para>
<application>MarkupSafe</application> is a <application>Python</application>
module that implements a XML/HTML/XHTML Markup safe string.
</para>
&lfs82_checked;
<bridgehead renderas="sect4">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&MarkupSafe-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&MarkupSafe-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &MarkupSafe-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &MarkupSafe-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &MarkupSafe-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &MarkupSafe-time;
</para>
</listitem>
</itemizedlist>
<!-- OBSOLETE
<bridgehead renderas="sect4">MarkupSafe Dependencies</bridgehead>
<bridgehead renderas="sect5">Required</bridgehead>
<para role="required">
<xref linkend="setuptools"/>
</para>
-->
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/MarkupSafe"/>
</para>
</sect3>
<sect3 role="installation">
<title>Installation of MarkupSafe</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 build the <application>Python 2</application> module,
run the following command:
</para>
<screen><userinput>python setup.py build</userinput></screen>
<para>
To install the <application>Python 2</application> module,
run the following command as the
<systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen>
<para>
To build the <application>Python 3</application> module,
run the following command:
</para>
<screen><userinput>python3 setup.py build</userinput></screen>
<para>
To install the <application>Python 3</application> module,
run the following command as the
<systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>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/markupsafe,
/usr/lib/python&python2-majorver;/site-packages/MarkupSafe-&MarkupSafe-version;-py&python2-majorver;.egg-info and/or
/usr/lib/python&python3-majorver;/site-packages/markupsafe,
/usr/lib/python&python3-majorver;/site-packages/MarkupSafe-&MarkupSafe-version;-py&python3-majorver;.egg-info
</seg>
</seglistitem>
</segmentedlist>
</sect3>
</sect2>
<!--End MarkupSafe -->