mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
137 lines
3.8 KiB
XML
137 lines
3.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY chardet-download-http "https://files.pythonhosted.org/packages/source/c/chardet/chardet-&chardet-version;.tar.gz">
|
|
<!ENTITY chardet-download-ftp " ">
|
|
<!ENTITY chardet-md5sum "&chardet-md5sum;">
|
|
<!ENTITY chardet-size "2 MB">
|
|
<!ENTITY chardet-buildsize "13 MB (add 1.1 MB for tests)">
|
|
<!ENTITY chardet-time "less than 0.1 SBU (0.3 SBU for tests)">
|
|
]>
|
|
|
|
<sect2 id="chardet" xreflabel="chardet-&chardet-version;">
|
|
|
|
<title>Chardet-&chardet-version;</title>
|
|
|
|
<indexterm zone="chardet">
|
|
<primary sortas="a-chardet">chardet</primary>
|
|
</indexterm>
|
|
|
|
<sect3 role="package">
|
|
<title>Introduction to chardet Module</title>
|
|
|
|
<para>
|
|
<application>Chardet</application> is a universal character
|
|
encoding detector.
|
|
</para>
|
|
|
|
&lfs120_checked;
|
|
|
|
<bridgehead renderas="sect4">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&chardet-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&chardet-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &chardet-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &chardet-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &chardet-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &chardet-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect4">Chardet Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect5">Optional (for testing)</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="pytest"/>
|
|
</para>
|
|
|
|
</sect3>
|
|
|
|
<sect3 role="installation">
|
|
<title>Installation of Chardet</title>
|
|
|
|
<para> Build the module: </para>
|
|
|
|
&build-wheel;
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>&install-wheel; chardet</userinput></screen>
|
|
|
|
<para>
|
|
To test the installation issue <command>pytest</command>.
|
|
</para>
|
|
|
|
</sect3>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
href="../../../xincludes/pip3-cmd-explain.xml"/>
|
|
|
|
<sect3 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>chardetect</seg>
|
|
<seg>None</seg>
|
|
<seg>
|
|
/usr/lib/python&python3-majorver;/site-packages/chardet and
|
|
/usr/lib/python&python3-majorver;/site-packages/chardet-&chardet-version;.dist-info
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect5">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="chardetect">
|
|
<term><command>chardetect</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a Universal Character Encoding Detector
|
|
</para>
|
|
<indexterm zone="chardet chardetect">
|
|
<primary sortas="b-chardetect">chardetect</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
</sect3>
|
|
|
|
</sect2>
|