mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 07:17:15 +08:00
Add chardet-5.1.0 (python module)
It is a dependency of doxypypy.
This commit is contained in:
parent
eff9ad4b8d
commit
30090b72bf
@ -66,6 +66,11 @@
|
||||
<xref linkend="babel"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<xref linkend="chardet"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<xref linkend="charset-normalizer"/>
|
||||
@ -218,6 +223,9 @@
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="python-dependencies/Babel.xml"/>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="python-dependencies/chardet.xml"/>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="python-dependencies/charset-normalizer.xml"/>
|
||||
|
||||
|
136
general/prog/python-dependencies/chardet.xml
Normal file
136
general/prog/python-dependencies/chardet.xml
Normal file
@ -0,0 +1,136 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!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>
|
||||
|
||||
&lfs112_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>
|
||||
|
||||
<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
|
||||
|
||||
<para>
|
||||
Now, as the <systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user 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>
|
@ -7,8 +7,8 @@
|
||||
<!ENTITY doxypypy-download-http "https://files.pythonhosted.org/packages/source/d/doxypypy/doxypypy-&doxypypy-version;.tar.gz">
|
||||
<!ENTITY doxypypy-download-ftp " ">
|
||||
<!ENTITY doxypypy-md5sum "&doxypypy-md5sum;">
|
||||
<!ENTITY doxypypy-size "48 KB">
|
||||
<!ENTITY doxypypy-buildsize "1.1 MB">
|
||||
<!ENTITY doxypypy-size "45 KB">
|
||||
<!ENTITY doxypypy-buildsize "2.1 MB">
|
||||
<!ENTITY doxypypy-time "less than 0.1 SBU">
|
||||
]>
|
||||
|
||||
@ -66,9 +66,10 @@
|
||||
|
||||
<bridgehead renderas="sect4">Doxypypy Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect5">Required (run time)</bridgehead>
|
||||
<bridgehead renderas="sect5">Required</bridgehead>
|
||||
<para role="required">
|
||||
<xref role="runtime" linkend="doxygen"/>
|
||||
<xref linkend="chardet"/> and
|
||||
<xref role="runtime" linkend="doxygen"/> (at run time)
|
||||
</para>
|
||||
|
||||
</sect3>
|
||||
|
@ -42,7 +42,12 @@
|
||||
<para>February 5th, 2023</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to doxypypy-0.8.8.7. Fixes
|
||||
<para>[pierre] - Add chardet-5.1.0 (python module), needed by
|
||||
doxypypy-0.8.8.7. Fixes
|
||||
<ulink url="&blfs-ticket-root;17604">#17604</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to doxypypy-0.8.8.7 (python module). Part of
|
||||
<ulink url="&blfs-ticket-root;17604">#17604</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
@ -570,6 +570,8 @@ to avoid building libxml2 twice, which is slow with all deps -->
|
||||
<!ENTITY attrs-md5sum "eff16b3bbd0d9b72e118cca83a19d380">
|
||||
<!ENTITY babel-version "2.11.0">
|
||||
<!ENTITY babel-md5sum "9ee7784fd452d456206ecd3a12694010">
|
||||
<!ENTITY chardet-version "5.1.0">
|
||||
<!ENTITY chardet-md5sum "394bd03d7a258d2771040bfbd5a7bf66">
|
||||
<!ENTITY charset-normalizer-version "3.0.1">
|
||||
<!ENTITY charset-normalizer-md5sum "12ee1c8bedbfba84e99db46d5d94f411">
|
||||
<!ENTITY commonmark-version "0.9.1">
|
||||
|
Loading…
Reference in New Issue
Block a user