source: general/prog/python-modules/mako.xml@ 80f933b

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since 80f933b was cb594b6c, checked in by Xi Ruoyao <xry111@…>, 12 months ago

general: Remove non-exist User Notes link

Part of User Notes removal by
https://www.linuxfromscratch.org/~xry111/remove-nonexist-usernote.sh

  • Property mode set to 100644
File size: 4.2 KB
RevLine 
[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 Mako-download-http "&pymodules-dl;/M/Mako/Mako-&mako-version;.tar.gz">
[22f9c48]8 <!ENTITY Mako-download-ftp " ">
[569925c7]9 <!ENTITY Mako-md5sum "&mako-md5sum;">
[68c50e0]10 <!ENTITY Mako-size "485 KB">
11 <!ENTITY Mako-buildsize "3.9 MB (add 1.2 MB for tests)">
12 <!ENTITY Mako-time "less than 0.1 SBU (with tests)">
[22f9c48]13]>
14
15 <!-- Begin Mako -->
[0499056]16 <sect2 id="Mako" xreflabel="Mako-&mako-version;">
[22f9c48]17
18 <title>Mako-&mako-version;</title>
19
20 <indexterm zone="Mako">
21 <primary sortas="a-Mako">Mako</primary>
22 </indexterm>
23
24 <sect3 role="package">
25 <title>Introduction to Mako Module</title>
26
27 <para>
28 <application>Mako</application> is a <application>Python</application>
29 module that implements hyperfast and lightweight templating for the
30 <application>Python</application> platform.
31 </para>
32
[15445ab]33 &lfs113_checked;
[36de390]34
[22f9c48]35 <bridgehead renderas="sect4">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&Mako-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&Mako-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &Mako-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &Mako-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &Mako-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &Mako-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
[68c50e0]69 <bridgehead renderas="sect4">Mako Dependencies</bridgehead>
[22f9c48]70
[fde1abe]71 <bridgehead renderas="sect5" revision="sysv">Required</bridgehead>
72 <para role="required" revision="sysv">
[22f9c48]73 <xref linkend="MarkupSafe"/>
74 </para>
75
[68c50e0]76 <bridgehead renderas="sect5">Optional (for Testing)</bridgehead>
77 <para role="optional">
78 <xref linkend="pytest"/>
79 </para>
80
[22f9c48]81 </sect3>
82
83 <sect3 role="installation">
84 <title>Installation of Mako</title>
[fa411f6e]85
[22f9c48]86 <para>
[698c3986]87 Build the module:
[22f9c48]88 </para>
89
[b299976]90<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
[fa411f6e]91
[22f9c48]92 <para>
[698c3986]93 Install the module as the &root; user:
[22f9c48]94 </para>
[fa411f6e]95
[5ff8c3a]96<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user Mako</userinput></screen>
[fa411f6e]97
[68c50e0]98 <para>
99 To test the installation, issue <command>pytest</command>.
100 </para>
101
[22f9c48]102 </sect3>
[fa411f6e]103
[698c3986]104 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[5fe69261]105 href="../../../xincludes/pip3-cmd-explain.xml"/>
[fa411f6e]106
[22f9c48]107 <sect3 role="content">
108 <title>Contents</title>
109
110 <segmentedlist>
111 <segtitle>Installed Programs</segtitle>
112 <segtitle>Installed Libraries</segtitle>
113 <segtitle>Installed Directories</segtitle>
114
115 <seglistitem>
116 <seg>
[bc38b45]117 mako-render
[22f9c48]118 </seg>
119 <seg>
120 None
121 </seg>
122 <seg>
[698c3986]123 /usr/lib/python&python3-majorver;/site-packages/mako and
[68c50e0]124 /usr/lib/python&python3-majorver;/site-packages/Mako-&mako-version;.dist-info
[22f9c48]125 </seg>
126 </seglistitem>
127 </segmentedlist>
128
[72c62e4]129 <variablelist>
130 <bridgehead renderas="sect5">Short Descriptions</bridgehead>
131 <?dbfo list-presentation="list"?>
132 <?dbhtml list-presentation="table"?>
133
134 <varlistentry id="mako-render">
135 <term><command>mako-render</command></term>
136 <listitem>
137 <para>
138 renders a template
139 </para>
140 <indexterm zone="Mako mako-render">
141 <primary sortas="b-mako-render">mako-render</primary>
142 </indexterm>
143 </listitem>
144 </varlistentry>
145
146 </variablelist>
147
[22f9c48]148 </sect3>
149
150 </sect2>
Note: See TracBrowser for help on using the repository browser.