[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" [
|
---|
[5fe69261] | 4 | <!ENTITY % general-entities SYSTEM "../../../general.ent">
|
---|
[22f9c48] | 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 " ">
|
---|
[569925c7] | 9 | <!ENTITY MarkupSafe-md5sum "&MarkupSafe-md5sum;">
|
---|
[0863931d] | 10 | <!ENTITY MarkupSafe-size "20 KB">
|
---|
| 11 | <!ENTITY MarkupSafe-buildsize "368 KB (add 108 KB for tests)">
|
---|
[542ba6a9] | 12 | <!ENTITY MarkupSafe-time "less than 0.1 SBU (with tests)">
|
---|
[22f9c48] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <!-- Begin MarkupSafe -->
|
---|
[fde1abe] | 16 | <sect2 id="MarkupSafe" xreflabel="MarkupSafe-&MarkupSafe-version;" revision="sysv">
|
---|
[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 |
|
---|
[dc1a45e] | 39 | &lfs113_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 |
|
---|
[542ba6a9] | 75 | <bridgehead renderas="sect4">MarkupSafe Dependencies</bridgehead>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect5">Optional (for tests)</bridgehead>
|
---|
| 78 | <para role="optional">
|
---|
| 79 | <xref linkend="pytest"/>
|
---|
| 80 | </para>
|
---|
| 81 |
|
---|
| 82 |
|
---|
[22f9c48] | 83 | </sect3>
|
---|
| 84 |
|
---|
| 85 | <sect3 role="installation">
|
---|
| 86 | <title>Installation of MarkupSafe</title>
|
---|
[0cf3733] | 87 |
|
---|
[22f9c48] | 88 | <para>
|
---|
[179e019] | 89 | Install <application>MarkupSafe</application> with the following
|
---|
| 90 | commands:
|
---|
[22f9c48] | 91 | </para>
|
---|
| 92 |
|
---|
[2543311c] | 93 | <screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
|
---|
[22f9c48] | 94 |
|
---|
| 95 | <para>
|
---|
[2543311c] | 96 | Then, as the &root; user:
|
---|
[22f9c48] | 97 | </para>
|
---|
| 98 |
|
---|
[5ff8c3a] | 99 | <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user markupsafe</userinput></screen>
|
---|
[22f9c48] | 100 |
|
---|
[542ba6a9] | 101 | <para>
|
---|
| 102 | To test the installation, issue <command>pytest</command>.
|
---|
| 103 | </para>
|
---|
| 104 |
|
---|
[22f9c48] | 105 | </sect3>
|
---|
| 106 |
|
---|
[2543311c] | 107 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[5fe69261] | 108 | href="../../../xincludes/pip3-cmd-explain.xml"/>
|
---|
[2543311c] | 109 |
|
---|
[22f9c48] | 110 | <sect3 role="content">
|
---|
| 111 | <title>Contents</title>
|
---|
| 112 |
|
---|
| 113 | <segmentedlist>
|
---|
| 114 | <segtitle>Installed Programs</segtitle>
|
---|
| 115 | <segtitle>Installed Libraries</segtitle>
|
---|
| 116 | <segtitle>Installed Directories</segtitle>
|
---|
| 117 |
|
---|
| 118 | <seglistitem>
|
---|
| 119 | <seg>
|
---|
| 120 | None
|
---|
| 121 | </seg>
|
---|
| 122 | <seg>
|
---|
| 123 | None
|
---|
| 124 | </seg>
|
---|
| 125 | <seg>
|
---|
[f5c056e] | 126 | /usr/lib/python&python3-majorver;/site-packages/markupSafe and
|
---|
[2543311c] | 127 | /usr/lib/python&python3-majorver;/site-packages/MarkupSafe-&MarkupSafe-version;.dist-info
|
---|
[22f9c48] | 128 | </seg>
|
---|
| 129 | </seglistitem>
|
---|
| 130 | </segmentedlist>
|
---|
| 131 |
|
---|
| 132 | </sect3>
|
---|
| 133 |
|
---|
| 134 | </sect2>
|
---|