source: general/prog/python-modules/mako.xml@ 2363ba8

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 2363ba8 was 15445ab, checked in by Douglas R. Reno <renodr@…>, 17 months ago

Lots of tags

  • Property mode set to 100644
File size: 4.3 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 <para condition="html" role="usernotes">
82 User Notes: <ulink url="&blfs-wiki;/Mako"/>
83 </para>
84 </sect3>
85
86 <sect3 role="installation">
87 <title>Installation of Mako</title>
[fa411f6e]88
[22f9c48]89 <para>
[698c3986]90 Build the module:
[22f9c48]91 </para>
92
[b299976]93<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
[fa411f6e]94
[22f9c48]95 <para>
[698c3986]96 Install the module as the &root; user:
[22f9c48]97 </para>
[fa411f6e]98
[5ff8c3a]99<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user Mako</userinput></screen>
[fa411f6e]100
[68c50e0]101 <para>
102 To test the installation, issue <command>pytest</command>.
103 </para>
104
[22f9c48]105 </sect3>
[fa411f6e]106
[698c3986]107 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[5fe69261]108 href="../../../xincludes/pip3-cmd-explain.xml"/>
[fa411f6e]109
[22f9c48]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>
[bc38b45]120 mako-render
[22f9c48]121 </seg>
122 <seg>
123 None
124 </seg>
125 <seg>
[698c3986]126 /usr/lib/python&python3-majorver;/site-packages/mako and
[68c50e0]127 /usr/lib/python&python3-majorver;/site-packages/Mako-&mako-version;.dist-info
[22f9c48]128 </seg>
129 </seglistitem>
130 </segmentedlist>
131
[72c62e4]132 <variablelist>
133 <bridgehead renderas="sect5">Short Descriptions</bridgehead>
134 <?dbfo list-presentation="list"?>
135 <?dbhtml list-presentation="table"?>
136
137 <varlistentry id="mako-render">
138 <term><command>mako-render</command></term>
139 <listitem>
140 <para>
141 renders a template
142 </para>
143 <indexterm zone="Mako mako-render">
144 <primary sortas="b-mako-render">mako-render</primary>
145 </indexterm>
146 </listitem>
147 </varlistentry>
148
149 </variablelist>
150
[22f9c48]151 </sect3>
152
153 </sect2>
Note: See TracBrowser for help on using the repository browser.