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 |
|
---|
7 | <!ENTITY MarkupSafe-download-http "&pymodules-dl;/M/MarkupSafe/MarkupSafe-&MarkupSafe-version;.tar.gz">
|
---|
8 | <!ENTITY MarkupSafe-download-ftp " ">
|
---|
9 | <!ENTITY MarkupSafe-md5sum "&MarkupSafe-md5sum;">
|
---|
10 | <!ENTITY MarkupSafe-size "20 KB">
|
---|
11 | <!ENTITY MarkupSafe-buildsize "368 KB (add 108 KB for tests)">
|
---|
12 | <!ENTITY MarkupSafe-time "less than 0.1 SBU (with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <!-- Begin MarkupSafe -->
|
---|
16 | <sect2 id="MarkupSafe" xreflabel="MarkupSafe-&MarkupSafe-version;" revision="sysv">
|
---|
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 |
|
---|
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 |
|
---|
39 | &lfs113_checked;
|
---|
40 |
|
---|
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 | <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 |
|
---|
83 | </sect3>
|
---|
84 |
|
---|
85 | <sect3 role="installation">
|
---|
86 | <title>Installation of MarkupSafe</title>
|
---|
87 |
|
---|
88 | <para>
|
---|
89 | Install <application>MarkupSafe</application> with the following
|
---|
90 | commands:
|
---|
91 | </para>
|
---|
92 |
|
---|
93 | <screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
|
---|
94 |
|
---|
95 | <para>
|
---|
96 | Then, as the &root; user:
|
---|
97 | </para>
|
---|
98 |
|
---|
99 | <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user markupsafe</userinput></screen>
|
---|
100 |
|
---|
101 | <para>
|
---|
102 | To test the installation, issue <command>pytest</command>.
|
---|
103 | </para>
|
---|
104 |
|
---|
105 | </sect3>
|
---|
106 |
|
---|
107 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
108 | href="../../../xincludes/pip3-cmd-explain.xml"/>
|
---|
109 |
|
---|
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>
|
---|
126 | /usr/lib/python&python3-majorver;/site-packages/markupSafe and
|
---|
127 | /usr/lib/python&python3-majorver;/site-packages/MarkupSafe-&MarkupSafe-version;.dist-info
|
---|
128 | </seg>
|
---|
129 | </seglistitem>
|
---|
130 | </segmentedlist>
|
---|
131 |
|
---|
132 | </sect3>
|
---|
133 |
|
---|
134 | </sect2>
|
---|