glfs/general/prog/pyxdg.xml

118 lines
3.3 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY pyxdg-download-http
"https://files.pythonhosted.org/packages/b0/25/7998cd2dec731acbd438fbf91bc619603fc5188de0a9a17699a781840452/pyxdg-&pyxdg-version;.tar.gz">
<!ENTITY pyxdg-download-ftp " ">
<!ENTITY pyxdg-md5sum "d9a1d04fe60c956f5e3b9de3b4ef4722">
<!ENTITY pyxdg-size "76 KB">
<!ENTITY pyxdg-buildsize "808 KB">
<!ENTITY pyxdg-time "less than 0.1 SBU">
]>
<!-- Begin PyXDG -->
<sect2 id="pyxdg" xreflabel="PyXDG-&pyxdg-version;">
<title>PyXDG-&pyxdg-version;</title>
<indexterm zone="pyxdg">
<primary sortas="a-PyXDG">PyXDG</primary>
</indexterm>
<sect3 role="package">
<title>Introduction to PyXDG Module</title>
<para>
<application>PyXDG</application> is a <application>Python</application>
library to access freedesktop.org standards.
</para>
&lfs112_checked;
<bridgehead renderas="sect4">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&pyxdg-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&pyxdg-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &pyxdg-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &pyxdg-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &pyxdg-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &pyxdg-time;
</para>
</listitem>
</itemizedlist>
<!--
<bridgehead renderas="sect4">PyXDG Dependencies</bridgehead>
<bridgehead renderas="sect5">Optional</bridgehead>
<para role="optional">
<xref linkend="python2"/>
</para>
-->
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/pyxdg"/>
</para>
</sect3>
<sect3 role="installation">
<title>Installation of PyXDG</title>
<para>
Build the module:
</para>
<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
<para>
Install the module as the &root; user:
</para>
<screen role='root'><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user pyxdg</userinput></screen>
</sect3>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/pip3-cmd-explain.xml"/>
<sect3 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
/usr/lib/python&python3-majorver;/site-packages/xdg and
/usr/lib/python&python3-majorver;/site-packages/pyxdg-&pyxdg-version;.dist-info
</seg>
</seglistitem>
</segmentedlist>
</sect3>
</sect2>