Ignore:
Timestamp:
10/23/2020 08:30:46 PM (4 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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:
a10e20c
Parents:
758f3f6
Message:

Fix test broken test commands in scour, and remove its python2 module since inkscape works with the python3 module.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/scour.xml

    r758f3f6 r0941953  
    7575      </para>
    7676
    77       <bridgehead renderas="sect5">Recommended</bridgehead>
    78       <para role="recommended">
    79         <xref linkend="python2"/>
    80       </para>
    81 
    8277      <note>
    8378        <para>
    84           The only use of Scour in this book is by applications which
    85           require Python2.
     79          Although the download link works fine with wget, in this case downloading
     80          with a browser such as firefox will create scour-038.1.tar.gz.
    8681        </para>
    8782      </note>
     
    9590      <title>Installation of scour</title>
    9691
    97 
    98       <note>
    99         <para>
    100           Both <application>Python 2</application> and
    101           <application>Python 3</application> modules can
    102           be built and installed without any conflicts.
    103         </para>
    104       </note>
    105 
    10692<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
    107 
    10893      <para>
    109         To build both <application>Python 2</application> and
    110         <application>Python 3</application> modules,
     94        To build the <application>Python 3</application> module
    11195        run the following commands:
    11296      </para>
    11397
    114 <screen><userinput>python2 setup.py build &amp;&amp;
    115 python3 setup.py build</userinput></screen>
     98<screen><userinput>python3 setup.py build</userinput></screen>
    11699
    117100      <para>
    118         To partially test the results, issue: <command>python2 testcss.py</command>.
     101        To partially test the results, issue: <command>python3 test_css.py</command>.
    119102        If you have installed <application>Six</application> you can run the main
    120         tests by issuing: <command>python2 testscour.py</command>.
     103        tests by issuing: <command>python3 test_scour.py</command>.
    121104      </para>
    122105
    123106      <para>
    124         To install both modules, run the following command as the
     107        To install the module, run the following command as the
    125108        <systemitem class="username">root</systemitem> user:
    126109      </para>
    127110
    128 <screen role="root"><userinput>python2 setup.py install --optimize=1 &amp;&amp;
    129 python3 setup.py install --optimize=1</userinput></screen>
     111<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
    130112
    131113    </sect3>
Note: See TracChangeset for help on using the changeset viewer.