source: general/prog/pygments.xml@ 6fb638a8

11.0 lazarus qt5new trunk
Last change on this file since 6fb638a8 was 6fb638a8, checked in by Bruce Dubbs <bdubbs@…>, 5 months ago

Update to Pygments-2.9.0 (Python Module)

  • Property mode set to 100644
File size: 3.1 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 pygments-download-http
8 "https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-&pygments-version;.tar.gz">
9 <!ENTITY pygments-download-ftp " ">
10 <!ENTITY pygments-md5sum "665516d1d1c0099241ab6e4c057e26be">
11 <!ENTITY pygments-size "3.9 MB">
12 <!ENTITY pygments-buildsize "47 MB">
13 <!ENTITY pygments-time "less than 0.1 SBU">
14]>
15
16 <!-- Begin Pygments -->
17 <sect2 id="pygments" xreflabel="Pygments-&pygments-version;">
18
19 <title>Pygments-&pygments-version;</title>
20
21 <indexterm zone="pygments">
22 <primary sortas="a-Pygments">Pygments</primary>
23 </indexterm>
24
25 <sect3 role="package">
26 <title>Introduction to Pygments Module</title>
27
28 <para>
29 <application>Pygments</application> is a general syntax highlighter
30 written in <application>Python</application>, for more than 300
31 languages.
32 </para>
33
34 &lfs101_checked;
35
36 <bridgehead renderas="sect4">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&pygments-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&pygments-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &pygments-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &pygments-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &pygments-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &pygments-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <para condition="html" role="usernotes">
71 User Notes: <ulink url="&blfs-wiki;/pygments"/>
72 </para>
73 </sect3>
74
75 <sect3 role="installation">
76 <title>Installation of Pygments</title>
77
78 <para>
79 Build and install the <application>Python 3</application> module
80 by running the following commands as the <systemitem
81 class="username">root</systemitem> user:
82 </para>
83
84<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
85
86 </sect3>
87
88 <sect3 role="content">
89 <title>Contents</title>
90
91 <segmentedlist>
92 <segtitle>Installed Programs</segtitle>
93 <segtitle>Installed Library</segtitle>
94 <segtitle>Installed Directories</segtitle>
95
96 <seglistitem>
97 <seg>
98 pygmentize
99 </seg>
100 <seg>
101 None
102 </seg>
103 <seg>
104 /usr/lib/python&python3-majorver;/site-packages/Pygments-&pygments-version;-py&python3-majorver;.egg
105 </seg>
106 </seglistitem>
107 </segmentedlist>
108
109 </sect3>
110
111 </sect2>
Note: See TracBrowser for help on using the repository browser.