[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 " ">
|
---|
[75aa129c] | 9 | <!ENTITY Mako-md5sum "4fa0a489a247c59b36fe3e0de5514fed">
|
---|
[776c052e] | 10 | <!ENTITY Mako-size "480 KB">
|
---|
[71899871] | 11 | <!ENTITY Mako-buildsize "3.1 MB">
|
---|
[22f9c48] | 12 | <!ENTITY Mako-time "less than 0.1 SBU">
|
---|
| 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 |
|
---|
[b984aaa1] | 33 | &lfs112_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 |
|
---|
[fde1abe] | 69 | <bridgehead renderas="sect4" revision="sysv">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 |
|
---|
| 76 | <para condition="html" role="usernotes">
|
---|
| 77 | User Notes: <ulink url="&blfs-wiki;/Mako"/>
|
---|
| 78 | </para>
|
---|
| 79 | </sect3>
|
---|
| 80 |
|
---|
| 81 | <sect3 role="installation">
|
---|
| 82 | <title>Installation of Mako</title>
|
---|
[fa411f6e] | 83 |
|
---|
[22f9c48] | 84 | <para>
|
---|
[698c3986] | 85 | Build the module:
|
---|
[22f9c48] | 86 | </para>
|
---|
| 87 |
|
---|
[b299976] | 88 | <screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
|
---|
[fa411f6e] | 89 |
|
---|
[22f9c48] | 90 | <para>
|
---|
[698c3986] | 91 | Install the module as the &root; user:
|
---|
[22f9c48] | 92 | </para>
|
---|
[fa411f6e] | 93 |
|
---|
[5ff8c3a] | 94 | <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user Mako</userinput></screen>
|
---|
[fa411f6e] | 95 |
|
---|
[22f9c48] | 96 | </sect3>
|
---|
[fa411f6e] | 97 |
|
---|
[698c3986] | 98 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[5fe69261] | 99 | href="../../../xincludes/pip3-cmd-explain.xml"/>
|
---|
[fa411f6e] | 100 |
|
---|
[22f9c48] | 101 | <sect3 role="content">
|
---|
| 102 | <title>Contents</title>
|
---|
| 103 |
|
---|
| 104 | <segmentedlist>
|
---|
| 105 | <segtitle>Installed Programs</segtitle>
|
---|
| 106 | <segtitle>Installed Libraries</segtitle>
|
---|
| 107 | <segtitle>Installed Directories</segtitle>
|
---|
| 108 |
|
---|
| 109 | <seglistitem>
|
---|
| 110 | <seg>
|
---|
[bc38b45] | 111 | mako-render
|
---|
[22f9c48] | 112 | </seg>
|
---|
| 113 | <seg>
|
---|
| 114 | None
|
---|
| 115 | </seg>
|
---|
| 116 | <seg>
|
---|
[698c3986] | 117 | /usr/lib/python&python3-majorver;/site-packages/mako and
|
---|
| 118 | /usr/lib/python&python3-majorver;/site-packages/Mako-&mako-version;.dist=info
|
---|
[22f9c48] | 119 | </seg>
|
---|
| 120 | </seglistitem>
|
---|
| 121 | </segmentedlist>
|
---|
| 122 |
|
---|
| 123 | </sect3>
|
---|
| 124 |
|
---|
| 125 | </sect2>
|
---|