Changeset 440647ab


Ignore:
Timestamp:
01/11/2019 08:34:09 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:
6878aa6
Parents:
227b44ff
Message:

Update to scons-3.0.3 and build scons with python3

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general/prog/scons.xml

    r227b44ff r440647ab  
    77  <!ENTITY scons-download-http "&sourceforge-dl;/scons/scons-&scons-version;.tar.gz">
    88  <!ENTITY scons-download-ftp  " ">
    9   <!ENTITY scons-md5sum        "1c99878d0eaf9b768b50721e913142d3">
    10   <!ENTITY scons-size          "616 KB">
    11   <!ENTITY scons-buildsize     "5.3 MB">
     9  <!ENTITY scons-md5sum        "aebc976d65d034f83fd1b14e33f1d34b">
     10  <!ENTITY scons-size          "636 KB">
     11  <!ENTITY scons-buildsize     "12 MB">
    1212  <!ENTITY scons-time          "less than 0.1 SBU">
    1313]>
     
    7373    <bridgehead renderas="sect3">SCons Dependencies</bridgehead>
    7474
    75     <bridgehead renderas="sect4">Required</bridgehead>
    76     <para role="required">
    77       <xref linkend="python2"/>
    78     </para>
    79 
    8075    <bridgehead renderas="sect4">Optional</bridgehead>
    8176    <para role="optional">
    8277      <xref linkend="docbook-xsl"/>,
    83       <xref role="runtime" linkend="libxml2py2"/> and
    84       <xref role="runtime" linkend="libxslt"/> (the
    85        <application>Python2</application> modules can be invoked at
    86        runtime if using the SCons Docbook tool)
     78      <xref role="runtime" linkend="libxslt"/>
    8779    </para>
    8880
     
    10092    </para>
    10193
    102  <screen role="root"><userinput>python setup.py install --prefix=/usr  \
    103                         --standard-lib \
    104                         --optimize=1   \
    105                         --install-data=/usr/share</userinput></screen>
     94<screen role="root"><userinput>sed -i 's/env python/&amp;3/' script/*                 &amp;&amp;
     95python3 setup.py install --prefix=/usr  \
     96                         --standard-lib \
     97                         --optimize=1   \
     98                         --install-data=/usr/share &amp;&amp;
     99rm /usr/bin/scons*.bat</userinput></screen>
    106100
    107101  </sect2>
     
    117111      <seglistitem>
    118112        <seg>
    119           scons, scons-&scons-version;, sconsign, sconsign-&scons-version;,
    120           scons-time, and scons-time-&scons-version;
     113          scons, scons-configure-cache, sconsign, and scons-time
    121114        </seg>
    122115        <seg>
     
    124117        </seg>
    125118        <seg>
    126           /usr/lib/python&python2-majorver;/site-packages/SCons
     119          /usr/lib/python&python3-majorver;/site-packages/SCons
    127120        </seg>
    128121      </seglistitem>
     
    142135          <indexterm zone="scons scons-prog">
    143136            <primary sortas="b-scons">scons</primary>
     137          </indexterm>
     138        </listitem>
     139      </varlistentry>
     140
     141      <varlistentry id="scons-configure-cache">
     142        <term><command>scons-configure-cache</command></term>
     143        <listitem>
     144          <para>
     145            shows or converts the configuration of an
     146            <application>SCons</application> cache directory.
     147          </para>
     148          <indexterm zone="scons scons-configure-cache">
     149            <primary sortas="b-scons-configure-cache">scons-configure-cache</primary>
    144150          </indexterm>
    145151        </listitem>
  • introduction/welcome/changelog.xml

    r227b44ff r440647ab  
    4747      <itemizedlist>
    4848        <listitem>
     49          <para>[pierre] - Update to scons-3.0.3. Adapt build for
     50          Python 3. Same for serf. Fixes
     51          <ulink url="&blfs-ticket-root;11408">#11408</ulink>.</para>
     52        </listitem>
     53        <listitem>
    4954          <para>[bdubbs] - Update to subversion-1.11.1. Fixes
    5055          <ulink url="&blfs-ticket-root;11540">#11540</ulink>.</para>
  • networking/netlibs/serf.xml

    r227b44ff r440647ab  
    104104sed -i "/Alias/s:install_static,::"         SConstruct &amp;&amp;
    105105sed -i "/  print/{s/print/print(/; s/$/)/}" SConstruct &amp;&amp;
     106sed -i "/get_contents()/s/,/.decode()&amp;/"    SConstruct &amp;&amp;
    106107
    107108scons PREFIX=/usr</userinput></screen>
     
    116117-->
    117118
     119<!-- With Python 3, check.py is broken. It could be fixed, but since the
     120     testsuite hangs anyway...
    118121    <para>
    119122      To test the results, issue: <command>scons check</command>.
    120123      The tests currently will cause a hang.
    121       <!--  with 8.1, tests hang for some reason. Look into this later. -->
     124    </para>
     125-->
     126
     127    <para>
     128      This package does not come with a functional testsuite.
    122129    </para>
    123130
     
    136143      <command>sed -i "..."</command>: The first command removes the runtime
    137144      path from a shared library and the next two commands disable building and
    138       installing of the static library.  The last command corrects for
    139       changes in scons-3.x.
     145      installing of the static library.  The fourth command corrects for
     146      changes in scons-3.x. The last command allows to use <application>
     147      Python 3</application>.
    140148    </para>
    141149
Note: See TracChangeset for help on using the changeset viewer.