[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 " ">
|
---|
[88c7225] | 9 | <!ENTITY MarkupSafe-md5sum "9809f9fdd98bc835b0c21aa8f79cbf30">
|
---|
[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 -->
|
---|
[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 |
|
---|
[03a2986] | 39 | &lfs111_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 |
|
---|
[2543311c] | 88 | <screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
|
---|
[22f9c48] | 89 |
|
---|
| 90 | <para>
|
---|
[2543311c] | 91 | Then, as the &root; user:
|
---|
[22f9c48] | 92 | </para>
|
---|
| 93 |
|
---|
[2543311c] | 94 | <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir markupsafe</userinput></screen>
|
---|
[22f9c48] | 95 |
|
---|
| 96 | </sect3>
|
---|
| 97 |
|
---|
[2543311c] | 98 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 99 | href="../../xincludes/pip3-cmd-explain.xml"/>
|
---|
| 100 |
|
---|
[22f9c48] | 101 | <sect3 role="content">
|
---|
| 102 | <title>Contents</title>
|
---|
| 103 |
|
---|
| 104 | <segmentedlist>
|
---|
| 105 | <segtitle>Installed Programs</segtitle>
|
---|
| 106 | <segtitle>Installed Libraries</segtitle>
|
---|
| 107 | <segtitle>Installed Directories</segtitle>
|
---|
| 108 |
|
---|
| 109 | <seglistitem>
|
---|
| 110 | <seg>
|
---|
| 111 | None
|
---|
| 112 | </seg>
|
---|
| 113 | <seg>
|
---|
| 114 | None
|
---|
| 115 | </seg>
|
---|
| 116 | <seg>
|
---|
[2543311c] | 117 |
|
---|
[f5c056e] | 118 | /usr/lib/python&python3-majorver;/site-packages/markupSafe and
|
---|
[2543311c] | 119 | /usr/lib/python&python3-majorver;/site-packages/MarkupSafe-&MarkupSafe-version;.dist-info
|
---|
[22f9c48] | 120 | </seg>
|
---|
| 121 | </seglistitem>
|
---|
| 122 | </segmentedlist>
|
---|
| 123 |
|
---|
| 124 | </sect3>
|
---|
| 125 |
|
---|
| 126 | </sect2>
|
---|