source: general/prog/python-modules/python-dbusmock.xml@ 8a09beb

12.1 12.2 gimp3 ken/TL2024 lazarus plabs/newcss rahul/power-profiles-daemon trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128
Last change on this file since 8a09beb was 8a09beb, checked in by Douglas R. Reno <renodr@…>, 9 months ago

python-dbusmock: Add additional optional test dependencies

If UPower and Bluez are present, it will run additional tests using
those.

  • Property mode set to 100644
File size: 3.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../../general.ent">
5 %general-entities;
6
7 <!ENTITY dbusmock-download-http "https://files.pythonhosted.org/packages/source/p/python-dbusmock/python-dbusmock-&dbusmock-version;.tar.gz">
8 <!ENTITY dbusmock-download-ftp " ">
9 <!ENTITY dbusmock-md5sum "abe236e9188292d7f3771259c62b5f2f">
10 <!ENTITY dbusmock-size "96 KB">
11 <!ENTITY dbusmock-buildsize "1.6 MB (with tests)">
12 <!ENTITY dbusmock-time "less than 0.1 SBU (add 0.3 SBU for tests)">
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>
28 <application>dbusmock</application> is a Python library
29 useful for writing tests for software which talks to D-Bus services.
30 </para>
31
32 &lfs120_checked;
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
68 <bridgehead renderas="sect4">dbusmock Dependencies</bridgehead>
69
70 <bridgehead renderas="sect5">Required</bridgehead>
71 <para role="required">
72 <xref linkend="dbus-python"/>
73 </para>
74
75 <bridgehead renderas="sect5">Optional</bridgehead>
76 <para role="optional">
77 <xref linkend="pytest"/> (required to run the test suite),
78 <xref linkend="bluez"/> and <xref linkend="upower"/> (optional for
79 the test suite)
80 </para>
81
82 </sect3>
83
84 <sect3 role="installation">
85 <title>Installation of dbusmock</title>
86
87 <para>
88 Build the package with:
89 </para>
90
91&build-wheel;
92
93 <para>
94 To install the package run the following as the &root; user:
95 </para>
96
97<screen role="root"><userinput>&install-wheel; python-dbusmock</userinput></screen>
98
99 <para>
100 To test the results, issue: <command>LC_ALL=C pytest</command>
101 </para>
102
103 </sect3>
104
105 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
106 href="../../../xincludes/pip3-cmd-explain.xml"/>
107
108 <sect3 role="content">
109 <title>Contents</title>
110
111 <segmentedlist>
112 <segtitle>Installed Programs</segtitle>
113 <segtitle>Installed Libraries</segtitle>
114 <segtitle>Installed Directories</segtitle>
115
116 <seglistitem>
117 <seg>
118 None
119 </seg>
120 <seg>
121 None
122 </seg>
123 <seg>
124 /usr/lib/python&python3-majorver;/site-packages/dbusmock and
125 /usr/lib/python&python3-majorver;/site-packages/python_dbusmock-&dbusmock-version;.dist-info
126 </seg>
127 </seglistitem>
128 </segmentedlist>
129
130 </sect3>
131
132 </sect2>
Note: See TracBrowser for help on using the repository browser.