[22f9c48] | 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 |
|
---|
[8dfc5c3] | 7 | <!ENTITY MarkupSafe-download-http "&pymodules-dl;/M/MarkupSafe/MarkupSafe-&MarkupSafe-version;.tar.gz">
|
---|
[22f9c48] | 8 | <!ENTITY MarkupSafe-download-ftp " ">
|
---|
[95a55b4a] | 9 | <!ENTITY MarkupSafe-md5sum "892e0fefa3c488387e5cc0cad2daa523">
|
---|
[fb7406e] | 10 | <!ENTITY MarkupSafe-size "20 KB">
|
---|
[95a55b4a] | 11 | <!ENTITY MarkupSafe-buildsize "360 KB">
|
---|
[22f9c48] | 12 | <!ENTITY MarkupSafe-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <!-- Begin MarkupSafe -->
|
---|
[0499056] | 16 | <sect2 id="MarkupSafe" xreflabel="MarkupSafe-&MarkupSafe-version;">
|
---|
[22f9c48] | 17 |
|
---|
| 18 | <title>MarkupSafe-&MarkupSafe-version;</title>
|
---|
| 19 |
|
---|
| 20 | <indexterm zone="MarkupSafe">
|
---|
| 21 | <primary sortas="a-MarkupSafe">MarkupSafe</primary>
|
---|
| 22 | </indexterm>
|
---|
| 23 |
|
---|
| 24 | <sect3 role="package">
|
---|
| 25 | <title>Introduction to MarkupSafe Module</title>
|
---|
| 26 |
|
---|
| 27 | <para>
|
---|
| 28 | <application>MarkupSafe</application> is a <application>Python</application>
|
---|
| 29 | module that implements a XML/HTML/XHTML Markup safe string.
|
---|
| 30 | </para>
|
---|
| 31 |
|
---|
[5f8e943] | 32 | <note revision="systemd">
|
---|
| 33 | <para>
|
---|
| 34 | <application>MarkupSafe</application> was installed in LFS.
|
---|
| 35 | The instruction is only kept here for SysV revision.
|
---|
| 36 | </para>
|
---|
| 37 | </note>
|
---|
| 38 |
|
---|
[ef0722a] | 39 | &lfs110_checked;
|
---|
[36de390] | 40 |
|
---|
[22f9c48] | 41 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&MarkupSafe-download-http;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&MarkupSafe-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download MD5 sum: &MarkupSafe-md5sum;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Download size: &MarkupSafe-size;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated disk space required: &MarkupSafe-buildsize;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
| 70 | Estimated build time: &MarkupSafe-time;
|
---|
| 71 | </para>
|
---|
| 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <para condition="html" role="usernotes">
|
---|
| 76 | User Notes: <ulink url="&blfs-wiki;/MarkupSafe"/>
|
---|
| 77 | </para>
|
---|
| 78 | </sect3>
|
---|
| 79 |
|
---|
| 80 | <sect3 role="installation">
|
---|
| 81 | <title>Installation of MarkupSafe</title>
|
---|
[0cf3733] | 82 |
|
---|
[22f9c48] | 83 | <para>
|
---|
[179e019] | 84 | Install <application>MarkupSafe</application> with the following
|
---|
| 85 | commands:
|
---|
[22f9c48] | 86 | </para>
|
---|
| 87 |
|
---|
[179e019] | 88 | <screen><userinput>python3 setup.py build</userinput></screen>
|
---|
[22f9c48] | 89 |
|
---|
| 90 | <para>
|
---|
[179e019] | 91 | Then, as the <systemitem class="username">root</systemitem> user:
|
---|
[22f9c48] | 92 | </para>
|
---|
| 93 |
|
---|
[0cf3733] | 94 | <!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
|
---|
[179e019] | 95 | <screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
|
---|
[22f9c48] | 96 |
|
---|
| 97 | </sect3>
|
---|
| 98 |
|
---|
| 99 | <sect3 role="content">
|
---|
| 100 | <title>Contents</title>
|
---|
| 101 |
|
---|
| 102 | <segmentedlist>
|
---|
| 103 | <segtitle>Installed Programs</segtitle>
|
---|
| 104 | <segtitle>Installed Libraries</segtitle>
|
---|
| 105 | <segtitle>Installed Directories</segtitle>
|
---|
| 106 |
|
---|
| 107 | <seglistitem>
|
---|
| 108 | <seg>
|
---|
| 109 | None
|
---|
| 110 | </seg>
|
---|
| 111 | <seg>
|
---|
| 112 | None
|
---|
| 113 | </seg>
|
---|
| 114 | <seg>
|
---|
[6b551e8] | 115 | /usr/lib/python&python3-majorver;/site-packages/markupsafe and
|
---|
[22f9c48] | 116 | /usr/lib/python&python3-majorver;/site-packages/MarkupSafe-&MarkupSafe-version;-py&python3-majorver;.egg-info
|
---|
| 117 | </seg>
|
---|
| 118 | </seglistitem>
|
---|
| 119 | </segmentedlist>
|
---|
| 120 |
|
---|
| 121 | </sect3>
|
---|
| 122 |
|
---|
| 123 | </sect2>
|
---|