source: general/prog/python-modules/pygobject3.xml

trunk
Last change on this file was 8c9f454, checked in by Douglas R. Reno <renodr@…>, 2 weeks ago

Update to pygobject-3.48.2 (Python Module)

  • Property mode set to 100644
File size: 4.7 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 pygobject3-download-http
8 "&gnome-download-http;/pygobject/&gnome-minor-48;/pygobject-&pygobject3-version;.tar.xz">
9 <!ENTITY pygobject3-download-ftp " ">
10 <!ENTITY pygobject3-md5sum "fe1cb825adc8a49d1629b97b7d26dffc">
11 <!ENTITY pygobject3-size "544 KB">
12 <!ENTITY pygobject3-buildsize "7.0 MB (add 2.5 MB for tests)">
13 <!ENTITY pygobject3-time "0.2 SBU (with tests)">
14]>
15
16 <!-- Begin PyGObject3 -->
17 <sect2 id="pygobject3" xreflabel="PyGObject-&pygobject3-version;">
18
19 <title>PyGObject-&pygobject3-version;</title>
20
21 <indexterm zone="pygobject3">
22 <primary sortas="a-PyGObject3">PyGObject3</primary>
23 </indexterm>
24
25 <sect3 role="package">
26 <title>Introduction to PyGObject3 Module</title>
27
28 <para>
29 <application>PyGObject3</application> provides
30 <application>Python</application> bindings to the GObject
31 class from <application>GLib</application>.
32 </para>
33
34 &lfs121_checked;
35
36 <bridgehead renderas="sect4">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&pygobject3-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&pygobject3-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &pygobject3-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &pygobject3-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &pygobject3-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &pygobject3-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect4">PyGObject3 Dependencies</bridgehead>
71
72 <bridgehead renderas="sect5">Required</bridgehead>
73 <para role="required">
74 &gobject-introspection; and
75 <xref linkend="pycairo"/>
76 (<application>Python 3</application> module)
77 </para>
78
79 <bridgehead renderas="sect5">Optional (for the tests)</bridgehead>
80 <para role="optional">
81 <xref linkend="gtk4"/>,
82 <ulink url="https://pypi.python.org/pypi/pep8">pep8</ulink>,
83 <ulink url="https://pypi.python.org/pypi/pyflakes">pyflakes</ulink>, and
84 <xref linkend="pytest"/>
85 </para>
86
87 </sect3>
88
89 <sect3 role="installation">
90 <title>Installation of PyGObject3</title>
91
92 <para>
93 First, remove two faulty tests:
94 </para>
95
96<screen><userinput remap="pre">mv -v tests/test_gdbus.py{,.nouse} &amp;&amp;
97mv -v tests/test_overrides_gtk.py{,.nouse}</userinput></screen>
98
99 <para>
100 Install <application>pygobject3</application> by running the following
101 commands:
102 </para>
103
104<screen><userinput>mkdir build &amp;&amp;
105cd build &amp;&amp;
106
107meson setup --prefix=/usr --buildtype=release .. &amp;&amp;
108ninja</userinput></screen>
109
110 <para>
111 To test the results, issue: <command>ninja test</command>.
112 An already active graphical session with a bus address is necessary
113 to run the tests. <!--One test, <filename>tests/test_gdbus.py</filename>,
114 is known to fail.--> Another round of tests may report ERROR if
115 <xref linkend="gtk4" role="nodep"/> is not installed.
116 </para>
117
118 <para>
119 Now, as the <systemitem class="username">root</systemitem> user:
120 </para>
121
122<screen role="root"><userinput>ninja install</userinput></screen>
123
124 </sect3>
125
126 <sect3 role="commands">
127 <title>Command Explanations</title>
128
129 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
130 href="../../../xincludes/meson-buildtype-release.xml"/>
131 </sect3>
132
133 <sect3 role="content">
134 <title>Contents</title>
135
136 <segmentedlist>
137 <segtitle>Installed Programs</segtitle>
138 <segtitle>Installed Library</segtitle>
139 <segtitle>Installed Directories</segtitle>
140
141 <seglistitem>
142 <seg>
143 None
144 </seg>
145 <seg>
146 /usr/lib/python&python3-majorver;/site-packages/gi/_gi{,_cairo}.&python3-lib-suffix;.so
147 </seg>
148 <seg>
149 /usr/include/pygobject-3.0 and
150 /usr/lib/python&python3-majorver;/site-packages/{gi,pygtkcompat}
151 </seg>
152 </seglistitem>
153 </segmentedlist>
154
155 </sect3>
156
157 </sect2>
Note: See TracBrowser for help on using the repository browser.