Changeset d938ca94 for general/prog


Ignore:
Timestamp:
07/14/2013 11:24:00 PM (11 years ago)
Author:
Krejzi <krejzi@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
d4ccb9c
Parents:
93b8ab7a
Message:

revive pyxdg.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/python-modules.xml

    r93b8ab7a rd938ca94  
    7979  <!ENTITY pyrex-buildsize     "4.0 MB">
    8080  <!ENTITY pyrex-time          "less than 0.1 SBU">
     81
     82  <!ENTITY pyxdg-download-http
     83           "http://people.freedesktop.org/~takluyver/pyxdg-&pyxdg-version;.tar.gz">
     84  <!ENTITY pyxdg-download-ftp  " ">
     85  <!ENTITY pyxdg-md5sum        "bedcdb3a0ed85986d40044c87f23477c">
     86  <!ENTITY pyxdg-size          "48 KB">
     87  <!ENTITY pyxdg-buildsize     "800 KB">
     88  <!ENTITY pyxdg-time          "less than 0.1 SBU">
    8189]>
    8290
     
    152160        </para>
    153161      </listitem>
     162      <listitem>
     163        <para>
     164          <xref linkend="pyxdg"/>
     165        </para>
     166      </listitem>
    154167    </itemizedlist>
    155168  </sect2>
     
    14291442
    14301443<screen role="root"><userinput>python setup.py install</userinput></screen>
    1431     </sect3>
    1432 
    1433     <sect3 role="commands">
    1434       <title>Command Explanations</title>
    1435 
    1436       <para>
    1437         <command>python setup.py install</command>: This command installs
    1438         the package. There are other options available, see
    1439         <command>python setup.py --help-commands</command> for details.
    1440       </para>
    14411444
    14421445    </sect3>
     
    14681471  <!-- End Pyrex -->
    14691472
     1473  <!-- Begin PyXDG -->
     1474  <sect2 id="pyxdg" xreflabel="PyXDG-&pyxdg-version;">
     1475
     1476    <title>PyXDG-&pyxdg-version;</title>
     1477
     1478    <indexterm zone="pyxdg">
     1479      <primary sortas="a-PyXDG">PyXDG</primary>
     1480    </indexterm>
     1481
     1482    <sect3 role="package">
     1483      <title>Introduction to PyXDG Module</title>
     1484
     1485      <para>
     1486        <application>PyXDG</application> is a <application>Python</application>
     1487        library to access freedesktop.org standards.
     1488      </para>
     1489
     1490      &lfs73_checked;
     1491
     1492      <bridgehead renderas="sect4">Package Information</bridgehead>
     1493      <itemizedlist spacing="compact">
     1494        <listitem>
     1495          <para>
     1496            Download (HTTP): <ulink url="&pyxdg-download-http;"/>
     1497          </para>
     1498        </listitem>
     1499        <listitem>
     1500          <para>
     1501            Download (FTP): <ulink url="&pyxdg-download-ftp;"/>
     1502          </para>
     1503        </listitem>
     1504        <listitem>
     1505          <para>
     1506            Download MD5 sum: &pyxdg-md5sum;
     1507          </para>
     1508        </listitem>
     1509        <listitem>
     1510          <para>
     1511            Download size: &pyxdg-size;
     1512          </para>
     1513        </listitem>
     1514        <listitem>
     1515          <para>
     1516            Estimated disk space required: &pyxdg-buildsize;
     1517          </para>
     1518        </listitem>
     1519        <listitem>
     1520          <para>
     1521            Estimated build time: &pyxdg-time;
     1522          </para>
     1523        </listitem>
     1524      </itemizedlist>
     1525
     1526      <bridgehead renderas="sect4">PyXDG Dependencies</bridgehead>
     1527
     1528      <bridgehead renderas="sect5">Required</bridgehead>
     1529      <para role="required">
     1530        <xref linkend="python2"/> and/or
     1531        <xref linkend="python3"/>
     1532      </para>
     1533
     1534      <para condition="html" role="usernotes">
     1535        User Notes: <ulink url="&blfs-wiki;/pyxdg"/>
     1536      </para>
     1537    </sect3>
     1538
     1539    <sect3 role="installation">
     1540      <title>Installation of PyXDG</title>
     1541
     1542      <note>
     1543        <para>
     1544          Both <application>Python 2</application> and
     1545          <application>Python 3</application> modules can
     1546          be built and installed without any conflicts.
     1547        </para>
     1548      </note>
     1549
     1550      <para>
     1551        To install the <application>Python 2</application> module,
     1552        run the following command as the
     1553        <systemitem class="username">root</systemitem> user:
     1554      </para>
     1555
     1556<screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen>
     1557
     1558      <para>
     1559        To install the <application>Python 3</application> module,
     1560        run the following command as the
     1561        <systemitem class="username">root</systemitem> user:
     1562      </para>
     1563
     1564<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
     1565
     1566    </sect3>
     1567
     1568    <sect3 role="content">
     1569      <title>Contents</title>
     1570
     1571      <segmentedlist>
     1572        <segtitle>Installed Directory</segtitle>
     1573
     1574        <seglistitem>
     1575          <seg>
     1576            /usr/lib/python&python2-majorver;/site-packages/xdg and/or
     1577            /usr/lib/python&python3-majorver;/site-packages/xdg
     1578          </seg>
     1579        </seglistitem>
     1580      </segmentedlist>
     1581
     1582    </sect3>
     1583
     1584  </sect2>
     1585  <!--End PyXDG -->
     1586
    14701587</sect1>
Note: See TracChangeset for help on using the changeset viewer.