2024-01-20 05:35:53 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2020-02-06 00:30:05 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2022-09-16 00:18:59 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../../general.ent">
|
2020-02-06 00:30:05 +08:00
|
|
|
%general-entities;
|
|
|
|
|
2023-05-07 18:16:38 +08:00
|
|
|
<!ENTITY dbusmock-download-http "https://files.pythonhosted.org/packages/source/p/python-dbusmock/python-dbusmock-&dbusmock-version;.tar.gz">
|
2020-02-06 00:30:05 +08:00
|
|
|
<!ENTITY dbusmock-download-ftp " ">
|
2024-01-02 09:17:58 +08:00
|
|
|
<!ENTITY dbusmock-md5sum "abe236e9188292d7f3771259c62b5f2f">
|
2023-12-02 06:15:16 +08:00
|
|
|
<!ENTITY dbusmock-size "96 KB">
|
|
|
|
<!ENTITY dbusmock-buildsize "1.6 MB (with tests)">
|
2023-12-25 05:23:19 +08:00
|
|
|
<!ENTITY dbusmock-time "less than 0.1 SBU (add 0.3 SBU for tests)">
|
2020-02-06 00:30:05 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<!-- Begin dbusmock -->
|
|
|
|
<sect2 id="python-dbusmock" xreflabel="dbusmock-&dbusmock-version;">
|
|
|
|
|
|
|
|
<title>dbusmock-&dbusmock-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="python-dbusmock">
|
|
|
|
<primary sortas="a-dbusmock">dbusmock</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect3 role="package">
|
|
|
|
<title>Introduction to dbusmock</title>
|
|
|
|
|
|
|
|
<para>
|
2021-01-05 12:28:23 +08:00
|
|
|
<application>dbusmock</application> is a Python library
|
2020-02-06 00:30:05 +08:00
|
|
|
useful for writing tests for software which talks to D-Bus services.
|
|
|
|
</para>
|
|
|
|
|
2023-08-20 03:58:44 +08:00
|
|
|
&lfs120_checked;
|
2020-02-06 00:30:05 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&dbusmock-download-http;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&dbusmock-download-ftp;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download MD5 sum: &dbusmock-md5sum;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download size: &dbusmock-size;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated disk space required: &dbusmock-buildsize;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated build time: &dbusmock-time;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2020-03-05 17:42:42 +08:00
|
|
|
<bridgehead renderas="sect4">dbusmock Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect5">Required</bridgehead>
|
|
|
|
<para role="required">
|
2022-07-13 20:39:41 +08:00
|
|
|
<xref linkend="dbus-python"/>
|
2020-03-05 17:42:42 +08:00
|
|
|
</para>
|
|
|
|
|
2023-12-02 06:15:16 +08:00
|
|
|
<bridgehead renderas="sect5">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
2024-01-04 01:30:11 +08:00
|
|
|
<xref linkend="pytest"/> (required to run the test suite),
|
2024-01-20 18:43:00 +08:00
|
|
|
<xref linkend="pygobject3"/> (required to run the test suite),
|
|
|
|
<xref linkend="bluez"/> (optional for the test suite), and
|
|
|
|
<xref linkend="upower"/> (optional for the test suite; if not
|
|
|
|
installed one test will fail)
|
2023-12-02 06:15:16 +08:00
|
|
|
</para>
|
|
|
|
|
2020-02-06 00:30:05 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 role="installation">
|
|
|
|
<title>Installation of dbusmock</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Build the package with:
|
|
|
|
</para>
|
|
|
|
|
2023-09-11 07:13:10 +08:00
|
|
|
&build-wheel;
|
2020-02-06 00:30:05 +08:00
|
|
|
|
|
|
|
<para>
|
2022-04-20 10:40:22 +08:00
|
|
|
To install the package run the following as the &root; user:
|
2020-02-06 00:30:05 +08:00
|
|
|
</para>
|
|
|
|
|
2023-09-16 03:20:49 +08:00
|
|
|
<screen role="root"><userinput>&install-wheel; python-dbusmock</userinput></screen>
|
2020-02-06 00:30:05 +08:00
|
|
|
|
2023-12-02 06:15:16 +08:00
|
|
|
<para>
|
2023-12-25 05:23:19 +08:00
|
|
|
To test the results, issue: <command>LC_ALL=C pytest</command>
|
2023-12-02 06:15:16 +08:00
|
|
|
</para>
|
|
|
|
|
2020-02-06 00:30:05 +08:00
|
|
|
</sect3>
|
|
|
|
|
2022-04-20 10:40:22 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2022-09-16 00:18:59 +08:00
|
|
|
href="../../../xincludes/pip3-cmd-explain.xml"/>
|
2022-04-20 10:40:22 +08:00
|
|
|
|
2020-02-06 00:30:05 +08:00
|
|
|
<sect3 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
|
|
|
<seg>
|
2022-04-20 10:40:22 +08:00
|
|
|
None
|
2020-02-06 00:30:05 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2022-04-20 10:40:22 +08:00
|
|
|
/usr/lib/python&python3-majorver;/site-packages/dbusmock and
|
2022-07-21 23:34:12 +08:00
|
|
|
/usr/lib/python&python3-majorver;/site-packages/python_dbusmock-&dbusmock-version;.dist-info
|
2020-02-06 00:30:05 +08:00
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|