Add six-1.10.0 as a runtime dependency for gtk-doc

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19058 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Bruce Dubbs 2017-08-21 20:22:19 +00:00
parent 410d9d0eeb
commit 505c46cc4a
5 changed files with 161 additions and 0 deletions

View File

@ -84,6 +84,11 @@
<ulink url="https://pypi.python.org/pypi/six">six</ulink>(for some tests)
</para>
<bridgehead renderas="sect4">Required (runtime)</bridgehead>
<para role="required runtime">
<xref linkend="six"/>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/gtk-doc"/></para>

View File

@ -120,6 +120,11 @@
<xref linkend="scour"/>
</para>
</listitem>
<listitem>
<para>
<xref linkend="six"/>
</para>
</listitem>
<listitem revision="systemd">
<para>
<xref linkend="PyYAML"/>
@ -184,4 +189,7 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="scour.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="six.xml"/>
</sect1>

143
general/prog/six.xml Normal file
View File

@ -0,0 +1,143 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY six-download-http "https://pypi.io/packages/source/s/six/six-&six-version;.tar.gz">
<!ENTITY six-download-ftp " ">
<!ENTITY six-md5sum "fa40144507194130b2941965f124c5ac">
<!ENTITY six-size "32 KB">
<!ENTITY six-buildsize "356 KB">
<!ENTITY six-time "less than 0.1 SBU">
]>
<!-- Begin six -->
<sect2 id="six" xreflabel="six-&six-version;">
<title>six-&six-version;</title>
<indexterm zone="six">
<primary sortas="a-six">six</primary>
</indexterm>
<sect3 role="package">
<title>Introduction to Six Module</title>
<para>
Six is a Python 2 and 3 compatibility library.
</para>
&lfs81_checked;
<!-- Does not use gcc -->
<bridgehead renderas="sect4">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&six-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&six-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &six-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &six-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &six-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &six-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect4">Six Dependencies</bridgehead>
<bridgehead renderas="sect5">Required Dependencies</bridgehead>
<para role="required">
<xref linkend="python2"/> and/or
<xref linkend="python3"/>
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/six"/>
</para>
</sect3>
<sect3 role="installation">
<title>Installation of six</title>
<para>
Install <application>six</application> for Python2 by running
the following commands:
</para>
<screen><userinput>python2 setup.py build</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>python2 setup.py install --optimize=1</userinput></screen>
<para>
Install <application>six</application> for Python3 by running
the following commands:
</para>
<screen><userinput>python3 setup.py build</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
</sect3>
<sect3 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Module</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
six.py
</seg>
<seg>
/usr/lib/python2.7/site-packages/six-1.10.0-py2.7.egg and/or
/usr/lib/python3.6/site-packages/six-1.10.0-py3.6.egg
</seg>
</seglistitem>
</segmentedlist>
</sect3>
</sect2>
<!-- End six -->

View File

@ -45,6 +45,10 @@
<listitem>
<para>August 21st, 2017</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Add six-1.10.0 as a runtime dependency
for gtk-doc.</para>
</listitem>
<listitem>
<para>[dj] - Update to pango-1.40.10. Fixes
<ulink url="&blfs-ticket-root;9627">#9627</ulink>.</para>

View File

@ -408,6 +408,7 @@
<!ENTITY pyxdg-version "0.25">
<!ENTITY PyYAML-version "3.12">
<!ENTITY scour-version "0.36">
<!ENTITY six-version "1.10.0">
<!-- <!ENTITY setuptools-version "30.2.0"> -->
<!-- Part IV -->