Changeset f6ee672


Ignore:
Timestamp:
01/12/2019 09:06:52 PM (5 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.4, 9.0, 9.1, bdubbs/svn, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
9787b95
Parents:
f0cc8f73
Message:

Make coherent dependencies for Python Modules, see ticket #11425

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

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • general/prog/lxml.xml

    rf0cc8f73 rf6ee672  
    7272      <para role="required">
    7373        <xref linkend="libxslt"/>
     74      </para>
     75
     76      <bridgehead renderas="sect5">Recommended</bridgehead>
     77      <para role="recommended">
     78        <xref linkend="python2"/>
    7479      </para>
    7580
  • general/prog/pyatspi2.xml

    rf0cc8f73 rf6ee672  
    1111  <!ENTITY pyatspi2-md5sum        "2b588e226bfce50669ed6466d8a2d3b4">
    1212  <!ENTITY pyatspi2-size          "304 KB">
    13   <!ENTITY pyatspi2-buildsize     "5.1 MB">
     13  <!ENTITY pyatspi2-buildsize     "3.6 MB">
    1414  <!ENTITY pyatspi2-time          "less than 0.1 SBU">
    1515]>
     
    8282      </para>
    8383
     84      <bridgehead renderas="sect5">Optional</bridgehead>
     85      <para role="optional">
     86        <xref linkend="python2"/>
     87      </para>
     88
    8489      <para condition="html" role="usernotes">
    8590        User Notes: <ulink url="&blfs-wiki;/pyatspi2"/>
     
    9196      <title>Installation of PyAtSpi2</title>
    9297
    93       <note>
    94         <para>
    95           Both <application>Python 2</application> and
    96           <application>Python 3</application> modules can
    97           be built and installed without any conflicts.
    98         </para>
    99       </note>
    100 
    10198      <para>
    102         To build <application>PyAtSpi2</application> as the
    103         <application>Python 2</application> module, run the
    104         following commands:
    105       </para>
    106 
    107 <screen><userinput>mkdir python2 &amp;&amp;
    108 pushd python2 &amp;&amp;
    109 ../configure --prefix=/usr --with-python=/usr/bin/python &amp;&amp;
    110 popd</userinput></screen>
    111 
    112       <para>
    113         To build <application>PyAtSpi2</application> as the
     99        To build <application>PyAtSpi2</application> as a
    114100        <application>Python 3</application> module, run the
    115101        following commands:
    116102      </para>
    117103
    118 <screen><userinput>mkdir python3 &amp;&amp;
    119 pushd python3 &amp;&amp;
    120 ../configure --prefix=/usr --with-python=/usr/bin/python3 &amp;&amp;
    121 popd</userinput></screen>
     104<screen><userinput>./configure --prefix=/usr --with-python=/usr/bin/python3</userinput></screen>
    122105
    123106      <para>
    124107        This package does not come with a testsuite.
    125108      </para>
    126 
    127       <para>
    128         To install the <application>Python 2</application> module,
    129         run the following command as the
    130         <systemitem class="username">root</systemitem> user:
    131       </para>
    132 
    133 <screen role="root"><userinput>make -C python2 install</userinput></screen>
    134109
    135110      <para>
     
    139114      </para>
    140115
    141 <screen role="root"><userinput>make -C python3 install</userinput></screen>
     116<screen role="root"><userinput>make install</userinput></screen>
    142117
    143118    </sect3>
  • general/prog/pycrypto.xml

    rf0cc8f73 rf6ee672  
    6969      <bridgehead renderas="sect4">PyCrypto Dependencies</bridgehead>
    7070
    71       <bridgehead renderas="sect5">Optional</bridgehead>
    72       <para role="optional">
     71      <bridgehead renderas="sect5">Recommended</bridgehead>
     72      <para role="recommended">
    7373        <xref linkend="python2"/>
    7474      </para>
  • general/prog/pygobject2.xml

    rf0cc8f73 rf6ee672  
    8383      <bridgehead renderas="sect5">Required</bridgehead>
    8484      <para role="required">
    85         <xref linkend="glib2"/> and
    86         <xref linkend="pycairo"/> (Python 2)
     85        <xref linkend="glib2"/>,
     86        <xref linkend="pycairo"/> (Python 2), and
     87        <xref linkend="python2"/>
    8788      </para>
    8889
  • general/prog/pygtk.xml

    rf0cc8f73 rf6ee672  
    7272      <bridgehead renderas="sect5">Required</bridgehead>
    7373      <para role="required">
    74         <xref linkend="pygobject2"/>
     74        <xref linkend="pygobject2"/> and
     75        <xref linkend="python2"/>
    7576      </para>
    7677
  • general/prog/pyxdg.xml

    rf0cc8f73 rf6ee672  
    8282      <title>Installation of PyXDG</title>
    8383
    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 
    9284<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
    9385
    9486      <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
     87        To install the module, run the following command as the
    10588        <systemitem class="username">root</systemitem> user:
    10689      </para>
     
    118101        <seglistitem>
    119102          <seg>
    120             /usr/lib/python&python2-majorver;/site-packages/xdg and/or
    121103            /usr/lib/python&python3-majorver;/site-packages/xdg
    122104          </seg>
  • general/prog/scour.xml

    rf0cc8f73 rf6ee672  
    9797      <title>Installation of scour</title>
    9898
     99
    99100      <note>
    100101        <para>
    101           Although this package installs modules for <application>Python
    102           2</application> <emphasis>or</emphasis> <application>Python
    103           3</application> they are usually invoked by <command>scour</command>
    104           which is a script using the version of
    105           <application>Python</application> for which it was compiled.
    106         </para>
    107 
    108         <para>
    109           For the moment, use of <application>Python 2</application> will
    110           normally be adequate.
     102          Both <application>Python 2</application> and
     103          <application>Python 3</application> modules can
     104          be built and installed without any conflicts.
    111105        </para>
    112106      </note>
    113107
    114 <!-- Editors note: Use \-\-root= instead of DESTDIR= when updating. -->
     108<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
    115109
    116110      <para>
    117         To build the <application>Python 2</application> module, issue:
     111        To build the <application>Python 2</application> module,
     112        run the following command:
    118113      </para>
    119114
     
    134129<screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen>
    135130
    136       <note>
    137         <para>
    138           If you wish to install the <application>Python 3</application>
    139           modules, change 'python' to 'python3' in each of the above steps.
    140         </para>
    141       </note>
     131      <para>
     132        To build the <application>Python 3</application> module,
     133        run the following command:
     134      </para>
     135
     136<screen><userinput>python3 setup.py build</userinput></screen>
     137
     138      <para>
     139        To install the <application>Python 3</application> module,
     140        run the following command as the
     141        <systemitem class="username">root</systemitem> user:
     142      </para>
     143
     144<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
    142145
    143146    </sect3>
  • introduction/welcome/changelog.xml

    rf0cc8f73 rf6ee672  
    5151        </listitem>
    5252        <listitem>
     53          <para>[pierre] - Finish refactoring of the Python modules page:
     54              pyatspi2: only P3, pycrypto: make P2 recommended,
     55              pygobject2: make P2 required,
     56              pygtk: make P2 required,
     57              pyxdg: only P3,
     58              lxml: make P2 recommended,
     59              scour: make P2 recommended and add P3 instructions. Fixes
     60              <ulink url="&blfs-ticket-root;11425">#11425</ulink>.</para>
     61        </listitem>
     62        <listitem>
    5363          <para>[renodr] - Update to gnome-terminal-3.30.2. Partially fixes
    5464          <ulink url="&blfs-ticket-root;11091">#11091</ulink>.</para>
Note: See TracChangeset for help on using the changeset viewer.