source: general/prog/python-modules/mako.xml@ 99c90fa

12.1 ken/TL2024 lazarus trunk xry111/llvm18
Last change on this file since 99c90fa was caf32204, checked in by Bruce Dubbs <bdubbs@…>, 3 months ago

Update to Mako-1.3.2 (Python module).

  • Property mode set to 100644
File size: 3.9 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 Mako-download-http "&pymodules-dl;/M/Mako/Mako-&mako-version;.tar.gz">
8 <!ENTITY Mako-download-ftp " ">
9 <!ENTITY Mako-md5sum "&mako-md5sum;">
10 <!ENTITY Mako-size "384 KB">
11 <!ENTITY Mako-buildsize "2.9 MB (add 1.2 MB for tests)">
12 <!ENTITY Mako-time "less than 0.1 SBU (with tests)">
13]>
14
15 <!-- Begin Mako -->
16 <sect2 id="Mako" xreflabel="Mako-&mako-version;">
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
33 &lfs120_checked;
34
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
69 <bridgehead renderas="sect4">Mako Dependencies</bridgehead>
70
71 <bridgehead renderas="sect5">Optional (for Testing)</bridgehead>
72 <para role="optional">
73 <xref linkend="pytest"/>
74 </para>
75
76 </sect3>
77
78 <sect3 role="installation">
79 <title>Installation of Mako</title>
80
81 <para>
82 Build the module:
83 </para>
84
85&build-wheel;
86
87 <para>
88 Install the module as the &root; user:
89 </para>
90
91<screen role="root"><userinput>&install-wheel; Mako</userinput></screen>
92
93 <para>
94 To test the installation, issue <command>pytest</command>.
95 </para>
96
97 </sect3>
98
99 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
100 href="../../../xincludes/pip3-cmd-explain.xml"/>
101
102 <sect3 role="content">
103 <title>Contents</title>
104
105 <segmentedlist>
106 <segtitle>Installed Programs</segtitle>
107 <segtitle>Installed Libraries</segtitle>
108 <segtitle>Installed Directories</segtitle>
109
110 <seglistitem>
111 <seg>
112 mako-render
113 </seg>
114 <seg>
115 None
116 </seg>
117 <seg>
118 /usr/lib/python&python3-majorver;/site-packages/mako and
119 /usr/lib/python&python3-majorver;/site-packages/Mako-&mako-version;.dist-info
120 </seg>
121 </seglistitem>
122 </segmentedlist>
123
124 <variablelist>
125 <bridgehead renderas="sect5">Short Descriptions</bridgehead>
126 <?dbfo list-presentation="list"?>
127 <?dbhtml list-presentation="table"?>
128
129 <varlistentry id="mako-render">
130 <term><command>mako-render</command></term>
131 <listitem>
132 <para>
133 renders a template
134 </para>
135 <indexterm zone="Mako mako-render">
136 <primary sortas="b-mako-render">mako-render</primary>
137 </indexterm>
138 </listitem>
139 </varlistentry>
140
141 </variablelist>
142
143 </sect3>
144
145 </sect2>
Note: See TracBrowser for help on using the repository browser.