source: general/prog/mako.xml@ 56f1076

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 8.4 9.0 9.1 bdubbs/svn elogind gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 56f1076 was 56f1076, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to Mako-1.0.7 (Python Module).
Update to wireshark-2.6.4.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20629 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.6 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 Mako-download-http "&pymodules-dl;/M/Mako/Mako-&mako-version;.tar.gz">
8 <!ENTITY Mako-download-ftp " ">
9 <!ENTITY Mako-md5sum "5836cc997b1b773ef389bf6629c30e65">
10 <!ENTITY Mako-size "552 KB">
11 <!ENTITY Mako-buildsize "3.6 MB">
12 <!ENTITY Mako-time "less than 0.1 SBU">
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 &lfs83_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">Required</bridgehead>
72 <para role="required">
73 <xref linkend="Beaker"/> and
74 <xref linkend="MarkupSafe"/>
75 </para>
76
77 <para condition="html" role="usernotes">
78 User Notes: <ulink url="&blfs-wiki;/Mako"/>
79 </para>
80 </sect3>
81
82 <sect3 role="installation">
83 <title>Installation of Mako</title>
84
85 <note>
86 <para>
87 Both <application>Python 2</application> and
88 <application>Python 3</application> modules can
89 be built and installed without any conflicts.
90 </para>
91 </note>
92
93<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
94
95 <para>
96 To install the <application>Python 2</application> module,
97 run the following command as the
98 <systemitem class="username">root</systemitem> user:
99 </para>
100
101<screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen>
102
103 <para>
104 To install the <application>Python 3</application> module,
105 run the following command as the
106 <systemitem class="username">root</systemitem> user:
107 </para>
108
109<screen role="root"><userinput>sed -i "s:mako-render:&amp;3:g" setup.py &amp;&amp;
110python3 setup.py install --optimize=1</userinput></screen>
111
112 </sect3>
113
114 <sect3 role="commands">
115 <title>Command Explanations</title>
116
117 <para>
118 <command>sed -i "s:mako-render:&amp;3:g" setup.py</command>: This sed
119 prevents <command>setup.py</command> from overwriting an already
120 installed script by the <application>Python 2</application> module.
121 Remove it if you are building this module only for
122 <application>Python 3</application>.
123 </para>
124
125 </sect3>
126
127 <sect3 role="content">
128 <title>Contents</title>
129
130 <segmentedlist>
131 <segtitle>Installed Programs</segtitle>
132 <segtitle>Installed Libraries</segtitle>
133 <segtitle>Installed Directories</segtitle>
134
135 <seglistitem>
136 <seg>
137 mako-render and/or mako-render3
138 </seg>
139 <seg>
140 None
141 </seg>
142 <seg>
143 /usr/lib/python&python2-majorver;/site-packages/mako,
144 /usr/lib/python&python2-majorver;/site-packages/Mako-&mako-version;-py&python2-majorver;.egg-info and/or
145 /usr/lib/python&python3-majorver;/site-packages/mako,
146 /usr/lib/python&python3-majorver;/site-packages/Mako-&mako-version;-py&python3-majorver;.egg-info
147 </seg>
148 </seglistitem>
149 </segmentedlist>
150
151 </sect3>
152
153 </sect2>
154 <!--End Mako -->
Note: See TracBrowser for help on using the repository browser.