source: general/prog/pyxdg.xml@ b65c42a

perl-modules
Last change on this file since b65c42a was d47ad20c, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to latest snapshot x264-snapshot-20180819-2245-stable.
Tags

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

  • Property mode set to 100644
File size: 3.6 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 pyxdg-download-http
8 "https://people.freedesktop.org/~takluyver/pyxdg-&pyxdg-version;.tar.gz">
9 <!ENTITY pyxdg-download-ftp " ">
10 <!ENTITY pyxdg-md5sum "bedcdb3a0ed85986d40044c87f23477c">
11 <!ENTITY pyxdg-size "48 KB">
12 <!ENTITY pyxdg-buildsize "800 KB">
13 <!ENTITY pyxdg-time "less than 0.1 SBU">
14]>
15
16 <!-- Begin PyXDG -->
17 <sect2 id="pyxdg" xreflabel="PyXDG-&pyxdg-version;">
18
19 <title>PyXDG-&pyxdg-version;</title>
20
21 <indexterm zone="pyxdg">
22 <primary sortas="a-PyXDG">PyXDG</primary>
23 </indexterm>
24
25 <sect3 role="package">
26 <title>Introduction to PyXDG Module</title>
27
28 <para>
29 <application>PyXDG</application> is a <application>Python</application>
30 library to access freedesktop.org standards.
31 </para>
32
33 &lfs83_checked;
34
35 <bridgehead renderas="sect4">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&pyxdg-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&pyxdg-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &pyxdg-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &pyxdg-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &pyxdg-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &pyxdg-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect4">PyXDG Dependencies</bridgehead>
70
71 <bridgehead renderas="sect5">Optional</bridgehead>
72 <para role="optional">
73 <xref linkend="python2"/>
74 </para>
75
76 <para condition="html" role="usernotes">
77 User Notes: <ulink url="&blfs-wiki;/pyxdg"/>
78 </para>
79 </sect3>
80
81 <sect3 role="installation">
82 <title>Installation of PyXDG</title>
83
84 <note>
85 <para>
86 Both <application>Python 2</application> and
87 <application>Python 3</application> modules can
88 be built and installed without any conflicts.
89 </para>
90 </note>
91
92<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
93
94 <para>
95 To install the <application>Python 2</application> module,
96 run the following command as the
97 <systemitem class="username">root</systemitem> user:
98 </para>
99
100<screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen>
101
102 <para>
103 To install the <application>Python 3</application> module,
104 run the following command as the
105 <systemitem class="username">root</systemitem> user:
106 </para>
107
108<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
109
110 </sect3>
111
112 <sect3 role="content">
113 <title>Contents</title>
114
115 <segmentedlist>
116 <segtitle>Installed Directory</segtitle>
117
118 <seglistitem>
119 <seg>
120 /usr/lib/python&python2-majorver;/site-packages/xdg and/or
121 /usr/lib/python&python3-majorver;/site-packages/xdg
122 </seg>
123 </seglistitem>
124 </segmentedlist>
125
126 </sect3>
127
128 </sect2>
129 <!--End PyXDG -->
Note: See TracBrowser for help on using the repository browser.