Author: renodr
Date: Mon Oct 21 10:54:03 2019
New Revision: 22274

Log:
python3: Fix the installation instructions by bumping the major version of 
Python3 to 3.8
python3: Add required dependency on lsb-tools (which doesn't work, but I've 
poked DJ since he's technically upstream)
python3: Update the command explanation for --enable-optimization to use the 
correct location now that it's python3.8
python3: Add commented short description for 2to3 for when python2 is 
eventually phased out
python3: Add new program 'easy_install' and add description.

Modified:
   trunk/BOOK/general/prog/python3.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/packages.ent

Modified: trunk/BOOK/general/prog/python3.xml
==============================================================================
--- trunk/BOOK/general/prog/python3.xml Mon Oct 21 09:20:45 2019        (r22273)
+++ trunk/BOOK/general/prog/python3.xml Mon Oct 21 10:54:03 2019        (r22274)
@@ -85,6 +85,15 @@
 
     <bridgehead renderas="sect3">Python 3 Dependencies</bridgehead>
 
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required">
+      <!-- This is called upon during the installation of setuptools. -->
+      <!-- I've emailed DJ since there is a problem with this, and he is 
+           technically upstream. Since it uses a Python module that isn't 
+           recompiled yet, lsb_release fails to run.-->
+      <xref linkend="lsb-tools"/>
+    </para>
+
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional">
       <xref linkend="bluez"/>,
@@ -194,7 +203,7 @@
     <para>
       <option>--with-lto</option>: This optional switch enables thick Link
       Time Optimization. Unusually, it creates a much larger <filename
-      
class="libraryfile">/usr/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.a</filename>
+      
class="libraryfile">/usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a</filename>
       with a small increase in the time to compile
       <application>Python</application>. Run-time results do not appear to show
       any benefit from doing this.
@@ -236,23 +245,30 @@
 
       <seglistitem>
         <seg>
-          2to3 (symlink),
+          2to3 (symlink) and
           2to3-&python3-majorver;,
 
-          idle3 (symlink), and
-          idle&python3-majorver;
+          easy_install (symlink) and
+          easy_install-&python3-majorver;,
+
+          idle3 (symlink) and
+          idle&python3-majorver;,
 
-          pydoc3 (symlink),
+          pip3 (symlink) and
+          pip&python3-majorver;,
+
+          pydoc3 (symlink) and
           pydoc&python3-majorver;,
 
           python3 (symlink);
-          python&python3-majorver;, 
-
-          python3-config (symlink),
-          python&python3-majorver;-config,
+          python&python3-majorver;, and
 
+          python3-config (symlink) and
+          python&python3-majorver;-config
+          <!--
           pyvenv (symlink),
-          pyvenv-&python3-majorver;,
+          pyvenv-&python3-majorver;
+          -->
         </seg>
         <seg>
           libpython&python3-majorver;.so and libpython3.so
@@ -269,6 +285,32 @@
       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
       <?dbfo list-presentation="list"?>
       <?dbhtml list-presentation="table"?>
+      <!--
+      <varlistentry id="2to3">
+        <term><command>2to3</command></term>
+        <listitem>
+          <para>
+            is designed to assist in the transition between python2 and python3
+            by automatically converting code to be Python3 compatible.
+          </para>
+          <indexterm zone="python3 2to3">
+            <primary sortas="b-2to3">2to3</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+      Put here for easy use when removing Python2 -->
+      <varlistentry id="easy_install">
+        <term><command>easy_install</command></term>
+        <listitem>
+          <para>
+            is a frontend to pip3 to make it easier to configure python modules
+            through the PIP package manager.
+          </para>
+          <indexterm zone="python3 easy_install">
+            <primary sortas="python3 easy_install">easy_install</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
 
       <varlistentry id="idle3">
         <term><command>idle3</command></term>
@@ -324,7 +366,7 @@
           </indexterm>
         </listitem>
       </varlistentry>
-
+      <!--
       <varlistentry id="pyvenv">
         <term><command>pyvenv</command></term>
         <listitem>
@@ -338,7 +380,7 @@
           </indexterm>
         </listitem>
       </varlistentry>
-
+      -->
     </variablelist>
 
   </sect2>

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Mon Oct 21 09:20:45 
2019        (r22273)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Mon Oct 21 10:54:03 
2019        (r22274)
@@ -45,6 +45,10 @@
       <para>October 21st, 2019</para>
       <itemizedlist>
         <listitem>
+          <para>[renodr] - Fix the build instruction for Python-3.8.0 by
+          updating the major version.</para>
+        </listitem>
+        <listitem>
           <para>[renodr] - Update to unrar-5.8.3. Fixes
           <ulink url="&blfs-ticket-root;12673">#12673</ulink>.</para>
         </listitem>

Modified: trunk/BOOK/packages.ent
==============================================================================
--- trunk/BOOK/packages.ent     Mon Oct 21 09:20:45 2019        (r22273)
+++ trunk/BOOK/packages.ent     Mon Oct 21 10:54:03 2019        (r22274)
@@ -356,7 +356,7 @@
 <!ENTITY openjdk-build                "10">
 
 <!ENTITY python2-majorver             "2.7">
-<!ENTITY python3-majorver             "3.7">
+<!ENTITY python3-majorver             "3.8">
 
 <!-- Perl module versions used in the Perl Modules instructions
      Please read the Changes file before updating a module.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to