[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[10092cde] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[5fe69261] | 4 | <!ENTITY % general-entities SYSTEM "../../../general.ent">
|
---|
[10092cde] | 5 | %general-entities;
|
---|
| 6 |
|
---|
[ecc02fe0] | 7 | <!ENTITY dbusmock-download-http "https://files.pythonhosted.org/packages/source/p/python-dbusmock/python-dbusmock-&dbusmock-version;.tar.gz">
|
---|
[10092cde] | 8 | <!ENTITY dbusmock-download-ftp " ">
|
---|
[3b581dd] | 9 | <!ENTITY dbusmock-md5sum "4fb77cc04a4c5d84e4975ca760f93ae8">
|
---|
[8764b88] | 10 | <!ENTITY dbusmock-size "104 KB">
|
---|
[3b581dd] | 11 | <!ENTITY dbusmock-buildsize "1.1 MB (with tests)">
|
---|
[8364a13a] | 12 | <!ENTITY dbusmock-time "less than 0.1 SBU (add 0.3 SBU for tests)">
|
---|
[10092cde] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <!-- Begin dbusmock -->
|
---|
| 16 | <sect2 id="python-dbusmock" xreflabel="dbusmock-&dbusmock-version;">
|
---|
| 17 |
|
---|
| 18 | <title>dbusmock-&dbusmock-version;</title>
|
---|
| 19 |
|
---|
| 20 | <indexterm zone="python-dbusmock">
|
---|
| 21 | <primary sortas="a-dbusmock">dbusmock</primary>
|
---|
| 22 | </indexterm>
|
---|
| 23 |
|
---|
| 24 | <sect3 role="package">
|
---|
| 25 | <title>Introduction to dbusmock</title>
|
---|
| 26 |
|
---|
| 27 | <para>
|
---|
[9ade54a3] | 28 | <application>dbusmock</application> is a Python library
|
---|
[10092cde] | 29 | useful for writing tests for software which talks to D-Bus services.
|
---|
| 30 | </para>
|
---|
| 31 |
|
---|
[f822342] | 32 | &lfs122_checked;
|
---|
[10092cde] | 33 |
|
---|
| 34 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 35 | <itemizedlist spacing="compact">
|
---|
| 36 | <listitem>
|
---|
| 37 | <para>
|
---|
| 38 | Download (HTTP): <ulink url="&dbusmock-download-http;"/>
|
---|
| 39 | </para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (FTP): <ulink url="&dbusmock-download-ftp;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download MD5 sum: &dbusmock-md5sum;
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download size: &dbusmock-size;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Estimated disk space required: &dbusmock-buildsize;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated build time: &dbusmock-time;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | </itemizedlist>
|
---|
| 67 |
|
---|
[7afb0994] | 68 | <bridgehead renderas="sect4">dbusmock Dependencies</bridgehead>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 71 | <para role="required">
|
---|
[79e8b54] | 72 | <xref linkend="dbus-python"/>
|
---|
[7afb0994] | 73 | </para>
|
---|
| 74 |
|
---|
[16be91a] | 75 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
| 76 | <para role="optional">
|
---|
[8a09beb] | 77 | <xref linkend="pytest"/> (required to run the test suite),
|
---|
[6fa3e04] | 78 | <xref linkend="pygobject3"/> (required to run the test suite),
|
---|
| 79 | <xref linkend="bluez"/> (optional for the test suite), and
|
---|
| 80 | <xref linkend="upower"/> (optional for the test suite; if not
|
---|
| 81 | installed one test will fail)
|
---|
[16be91a] | 82 | </para>
|
---|
| 83 |
|
---|
[10092cde] | 84 | </sect3>
|
---|
| 85 |
|
---|
| 86 | <sect3 role="installation">
|
---|
| 87 | <title>Installation of dbusmock</title>
|
---|
| 88 |
|
---|
| 89 | <para>
|
---|
| 90 | Build the package with:
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
[db244ae2] | 93 | &build-wheel;
|
---|
[10092cde] | 94 |
|
---|
| 95 | <para>
|
---|
[3d8324c4] | 96 | To install the package run the following as the &root; user:
|
---|
[10092cde] | 97 | </para>
|
---|
| 98 |
|
---|
[f71b76a9] | 99 | <screen role="root"><userinput>&install-wheel; python-dbusmock</userinput></screen>
|
---|
[10092cde] | 100 |
|
---|
[16be91a] | 101 | <para>
|
---|
[8364a13a] | 102 | To test the results, issue: <command>LC_ALL=C pytest</command>
|
---|
[16be91a] | 103 | </para>
|
---|
| 104 |
|
---|
[10092cde] | 105 | </sect3>
|
---|
| 106 |
|
---|
[3d8324c4] | 107 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[5fe69261] | 108 | href="../../../xincludes/pip3-cmd-explain.xml"/>
|
---|
[3d8324c4] | 109 |
|
---|
[10092cde] | 110 | <sect3 role="content">
|
---|
| 111 | <title>Contents</title>
|
---|
| 112 |
|
---|
| 113 | <segmentedlist>
|
---|
| 114 | <segtitle>Installed Programs</segtitle>
|
---|
| 115 | <segtitle>Installed Libraries</segtitle>
|
---|
| 116 | <segtitle>Installed Directories</segtitle>
|
---|
| 117 |
|
---|
| 118 | <seglistitem>
|
---|
| 119 | <seg>
|
---|
| 120 | None
|
---|
| 121 | </seg>
|
---|
| 122 | <seg>
|
---|
[3d8324c4] | 123 | None
|
---|
[10092cde] | 124 | </seg>
|
---|
| 125 | <seg>
|
---|
[3d8324c4] | 126 | /usr/lib/python&python3-majorver;/site-packages/dbusmock and
|
---|
[99ae2600] | 127 | /usr/lib/python&python3-majorver;/site-packages/python_dbusmock-&dbusmock-version;.dist-info
|
---|
[10092cde] | 128 | </seg>
|
---|
| 129 | </seglistitem>
|
---|
| 130 | </segmentedlist>
|
---|
| 131 |
|
---|
| 132 | </sect3>
|
---|
| 133 |
|
---|
| 134 | </sect2>
|
---|