glfs/general/prog/python-dependencies/sphinxcontrib-qthelp.xml

130 lines
4.0 KiB
XML
Raw Normal View History

<?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;
2022-10-14 21:03:28 +08:00
<!ENTITY sc-qthelp-download-http "https://files.pythonhosted.org/packages/source/s/sphinxcontrib-qthelp/sphinxcontrib-qthelp-&sc-qthelp-version;.tar.gz">
2022-10-03 04:50:11 +08:00
<!ENTITY sc-qthelp-download-ftp " ">
<!ENTITY sc-qthelp-md5sum "&sc-qthelp-md5sum;">
2022-10-14 21:03:28 +08:00
<!ENTITY sc-qthelp-size "21 KB">
<!ENTITY sc-qthelp-buildsize "2.8 MB (with tests)">
<!ENTITY sc-qthelp-time "less than 0.1 SBU (with tests)">
]>
<sect2 id="sc-qthelp" xreflabel="sphinxcontrib-qthelp-&sc-qthelp-version;">
2022-10-03 04:50:11 +08:00
<title>Sphinxcontrib-qthelp-&sc-qthelp-version;</title>
2022-10-03 04:50:11 +08:00
<indexterm zone="sc-qthelp">
<primary sortas="a-sphinxcontrib-qthelp">sphinxcontrib-qthelp</primary>
</indexterm>
<sect3 role="package">
2022-10-03 04:50:11 +08:00
<title>Introduction to Sphinxcontrib-qthelp Module</title>
<para>
2022-10-03 04:50:11 +08:00
The <application>Sphinxcontrib-qthelp</application> package is a
<application>Sphinx</application> extension which outputs QtHelp
documents.
</para>
2023-02-15 10:49:41 +08:00
&lfs113_checked;
<bridgehead renderas="sect4">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
2022-10-03 04:50:11 +08:00
Download (HTTP): <ulink url="&sc-qthelp-download-http;"/>
</para>
</listitem>
<listitem>
<para>
2022-10-03 04:50:11 +08:00
Download (FTP): <ulink url="&sc-qthelp-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
2022-10-03 04:50:11 +08:00
Download MD5 sum: &sc-qthelp-md5sum;
</para>
</listitem>
<listitem>
<para>
2022-10-03 04:50:11 +08:00
Download size: &sc-qthelp-size;
</para>
</listitem>
<listitem>
<para>
2022-10-03 04:50:11 +08:00
Estimated disk space required: &sc-qthelp-buildsize;
</para>
</listitem>
<listitem>
<para>
2022-10-03 04:50:11 +08:00
Estimated build time: &sc-qthelp-time;
</para>
</listitem>
</itemizedlist>
2022-10-03 04:50:11 +08:00
<bridgehead renderas="sect4">Sphinxcontrib-qthelp Dependencies</bridgehead>
<bridgehead renderas="sect5">Optional (for testing)</bridgehead>
<para role="optional">
<xref linkend="pytest"/> and
<xref linkend="sphinx"/> (circular dependency)
</para>
</sect3>
<sect3 role="installation">
2022-10-03 04:50:11 +08:00
<title>Installation of Sphinxcontrib-qthelp</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 sphinxcontrib-qthelp</userinput></screen>
<para>
The installation can be tested with the following commands:
</para>
<screen remap="test"><userinput>sed -i 's/text()/read_&amp;/' tests/test_qthelp.py &amp;&amp;
pytest</userinput></screen>
<para>
The <command>sed ...</command> command is needed because of a change
in <application>Sphinx</application> API for versions greater than
5.0.
</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>
2022-10-03 04:50:11 +08:00
<seg>None</seg>
<seg>None</seg>
<seg>
2022-10-03 04:50:11 +08:00
/usr/lib/python&python3-majorver;/site-packages/sphinxcontrib and
2022-10-14 21:03:28 +08:00
/usr/lib/python&python3-majorver;/site-packages/sphinxcontrib_qthelp-&sc-qthelp-version;.dist-info
</seg>
</seglistitem>
</segmentedlist>
2022-10-03 04:50:11 +08:00
</sect3>
</sect2>