source: general/prog/python-modules/markupsafe.xml@ 542ba6a9

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 542ba6a9 was 542ba6a9, checked in by Pierre Labastie <pierre.labastie@…>, 15 months ago

Update to MarkupSafe-2.1.2 (Python Module)

  • Property mode set to 100644
File size: 4.0 KB
Line 
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 "02f337b98aef11bd0fee9c5ae860173b">
10 <!ENTITY MarkupSafe-size "19 KB">
11 <!ENTITY MarkupSafe-buildsize "516 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 &lfs112_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 <para condition="html" role="usernotes">
84 User Notes: <ulink url="&blfs-wiki;/MarkupSafe"/>
85 </para>
86 </sect3>
87
88 <sect3 role="installation">
89 <title>Installation of MarkupSafe</title>
90
91 <para>
92 Install <application>MarkupSafe</application> with the following
93 commands:
94 </para>
95
96<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
97
98 <para>
99 Then, as the &root; user:
100 </para>
101
102<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user markupsafe</userinput></screen>
103
104 <para>
105 To test the installation, issue <command>pytest</command>.
106 </para>
107
108 </sect3>
109
110 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
111 href="../../../xincludes/pip3-cmd-explain.xml"/>
112
113 <sect3 role="content">
114 <title>Contents</title>
115
116 <segmentedlist>
117 <segtitle>Installed Programs</segtitle>
118 <segtitle>Installed Libraries</segtitle>
119 <segtitle>Installed Directories</segtitle>
120
121 <seglistitem>
122 <seg>
123 None
124 </seg>
125 <seg>
126 None
127 </seg>
128 <seg>
129 /usr/lib/python&python3-majorver;/site-packages/markupSafe and
130 /usr/lib/python&python3-majorver;/site-packages/MarkupSafe-&MarkupSafe-version;.dist-info
131 </seg>
132 </seglistitem>
133 </segmentedlist>
134
135 </sect3>
136
137 </sect2>
Note: See TracBrowser for help on using the repository browser.