mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 06:52:14 +08:00
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
This commit is contained in:
parent
758f3f6059
commit
09419534c4
@ -1,12 +1,12 @@
|
|||||||
<!-- $LastChangedBy$ $Date$ -->
|
<!-- $LastChangedBy$ $Date$ -->
|
||||||
|
|
||||||
<!ENTITY day "22"> <!-- Always 2 digits -->
|
<!ENTITY day "23"> <!-- Always 2 digits -->
|
||||||
<!ENTITY month "10"> <!-- Always 2 digits -->
|
<!ENTITY month "10"> <!-- Always 2 digits -->
|
||||||
<!ENTITY year "2020">
|
<!ENTITY year "2020">
|
||||||
<!ENTITY copyrightdate "2001-&year;">
|
<!ENTITY copyrightdate "2001-&year;">
|
||||||
<!ENTITY copyholder "The BLFS Development Team">
|
<!ENTITY copyholder "The BLFS Development Team">
|
||||||
<!ENTITY version "&year;-&month;-&day;">
|
<!ENTITY version "&year;-&month;-&day;">
|
||||||
<!ENTITY releasedate "October 22nd, &year;">
|
<!ENTITY releasedate "October 23rd, &year;">
|
||||||
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
||||||
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
||||||
<!ENTITY lfs-version "development"> <!-- x.y|development -->
|
<!ENTITY lfs-version "development"> <!-- x.y|development -->
|
||||||
|
@ -74,15 +74,10 @@
|
|||||||
if not already present)
|
if not already present)
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<bridgehead renderas="sect5">Recommended</bridgehead>
|
|
||||||
<para role="recommended">
|
|
||||||
<xref linkend="python2"/>
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
<para>
|
<para>
|
||||||
The only use of Scour in this book is by applications which
|
Although the download link works fine with wget, in this case downloading
|
||||||
require Python2.
|
with a browser such as firefox will create scour-038.1.tar.gz.
|
||||||
</para>
|
</para>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
@ -94,39 +89,26 @@
|
|||||||
<sect3 role="installation">
|
<sect3 role="installation">
|
||||||
<title>Installation of scour</title>
|
<title>Installation of scour</title>
|
||||||
|
|
||||||
|
|
||||||
<note>
|
|
||||||
<para>
|
|
||||||
Both <application>Python 2</application> and
|
|
||||||
<application>Python 3</application> modules can
|
|
||||||
be built and installed without any conflicts.
|
|
||||||
</para>
|
|
||||||
</note>
|
|
||||||
|
|
||||||
<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
|
<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
To build both <application>Python 2</application> and
|
To build the <application>Python 3</application> module
|
||||||
<application>Python 3</application> modules,
|
|
||||||
run the following commands:
|
run the following commands:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen><userinput>python2 setup.py build &&
|
<screen><userinput>python3 setup.py build</userinput></screen>
|
||||||
python3 setup.py build</userinput></screen>
|
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
To partially test the results, issue: <command>python2 testcss.py</command>.
|
To partially test the results, issue: <command>python3 test_css.py</command>.
|
||||||
If you have installed <application>Six</application> you can run the main
|
If you have installed <application>Six</application> you can run the main
|
||||||
tests by issuing: <command>python2 testscour.py</command>.
|
tests by issuing: <command>python3 test_scour.py</command>.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
To install both modules, run the following command as the
|
To install the module, run the following command as the
|
||||||
<systemitem class="username">root</systemitem> user:
|
<systemitem class="username">root</systemitem> user:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen role="root"><userinput>python2 setup.py install --optimize=1 &&
|
<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
|
||||||
python3 setup.py install --optimize=1</userinput></screen>
|
|
||||||
|
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
|
@ -41,6 +41,16 @@
|
|||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</listitem>
|
</listitem>
|
||||||
-->
|
-->
|
||||||
|
<listitem>
|
||||||
|
<para>October 23rd, 2020</para>
|
||||||
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[ken] - In scour-0.38.1 fix the test invocation, and
|
||||||
|
drop the python2 module since nothing in the book uses it.</para>
|
||||||
|
</listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>October 22nd, 2020</para>
|
<para>October 22nd, 2020</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
Loading…
Reference in New Issue
Block a user