source: general/prog/python-dependencies/markdown.xml

trunk
Last change on this file was c4a9428e, checked in by Bruce Dubbs <bdubbs@…>, 11 days ago

Archive PyYaml and Update to Cython-3.0.10.

  • Property mode set to 100644
File size: 4.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE sect2 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 markdown-download-http "https://files.pythonhosted.org/packages/source/M/Markdown/Markdown-&markdown-version;.tar.gz">
8 <!ENTITY markdown-download-ftp " ">
9 <!ENTITY markdown-md5sum "&markdown-md5sum;">
10 <!ENTITY markdown-size "315 KB">
11 <!ENTITY markdown-buildsize "4.1 MB (add 27 MB for tests)">
12 <!ENTITY markdown-time "less than 0.1 SBU (with tests)">
13]>
14
15 <sect2 id="markdown" xreflabel="Markdown-&markdown-version;">
16
17 <title>Markdown-&markdown-version;</title>
18
19 <indexterm zone="markdown">
20 <primary sortas="a-Markdown">Markdown</primary>
21 </indexterm>
22
23 <sect3 role="package">
24 <title>Introduction to Markdown Module</title>
25
26 <para>
27 <application>Markdown</application> is a Python parser for
28 John Gruber's Markdown specification.
29 </para>
30
31 &lfs121_checked;
32
33 <bridgehead renderas="sect4">Package Information</bridgehead>
34 <itemizedlist spacing="compact">
35 <listitem>
36 <para>
37 Download (HTTP): <ulink url="&markdown-download-http;"/>
38 </para>
39 </listitem>
40 <listitem>
41 <para>
42 Download (FTP): <ulink url="&markdown-download-ftp;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download MD5 sum: &markdown-md5sum;
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download size: &markdown-size;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Estimated disk space required: &markdown-buildsize;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated build time: &markdown-time;
63 </para>
64 </listitem>
65 </itemizedlist>
66
67 <bridgehead renderas="sect4">Markdown Dependencies</bridgehead>
68
69 <bridgehead renderas="sect5">Optional (for testing)</bridgehead>
70 <para role="optional">
71 <xref linkend="pytest"/>,
72 <ulink url="https://pypi.org/project/pyyaml/">pyyaml</ulink>
73 <ulink url="https://pypi.org/project/coverage/">coverage</ulink>
74 </para>
75
76
77 </sect3>
78
79 <sect3 role="installation">
80 <title>Installation of Markdown</title>
81
82 <para> Build the module: </para>
83
84&build-wheel;
85
86 <para>
87 Now, as the <systemitem class="username">root</systemitem> user:
88 </para>
89
90<screen role="root"><userinput>&install-wheel; Markdown</userinput></screen>
91
92 <para>
93 Assuming <xref linkend="pytest"/> is installed and the other optional
94 dependencies are not, the installation can be tested with:
95 </para>
96
97<screen remap="test"><userinput>python3 -m venv --system-site-packages testenv &amp;&amp;
98source testenv/bin/activate &amp;&amp;
99pip3 install coverage pyyaml &amp;&amp;
100python3 /usr/bin/pytest --ignore=tests/test_syntax/extensions/test_md_in_html.py<!-- no && because of a possible error -->
101deactivate</userinput></screen>
102
103 </sect3>
104
105 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
106 href="../../../xincludes/pip3-cmd-explain.xml"/>
107
108 <sect3 role="content">
109 <title>Contents</title>
110
111 <segmentedlist>
112 <segtitle>Installed Programs</segtitle>
113 <segtitle>Installed Libraries</segtitle>
114 <segtitle>Installed Directories</segtitle>
115
116 <seglistitem>
117 <seg>markdown_py</seg>
118 <seg>None</seg>
119 <seg>
120 /usr/lib/python&python3-majorver;/site-packages/markdown and
121 /usr/lib/python&python3-majorver;/site-packages/Markdown-&markdown-version;.dist-info
122 </seg>
123 </seglistitem>
124 </segmentedlist>
125
126 <variablelist>
127 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
128 <?dbfo list-presentation="list"?>
129 <?dbhtml list-presentation="table"?>
130
131 <varlistentry id="markdown_py">
132 <term><command>markdown_py</command></term>
133 <listitem>
134 <para>
135 converts markdown files to (x)html
136 </para>
137 <indexterm zone="markdown markdown_py">
138 <primary sortas="b-markdown_py">markdown_py</primary>
139 </indexterm>
140 </listitem>
141 </varlistentry>
142
143 </variablelist>
144
145 </sect3>
146
147 </sect2>
Note: See TracBrowser for help on using the repository browser.