source: general/prog/python-modules/jinja2.xml@ 569925c7

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 569925c7 was 569925c7, checked in by Bruce Dubbs <bdubbs@…>, 15 months ago

Update python modules for pythonhosted

Move the pythonhoted page to python_modules even though it is not
yet activated to render in the book.

Change location of pythonhosted md5sum ENTITIES to packages.ent
so they can be used in multiple pages but only need to be updated
in one place.

Note that pages not have entries like:

<!ENTITY asciidoc-md5sum "&asciidoc-md5sum;">

so this seems to be redefinig the entity to the version
in packages.ent. This seems to be OK with the build system.

  • Property mode set to 100644
File size: 3.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 Jinja2-download-http "&pymodules-dl;/J/Jinja2/Jinja2-&Jinja2-version;.tar.gz">
8 <!ENTITY Jinja2-download-ftp " ">
9 <!ENTITY Jinja2-md5sum "&Jinja2-md5sum;">
10 <!ENTITY Jinja2-size "264 KB">
11 <!ENTITY Jinja2-buildsize "1.9 MB">
12 <!ENTITY Jinja2-time "less than 0.1 SBU">
13]>
14
15 <!-- Begin Jinja2 -->
16 <sect2 id="Jinja2" xreflabel="Jinja2-&Jinja2-version;" revision="sysv">
17
18 <title>Jinja2-&Jinja2-version;</title>
19
20 <indexterm zone="Jinja2">
21 <primary sortas="a-Jinja2">Jinja2</primary>
22 </indexterm>
23
24 <sect3 role="package">
25 <title>Introduction to Jinja2 Module</title>
26
27 <para>
28 <application>Jinja2</application> is a <application>Python</application>
29 module that implements a simple pythonic template language.
30 </para>
31
32 <note revision="systemd">
33 <para>
34 <application>Jinja2</application> was installed in LFS.
35 The instruction is only kept here for SysV revision.
36 </para>
37 </note>
38
39 &lfs112_checked;
40
41 <bridgehead renderas="sect4">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&Jinja2-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&Jinja2-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &Jinja2-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &Jinja2-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &Jinja2-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &Jinja2-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect4">Jinja2 Dependencies</bridgehead>
76
77 <bridgehead renderas="sect5">Required</bridgehead>
78 <para role="required">
79 <xref linkend="MarkupSafe"/>
80 </para>
81
82 <para condition="html" role="usernotes">
83 User Notes: <ulink url="&blfs-wiki;/Jinja2"/>
84 </para>
85 </sect3>
86
87 <sect3 role="installation">
88 <title>Installation of Jinja2</title>
89 <para>
90 Build the module:
91 </para>
92
93<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
94
95 <para>
96 Install the module as the &root; user:
97 </para>
98
99<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user Jinja2</userinput></screen>
100
101 </sect3>
102
103 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
104 href="../../../xincludes/pip3-cmd-explain.xml"/>
105
106 <sect3 role="content">
107 <title>Contents</title>
108
109 <segmentedlist>
110 <segtitle>Installed Programs</segtitle>
111 <segtitle>Installed Libraries</segtitle>
112 <segtitle>Installed Directories</segtitle>
113
114 <seglistitem>
115 <seg>
116 None
117 </seg>
118 <seg>
119 None
120 </seg>
121 <seg>
122 /usr/lib/python&python3-majorver;/site-packages/Jinja2 and
123 /usr/lib/python&python3-majorver;/site-packages/Jinja2-&Jinja2-version;.dist-info
124 </seg>
125 </seglistitem>
126 </segmentedlist>
127
128 </sect3>
129
130 </sect2>
Note: See TracBrowser for help on using the repository browser.