source: general/prog/pycairo.xml@ eab496c5

10.0 10.1 11.0 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind ken/refactor-virt lazarus perl-modules qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since eab496c5 was eab496c5, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Update to pycairo-1.16.2
Tag python modules and dependencies

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19798 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.3 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 pycairo-download-http "https://github.com/pygobject/pycairo/releases/download/v&pycairo-version;/pycairo-&pycairo-version;.tar.gz">
8 <!ENTITY pycairo-download-ftp " ">
9 <!ENTITY pycairo-md5sum "35d36af2e095f0c6ded33fd4141223ed">
10 <!ENTITY pycairo-size "180 KB">
11 <!ENTITY pycairo-buildsize "4.5 MB">
12 <!ENTITY pycairo-time "less than 0.1 SBU">
13]>
14
15 <!-- Begin PyCairo -->
16 <sect2 id="pycairo" xreflabel="PyCairo-&pycairo-version;">
17
18 <title>PyCairo-&pycairo-version;</title>
19
20 <indexterm zone="pycairo">
21 <primary sortas="a-PyCairo">PyCairo</primary>
22 </indexterm>
23
24 <sect3 role="package">
25 <title>Introduction to PyCairo Module</title>
26
27 <para>
28 PyCairo provides <application>Python</application> bindings to
29 <application>Cairo</application>.
30 </para>
31
32 &lfs82_checked;
33 <!-- Does not use gcc -->
34
35 <bridgehead renderas="sect4">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&pycairo-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&pycairo-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &pycairo-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &pycairo-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &pycairo-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &pycairo-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect4">PyCairo Dependencies</bridgehead>
70
71 <bridgehead renderas="sect5">Required</bridgehead>
72 <para role="required">
73 <xref linkend="cairo"/>
74 </para>
75
76 <bridgehead renderas="sect5">Optional</bridgehead>
77 <para role="optional">
78 <xref linkend="python2"/> and
79 <ulink url="https://hypothesis.readthedocs.io">Hypothesis</ulink>
80 (for tests)
81 </para>
82
83 <para condition="html" role="usernotes">
84 User Notes: <ulink url="&blfs-wiki;/pycairo"/>
85 </para>
86 </sect3>
87
88 <sect3 role="installation">
89 <title>Installation of PyCairo</title>
90
91 <para>
92 Install <application>PyCairo</application> for Python2 by running
93 the following commands:
94 </para>
95
96<screen><userinput>python2 setup.py build</userinput></screen>
97
98 <para>
99 This package does not come with a test suite.
100 </para>
101
102 <para>
103 Now, as the <systemitem class="username">root</systemitem> user:
104 </para>
105
106<screen role="root"><userinput>python2 setup.py install --optimize=1</userinput></screen>
107
108 <para>
109 Install <application>PyCairo</application> for Python3 by running
110 the following commands:
111 </para>
112
113<screen><userinput>python3 setup.py build</userinput></screen>
114
115 <para>
116 This package does not come with a test suite.
117 </para>
118
119 <para>
120 Now, as the <systemitem class="username">root</systemitem> user:
121 </para>
122
123<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
124
125 </sect3>
126
127 <sect3 role="content">
128 <title>Contents</title>
129
130 <segmentedlist>
131 <segtitle>Installed Programs</segtitle>
132 <segtitle>Installed Libraries</segtitle>
133 <segtitle>Installed Directories</segtitle>
134
135 <seglistitem>
136 <seg>
137 None
138 </seg>
139 <seg>
140 _cairo.so (python2) and
141 _cairo.cpython-36m-x86_64-linux-gnu.so (python3)
142 </seg>
143 <seg>
144 /usr/lib/python&python2-majorver;/site-packages/cairo and
145 /usr/lib/python&python3-majorver;/site-packages/cairo
146 </seg>
147 </seglistitem>
148 </segmentedlist>
149 </sect3>
150 </sect2>
151 <!-- End PyCairo -->
Note: See TracBrowser for help on using the repository browser.