Changeset 83f69e5d


Ignore:
Timestamp:
05/05/2005 08:01:37 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.1, 11.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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, ken/refactor-virt, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
b737d71
Parents:
4f9811f
Message:

Tagged prog.xml

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/python.xml

    r4f9811f r83f69e5d  
    55  %general-entities;
    66
    7 <!ENTITY python-download-http "http://www.python.org/ftp/python/&Python-version;/Python-&Python-version;.tar.bz2">
    8 <!ENTITY python-download-ftp "ftp://ftp.python.org/pub/python/&Python-version;/Python-&Python-version;.tar.bz2">
    9 <!ENTITY python-md5sum "de3e9a8836fab6df7c7ce545331afeb3">
    10 <!ENTITY python-size "7.8 MB">
    11 <!ENTITY python-buildsize "115 MB">
    12 <!ENTITY python-time "0.91 SBU (additional 2.20 SBU to run the testsuite)">
     7  <!ENTITY python-download-http "http://www.python.org/ftp/python/&Python-version;/Python-&Python-version;.tar.bz2">
     8  <!ENTITY python-download-ftp "ftp://ftp.python.org/pub/python/&Python-version;/Python-&Python-version;.tar.bz2">
     9  <!ENTITY python-md5sum "de3e9a8836fab6df7c7ce545331afeb3">
     10  <!ENTITY python-size "7.8 MB">
     11  <!ENTITY python-buildsize "115 MB">
     12  <!ENTITY python-time "0.91 SBU (additional 2.20 SBU to run the testsuite)">
    1313]>
    1414
    1515<sect1 id="python" xreflabel="Python-&Python-version;">
    16 <sect1info>
    17 <othername>$LastChangedBy$</othername>
    18 <date>$Date$</date>
    19 </sect1info>
    20 <?dbhtml filename="Python.html" ?>
    21 <title>Python-&Python-version;</title>
    22 <indexterm zone="python">
    23 <primary sortas="a-Python">Python</primary></indexterm>
     16  <?dbhtml filename="Python.html" ?>
    2417
    25 <sect2>
    26 <title>Introduction to <application>Python</application></title>
     18  <sect1info>
     19    <othername>$LastChangedBy$</othername>
     20    <date>$Date$</date>
     21  </sect1info>
    2722
    28 <para>The <application>Python</application> package contains the
    29 <application>Python</application> development environment.
    30 This is useful for object-oriented programming, writing scripts,
    31 prototyping large programs or developing entire applications.</para>
     23  <title>Python-&Python-version;</title>
    3224
    33 <sect3><title>Package information</title>
    34 <itemizedlist spacing='compact'>
    35 <listitem><para>Download (HTTP):
    36 <ulink url="&python-download-http;"/></para></listitem>
    37 <listitem><para>Download (FTP):
    38 <ulink url="&python-download-ftp;"/></para></listitem>
    39 <listitem><para>Download MD5 sum: &python-md5sum;</para></listitem>
    40 <listitem><para>Download size: &python-size;</para></listitem>
    41 <listitem><para>Estimated disk space required:
    42 &python-buildsize;</para></listitem>
    43 <listitem><para>Estimated build time:
    44 &python-time;</para></listitem></itemizedlist>
    45 </sect3>
     25  <indexterm zone="python">
     26    <primary sortas="a-Python">Python</primary>
     27  </indexterm>
    4628
    47 <sect3><title>Additional downloads</title>
    48 <itemizedlist spacing='compact'>
    49 <listitem><para>Required patch: <ulink
    50 url="&patch-root;/Python-&Python-version;-gdbm-1.patch"/></para></listitem>
    51 </itemizedlist>
    52 </sect3>
     29  <sect2 role="package">
     30    <title>Introduction to Python</title>
    5331
    54 <sect3><title><application>Python</application> dependencies</title>
    55 <sect4><title>Optional</title>
    56 <para><xref linkend="openssl"/>,
    57 <xref linkend="tk"/>,
    58 <xref linkend="gdbm"/> and
    59 <xref linkend="db"/></para>
    60 </sect4>
    61 </sect3>
     32    <para>The <application>Python</application> package contains the
     33    <application>Python</application> development environment.
     34    This is useful for object-oriented programming, writing scripts,
     35    prototyping large programs or developing entire applications.</para>
    6236
    63 </sect2>
     37    <bridgehead renderas="sect3">Package Information</bridgehead>
     38    <itemizedlist spacing="compact">
     39      <listitem>
     40        <para>Download (HTTP): <ulink url="&python-download-http;"/></para>
     41      </listitem>
     42      <listitem>
     43        <para>Download (FTP): <ulink url="&python-download-ftp;"/></para>
     44      </listitem>
     45      <listitem>
     46        <para>Download MD5 sum: &python-md5sum;</para>
     47      </listitem>
     48      <listitem>
     49        <para>Download size: &python-size;</para>
     50      </listitem>
     51      <listitem>
     52        <para>Estimated disk space required: &python-buildsize;</para>
     53      </listitem>
     54      <listitem>
     55        <para>Estimated build time: &python-time;</para>
     56      </listitem>
     57    </itemizedlist>
    6458
    65 <sect2>
    66 <title>Installation of <application>Python</application></title>
     59    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     60    <itemizedlist spacing='compact'>
     61      <listitem>
     62        <para>Required patch: <ulink
     63        url="&patch-root;/Python-&Python-version;-gdbm-1.patch"/></para>
     64      </listitem>
     65    </itemizedlist>
    6766
    68 <para>Install <application>Python</application> by running the following
    69 commands:</para>
     67    <bridgehead renderas="sect3">Python Dependencies</bridgehead>
    7068
    71 <screen><userinput><command>patch -Np1 -i ../Python-&Python-version;-gdbm-1.patch &amp;&amp;
     69    <bridgehead renderas="sect4">Optional</bridgehead>
     70    <para><xref linkend="openssl"/>,
     71    <xref linkend="tk"/>,
     72    <xref linkend="gdbm"/> and
     73    <xref linkend="db"/></para>
     74
     75  </sect2>
     76
     77  <sect2 role="installation">
     78    <title>Installation of Python</title>
     79
     80    <para>Install <application>Python</application> by running the following
     81    commands:</para>
     82
     83<screen><userinput>patch -Np1 -i ../Python-&Python-version;-gdbm-1.patch &amp;&amp;
    7284./configure --prefix=/usr --enable-shared &amp;&amp;
    73 make</command></userinput></screen>
     85make</userinput></screen>
    7486
    75 <para>To test the results, issue: <command>make test</command>.</para>
     87    <para>To test the results, issue: <command>make test</command>.</para>
    7688
    77 <para>Now, as the root user:</para>
     89    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    7890
    79 <screen><userinput role='root'><command>make install</command></userinput></screen>
     91<screen role="root"><userinput>make install</userinput></screen>
    8092
    81 <note><para>There is no documentation installed using the instructions above.
    82 However, There are Latex sources included with the distribution. See the
    83 <filename>Doc/README</filename> file in the source distribution for
    84 instructions to format the LaTex sources. Alternatively, you can download
    85 preformatted documentation from
    86 <ulink url="http://www.python.org/doc/current/download.html"/>.</para></note>
     93    <note>
     94      <para>There is no documentation installed using the instructions above.
     95      However, There are Latex sources included with the distribution. See the
     96      <filename>Doc/README</filename> file in the source distribution for
     97      instructions to format the LaTex sources. Alternatively, you can download
     98      preformatted documentation from
     99      <ulink url="http://www.python.org/doc/current/download.html"/>.</para>
     100    </note>
    87101
    88 </sect2>
     102  </sect2>
    89103
    90 <sect2>
    91 <title>Contents</title>
     104  <sect2 role="content">
     105    <title>Contents</title>
    92106
    93 <segmentedlist>
    94 <segtitle>Installed Programs</segtitle>
    95 <segtitle>Installed Libraries</segtitle>
    96 <segtitle>Installed Directories</segtitle>
     107    <segmentedlist>
     108      <segtitle>Installed Programs</segtitle>
     109      <segtitle>Installed Libraries</segtitle>
     110      <segtitle>Installed Directories</segtitle>
    97111
    98 <seglistitem>
    99 <seg>pydoc, python, python2.4, smtpd.py and optionally if
    100 <application>Tk</application> is installed, idle</seg>
    101 <seg>libpython2.4.so and numerous modules installed in
    102 /usr/lib/python2.4/lib-dynload</seg>
    103 <seg>/usr/include/python2.4 and /usr/lib/python2.4</seg>
    104 </seglistitem>
    105 </segmentedlist>
     112      <seglistitem>
     113        <seg>pydoc, python, python2.4, smtpd.py, and optionally if
     114        <application>Tk</application> is installed, idle</seg>
     115        <seg>libpython2.4.so and numerous modules installed in
     116        /usr/lib/python2.4/lib-dynload</seg>
     117        <seg>/usr/include/python2.4 and /usr/lib/python2.4</seg>
     118      </seglistitem>
     119    </segmentedlist>
    106120
    107 <variablelist>
    108 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
    109 <?dbfo list-presentation="list"?>
     121    <variablelist>
     122      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
     123      <?dbfo list-presentation="list"?>
     124      <?dbhtml list-presentation="table"?>
    110125
    111 <varlistentry id="idle">
    112 <term><command>idle</command></term>
    113 <listitem><para>is a wrapper script that opens a
    114 <application>Python</application> aware <acronym>GUI</acronym> editor.</para>
    115 <indexterm zone="python idle">
    116 <primary sortas="b-idle">idle</primary>
    117 </indexterm></listitem>
    118 </varlistentry>
     126      <varlistentry id="idle">
     127        <term><command>idle</command></term>
     128        <listitem>
     129          <para>is a wrapper script that opens a
     130          <application>Python</application> aware GUI editor.</para>
     131          <indexterm zone="python idle">
     132            <primary sortas="b-idle">idle</primary>
     133          </indexterm>
     134        </listitem>
     135      </varlistentry>
    119136
    120 <varlistentry id="pydoc">
    121 <term><command>pydoc</command></term>
    122 <listitem><para>is the <application>Python</application> documentation
    123 tool.</para>
    124 <indexterm zone="python pydoc">
    125 <primary sortas="b-pydoc">pydoc</primary>
    126 </indexterm></listitem>
    127 </varlistentry>
     137      <varlistentry id="pydoc">
     138        <term><command>pydoc</command></term>
     139        <listitem>
     140          <para>is the <application>Python</application> documentation
     141          tool.</para>
     142          <indexterm zone="python pydoc">
     143            <primary sortas="b-pydoc">pydoc</primary>
     144          </indexterm>
     145        </listitem>
     146      </varlistentry>
    128147
    129 <varlistentry id="python-prog">
    130 <term><command>python</command></term>
    131 <listitem><para>is an interpreted, interactive, object-oriented programming
    132 language.</para>
    133 <indexterm zone="python python-prog">
    134 <primary sortas="b-python">python</primary>
    135 </indexterm></listitem>
    136 </varlistentry>
     148      <varlistentry id="python-prog">
     149        <term><command>python</command></term>
     150        <listitem>
     151          <para>is an interpreted, interactive, object-oriented programming
     152          language.</para>
     153          <indexterm zone="python python-prog">
     154            <primary sortas="b-python">python</primary>
     155          </indexterm>
     156        </listitem>
     157      </varlistentry>
    137158
    138 <varlistentry id="python2.4">
    139 <term><command>python2.4</command></term>
    140 <listitem><para>is a version-specific name for the <command>python</command>
    141 program.</para>
    142 <indexterm zone="python python2.4">
    143 <primary sortas="b-python2.4">python2.4</primary>
    144 </indexterm></listitem>
    145 </varlistentry>
     159      <varlistentry id="python2.4">
     160        <term><command>python2.4</command></term>
     161        <listitem>
     162          <para>is a version-specific name for the <command>python</command>
     163          program.</para>
     164          <indexterm zone="python python2.4">
     165            <primary sortas="b-python2.4">python2.4</primary>
     166          </indexterm>
     167        </listitem>
     168      </varlistentry>
    146169
    147 <varlistentry id="smtpd.py">
    148 <term><command>smtpd.py</command></term>
    149 <listitem><para>is an <acronym>SMTP</acronym> proxy implemented in
    150 <application>Python</application>.</para>
    151 <indexterm zone="python smtpd.py">
    152 <primary sortas="b-smtpd.py">smtpd.py</primary>
    153 </indexterm></listitem>
    154 </varlistentry>
    155 </variablelist>
     170      <varlistentry id="smtpd.py">
     171        <term><command>smtpd.py</command></term>
     172        <listitem>
     173          <para>is an SMTP proxy implemented in
     174          <application>Python</application>.</para>
     175          <indexterm zone="python smtpd.py">
     176            <primary sortas="b-smtpd.py">smtpd.py</primary>
     177          </indexterm>
     178        </listitem>
     179      </varlistentry>
    156180
    157 </sect2>
     181    </variablelist>
     182
     183  </sect2>
    158184
    159185</sect1>
Note: See TracChangeset for help on using the changeset viewer.