[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[0a13134f] | 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 smartypants-download-http "https://github.com/leohemsted/smartypants.py/archive/v&smartypants-version;/smartypants-&smartypants-version;.tar.gz">
|
---|
| 8 | <!ENTITY smartypants-download-ftp " ">
|
---|
| 9 | <!ENTITY smartypants-md5sum "27957540f4718e892039b2ed208c78f3">
|
---|
| 10 | <!ENTITY smartypants-size "24 KB">
|
---|
[33f878a9] | 11 | <!ENTITY smartypants-buildsize "344 KB">
|
---|
| 12 | <!ENTITY smartypants-time "less than 0.1 SBU">
|
---|
[0a13134f] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect2 id="smartypants" xreflabel="smartypants-&smartypants-version;">
|
---|
| 16 |
|
---|
| 17 | <title>Smartypants-&smartypants-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="smartypants">
|
---|
| 20 | <primary sortas="a-smartypants">smartypants</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect3 role="package">
|
---|
| 24 | <title>Introduction to Smartypants Module</title>
|
---|
| 25 |
|
---|
| 26 | <para>
|
---|
| 27 | <application>Smartypants</application> translates plain ASCII
|
---|
| 28 | punctuation characters into <quote>smart</quote> typographic
|
---|
[54d58907] | 29 | punctuation HTML entities.
|
---|
[0a13134f] | 30 | </para>
|
---|
| 31 |
|
---|
[f822342] | 32 | &lfs122_checked;
|
---|
[0a13134f] | 33 |
|
---|
| 34 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 35 | <itemizedlist spacing="compact">
|
---|
| 36 | <listitem>
|
---|
| 37 | <para>
|
---|
| 38 | Download (HTTP): <ulink url="&smartypants-download-http;"/>
|
---|
| 39 | </para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (FTP): <ulink url="&smartypants-download-ftp;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download MD5 sum: &smartypants-md5sum;
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download size: &smartypants-size;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Estimated disk space required: &smartypants-buildsize;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated build time: &smartypants-time;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | </itemizedlist>
|
---|
| 67 | <!-- The test suite seems to be broken
|
---|
| 68 | <bridgehead renderas="sect4">Smartypants Dependencies</bridgehead>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect5">Optional (for testing)</bridgehead>
|
---|
| 71 | <para role="optional">
|
---|
| 72 | <xref linkend="pytest"/>
|
---|
| 73 | </para>
|
---|
| 74 | -->
|
---|
| 75 |
|
---|
| 76 | </sect3>
|
---|
| 77 |
|
---|
| 78 | <sect3 role="installation">
|
---|
| 79 | <title>Installation of Smartypants</title>
|
---|
| 80 |
|
---|
[55939ef] | 81 | <note>
|
---|
| 82 | <para>
|
---|
| 83 | The tarball extracts into the
|
---|
| 84 | <filename class='directory'>smartypants.py-&smartypants-version;</filename>
|
---|
| 85 | directory.
|
---|
| 86 | </para>
|
---|
| 87 | </note>
|
---|
| 88 |
|
---|
| 89 | <para>Build the module: </para>
|
---|
[0a13134f] | 90 |
|
---|
[082e722] | 91 | &build-wheel;
|
---|
[0a13134f] | 92 |
|
---|
| 93 | <para>
|
---|
| 94 | This package does not come with a working test suite.
|
---|
| 95 | </para>
|
---|
| 96 |
|
---|
| 97 | <para>
|
---|
| 98 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 99 | </para>
|
---|
| 100 |
|
---|
[082e722] | 101 | <screen role="root"><userinput>&install-wheel; smartypants</userinput></screen>
|
---|
[0a13134f] | 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>smartypants</seg>
|
---|
| 118 | <seg>None</seg>
|
---|
| 119 | <seg>
|
---|
| 120 | /usr/lib/python&python3-majorver;/site-packages/smartypants-&smartypants-version;.dist-info
|
---|
| 121 | </seg>
|
---|
| 122 | </seglistitem>
|
---|
| 123 | </segmentedlist>
|
---|
| 124 |
|
---|
| 125 | <variablelist>
|
---|
| 126 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 127 | <?dbfo list-presentation="list"?>
|
---|
| 128 | <?dbhtml list-presentation="table"?>
|
---|
| 129 |
|
---|
| 130 | <varlistentry id="smartypants-prog">
|
---|
| 131 | <term><command>smartypants</command></term>
|
---|
| 132 | <listitem>
|
---|
| 133 | <para>
|
---|
[b336ec6] | 134 | translates ASCII punctuation to HTML punctuation.
|
---|
[0a13134f] | 135 | </para>
|
---|
| 136 | <indexterm zone="smartypants smartypants-prog">
|
---|
| 137 | <primary sortas="b-smartypants-prog">smartypants</primary>
|
---|
| 138 | </indexterm>
|
---|
| 139 | </listitem>
|
---|
| 140 | </varlistentry>
|
---|
| 141 |
|
---|
| 142 | </variablelist>
|
---|
| 143 |
|
---|
| 144 | </sect3>
|
---|
| 145 |
|
---|
| 146 | </sect2>
|
---|