source: general/prog/jinja2.xml@ 5ff8c3a

11.3 12.0 12.1 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 xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 5ff8c3a was 5ff8c3a, checked in by Bruce Dubbs <bdubbs@…>, 20 months ago

Add --no-user in Python module installation instructions.

  • Property mode set to 100644
File size: 3.6 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" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[8dfc5c3]7 <!ENTITY Jinja2-download-http "&pymodules-dl;/J/Jinja2/Jinja2-&Jinja2-version;.tar.gz">
[22f9c48]8 <!ENTITY Jinja2-download-ftp " ">
[2384999]9 <!ENTITY Jinja2-md5sum "d31148abd89c1df1cdb077a55db27d02">
[6d2b973]10 <!ENTITY Jinja2-size "264 KB">
[b398b3f]11 <!ENTITY Jinja2-buildsize "1.9 MB">
[22f9c48]12 <!ENTITY Jinja2-time "less than 0.1 SBU">
13]>
14
15 <!-- Begin Jinja2 -->
[fde1abe]16 <sect2 id="Jinja2" xreflabel="Jinja2-&Jinja2-version;" revision="sysv">
[22f9c48]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
[5f8e943]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
[00eb94a]39 &lfs112_checked;
[36de390]40
[22f9c48]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>
[930e289]74
[22f9c48]75 <bridgehead renderas="sect4">Jinja2 Dependencies</bridgehead>
76
77 <bridgehead renderas="sect5">Required</bridgehead>
78 <para role="required">
79 <xref linkend="MarkupSafe"/>
80 </para>
[930e289]81
[22f9c48]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>
[b398b3f]90 Build the module:
[22f9c48]91 </para>
[7a9a7b26]92
[b398b3f]93<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
[22f9c48]94
95 <para>
[b398b3f]96 Install the module as the &root; user:
[22f9c48]97 </para>
98
[5ff8c3a]99<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user Jinja2</userinput></screen>
[22f9c48]100
101 </sect3>
102
[b398b3f]103 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
104 href="../../xincludes/pip3-cmd-explain.xml"/>
105
[22f9c48]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>
[50c49293]122 /usr/lib/python&python3-majorver;/site-packages/Jinja2 and
[b398b3f]123 /usr/lib/python&python3-majorver;/site-packages/Jinja2-&Jinja2-version;.dist-info
[22f9c48]124 </seg>
125 </seglistitem>
126 </segmentedlist>
127
128 </sect3>
129
130 </sect2>
Note: See TracBrowser for help on using the repository browser.