Author: xry111
Date: Thu Jul  4 21:17:07 2019
New Revision: 21803

Log:
harfbuzz: use py3 for testsuite optionally

Modified:
   trunk/BOOK/general/graphlib/harfbuzz.xml

Modified: trunk/BOOK/general/graphlib/harfbuzz.xml
==============================================================================
--- trunk/BOOK/general/graphlib/harfbuzz.xml    Thu Jul  4 20:53:04 2019        
(r21802)
+++ trunk/BOOK/general/graphlib/harfbuzz.xml    Thu Jul  4 21:17:07 2019        
(r21803)
@@ -91,10 +91,9 @@
       dependencies, including harfbuzz, first, then rebuild harfbuzz if the
       cairo backend is needed),
       <xref linkend="gobject-introspection"/>,
-      <xref linkend="gtk-doc"/>,
-      <xref linkend="python2"/> (required for the testsuite), and
-      <ulink url="https://pypi.org/project/FontTools/";>FontTools</ulink> (for
-      the testsuite)
+      <xref linkend="gtk-doc"/>, and
+      <ulink url="https://pypi.org/project/FontTools/";>FontTools</ulink>
+      (Python 2 or Python 3 module, for the testsuite)
     </para>
 
     <warning>
@@ -124,6 +123,11 @@
 make</userinput></screen>
 
     <para>
+      If FontTools is installed for Python 3 and you want to test the results
+      with it, adjust the test suite:
+      <command>
+        find -name \*.py -exec sed '1s@python@&amp;3@' -i {} \;
+      </command>.
       To test the results, issue: <command>make check</command>.
     </para>
 
-- 
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