Update to Python-3.7.2

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20884 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Douglas R. Reno 2018-12-28 23:27:36 +00:00
parent 4478c65a17
commit e882fc373c
3 changed files with 17 additions and 40 deletions

View File

@ -7,13 +7,13 @@
<!ENTITY python3-download-http
"https://www.python.org/ftp/python/&python3-version;/Python-&python3-version;.tar.xz">
<!ENTITY python3-download-ftp " ">
<!ENTITY python3-md5sum "0a57e9022c07fad3dadb2eef58568edb">
<!ENTITY python3-md5sum "df6ec36011808205beda239c72f947cb">
<!ENTITY python3-size "16 MB">
<!ENTITY python3-buildsize "176 MB (add 29 MB for tests)">
<!ENTITY python3-time "0.9 SBU (using parallelism=4; add 1.7 SBU for tests)">
<!ENTITY python3-buildsize "337 MB (add 29 MB for tests)">
<!ENTITY python3-time "1.2 SBU (add 2.0 SBU for tests)">
<!--
<!ENTITY python3htmldoc-download-http
"https://docs.python.org/ftp/python/doc/&python3-version;/python-&python3-version;-docs-html.tar.bz2">
"https://docs.python.org/ftp/python/doc/&python3-version;/python-&python3-version;-docs-html.tar.bz2"> -->
]>
<sect1 id="python3" xreflabel="Python-&python3-version;">
@ -79,29 +79,15 @@
</para>
</listitem>
</itemizedlist>
<!--
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<title>Optional HTML Documentation</title>
<listitem>
<para>
Download (HTTP): <ulink url="&python3htmldoc-download-http;"/>
</para>
</listitem>
</itemizedlist>
-->
<bridgehead renderas="sect3">Python 3 Dependencies</bridgehead>
<!--
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="libffi"/>
</para>
-->
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="bluez"/>,
<xref linkend="gdb"/> (required for some tests), and
<xref linkend="valgrind"/>
<xref linkend="gdb"/> (required for some tests),
<xref linkend="valgrind"/>, and
<ulink url="http://www.bytereef.org/mpdecimal">libmpcdec</ulink>
</para>
<bridgehead renderas="sect4">Optional (For Additional Modules)</bridgehead>
@ -142,32 +128,19 @@ make</userinput></screen>
<screen role="root"><userinput>make install &amp;&amp;
chmod -v 755 /usr/lib/libpython&python3-majorver;m.so &amp;&amp;
chmod -v 755 /usr/lib/libpython3.so</userinput></screen>
<!--
<para>
If you have downloaded the preformatted documentation from
<ulink url="http://docs.python.org/download.html"/>, install it
as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>install -v -dm755 /usr/share/doc/python-&python3-version;/html &amp;&amp;
tar - -strip-components=1 \
- -no-same-owner \
- -no-same-permissions \
-C /usr/share/doc/python-&python3-version;/html \
-xvf ../python-&python3-version;-docs-html.tar.bz2</userinput></screen>
-->
<para>
The test suite must be run separately from the build, either before or
after the package is built and installed. Do not run
<command>make install</command> after running the test suite. To build
and install the package, you need to start with a fresh or clean source
tree. For the test, you also need a clean source code, so either start by
tree. For the tests, you also need a clean source code, so either start by
removing the source code directory and starting over, by uncompressing
the source tarball or by running <command>make clean</command>. Then
configure again, adding <quote>--with-pydebug</quote> to the
<command>configure</command> switches above, run <command>make</command>,
then <command>make test</command>. Remember that tests must be executed
using an X terminal. One test fails. The test SBU highly depends on the
using an X terminal. Two tests fail. The test SBU highly depends on the
speed of the internet connection.
</para>

View File

@ -45,6 +45,10 @@
<listitem>
<para>December 28th, 2018</para>
<itemizedlist>
<listitem>
<para>[renodr] - Update to Python-3.7.2. Fixes
<ulink url="&blfs-ticket-root;11748">#11478</ulink>.</para>
</listitem>
<listitem revision="systemd">
<para>[renodr] - Update to systemd-240. Fixes four vulneabilities. Fixes
<ulink url="&blfs-ticket-root;11470">#11470</ulink>.</para>

View File

@ -336,7 +336,7 @@ to avoid building libxml2 twice, which is slow with all deps -->
<!ENTITY npapi-sdk-version "0.27.2">
<!ENTITY php-version "7.3.0">
<!ENTITY python2-version "2.7.15">
<!ENTITY python3-version "3.7.1">
<!ENTITY python3-version "3.7.2">
<!ENTITY ruby-minor-version "2.5">
<!ENTITY ruby-patch-version "3">
<!ENTITY ruby-version "&ruby-minor-version;.&ruby-patch-version;">