mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
Add Setuptools-14.1.1 and Mako-1.0.1 as they are needed by Mesa-10.5.1
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15649 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
b3199ef4f7
commit
6f9b78d62e
163
general/prog/mako.xml
Normal file
163
general/prog/mako.xml
Normal file
@ -0,0 +1,163 @@
|
||||
<?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 mako-download-http
|
||||
"https://pypi.python.org/packages/source/M/Mako/Mako-&mako-version;.tar.gz">
|
||||
<!ENTITY mako-download-ftp " ">
|
||||
<!ENTITY mako-md5sum "9f0aafd177b039ef67b90ea350497a54">
|
||||
<!ENTITY mako-size "462 KB">
|
||||
<!ENTITY mako-buildsize "4.9 MB">
|
||||
<!ENTITY mako-time "less than 0.1 SBU">
|
||||
]>
|
||||
|
||||
<!-- Begin Mako -->
|
||||
<sect2 id="mako" xreflabel="Mako-&mako-version;">
|
||||
|
||||
<title>Mako-&mako-version;</title>
|
||||
|
||||
<indexterm zone="mako">
|
||||
<primary sortas="a-Mako">Mako</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect3 role="package">
|
||||
<title>Introduction to Mako Module</title>
|
||||
|
||||
<para>
|
||||
Mako is a template library written in <application>Python
|
||||
</application>. It provides a familiar, non-XML syntax which compiles
|
||||
into Python modules for maximum performance.
|
||||
</para>
|
||||
|
||||
&lfs77_checked;
|
||||
|
||||
<bridgehead renderas="sect4">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
Download (HTTP): <ulink url="&mako-download-http;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download (FTP): <ulink url="&mako-download-ftp;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download MD5 sum: &mako-md5sum;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download size: &mako-size;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Estimated disk space required: &mako-buildsize;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Estimated build time: &mako-time;
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect4">Mako Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect5">Required</bridgehead>
|
||||
<para role="required">
|
||||
<xref linkend="setuptools"/> and
|
||||
<xref linkend="python2"/> or <xref linkend="python3"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect5">Optional</bridgehead>
|
||||
<para role="optional">
|
||||
<ulink url="http://www.voidspace.org.uk/python/mock">mock</ulink>
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">
|
||||
User Notes: <ulink url="&blfs-wiki;/mako"/>
|
||||
</para>
|
||||
</sect3>
|
||||
|
||||
<sect3 role="installation">
|
||||
<title>Installation of Mako</title>
|
||||
|
||||
<note>
|
||||
<para>
|
||||
Both <application>Python 2</application> and
|
||||
<application>Python 3</application> modules can
|
||||
be built and installed without any conflicts.
|
||||
</para>
|
||||
</note>
|
||||
|
||||
<para>
|
||||
To install <application>Mako</application> for <application>Python
|
||||
2</application>, run the following command as the <systemitem
|
||||
class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen>
|
||||
|
||||
<para>
|
||||
To install <application>Mako</application> for <application>Python
|
||||
3</application>, run the following command as the <systemitem
|
||||
class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>sed -i "s:mako-render:&3:g" setup.py
|
||||
python3 setup.py install --optimize=1</userinput></screen>
|
||||
|
||||
<para>
|
||||
The test suite requires the optional <application>mock</application>
|
||||
python module. If it is not installed and you have internet access, it
|
||||
will be automatically downloaded before the tests. Run the tests by
|
||||
issuing <command>python setup.py test</command> and/or <command>python3
|
||||
setup.py test</command>.
|
||||
</para>
|
||||
|
||||
|
||||
</sect3>
|
||||
|
||||
<sect3 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para>
|
||||
<command>sed -i "s:mako-render:&3:g" setup.py</command>: This sed
|
||||
prevents <command>setup.py</command> from overwriting an already
|
||||
installed script by the <application>Python 2</application> module.
|
||||
Remove it if you are building this module only for
|
||||
<application>Python 3</application>.
|
||||
</para>
|
||||
|
||||
</sect3>
|
||||
|
||||
<sect3 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Library</segtitle>
|
||||
<segtitle>Installed Directory</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>
|
||||
None
|
||||
</seg>
|
||||
<seg>
|
||||
None
|
||||
</seg>
|
||||
<seg>
|
||||
/usr/lib/python&python2-majorver;/site-packages/Mako-&mako-version;-py&python2-majorver;.egg and/or
|
||||
/usr/lib/python&python3-majorver;/site-packages/Mako-&mako-version;-py&python3-majorver;.egg
|
||||
</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
</sect3>
|
||||
</sect2>
|
||||
<!-- End Mako -->
|
@ -66,6 +66,16 @@
|
||||
<xref linkend="pyxdg"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<xref linkend="setuptools"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<xref linkend="mako"/>
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</sect2>
|
||||
|
||||
@ -90,4 +100,10 @@
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="pyxdg.xml"/>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="setuptools.xml"/>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
href="mako.xml"/>
|
||||
|
||||
</sect1>
|
||||
|
155
general/prog/setuptools.xml
Normal file
155
general/prog/setuptools.xml
Normal file
@ -0,0 +1,155 @@
|
||||
<?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 setuptools-download-http
|
||||
"https://pypi.python.org/packages/source/s/setuptools/setuptools-&setuptools-version;.tar.gz">
|
||||
<!ENTITY setuptools-download-ftp " ">
|
||||
<!ENTITY setuptools-md5sum "babf06056ce4314cd4c51259582982b7">
|
||||
<!ENTITY setuptools-size "612 KB">
|
||||
<!ENTITY setuptools-buildsize "3.8 MB">
|
||||
<!ENTITY setuptools-time "less than 0.1 SBU">
|
||||
]>
|
||||
|
||||
<!-- Begin Setuptools -->
|
||||
<sect2 id="setuptools" xreflabel="Setuptools-&setuptools-version;">
|
||||
|
||||
<title>Setuptools-&setuptools-version;</title>
|
||||
|
||||
<indexterm zone="setuptools">
|
||||
<primary sortas="a-Setuptools">Setuptools</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect3 role="package">
|
||||
<title>Introduction to Setuptools Module</title>
|
||||
|
||||
<para>
|
||||
<application>Setuptools</application> is a fully-featured,
|
||||
actively-maintained, and stable library designed to facilitate
|
||||
packaging <application>Python</application> projects.
|
||||
</para>
|
||||
|
||||
&lfs77_checked;
|
||||
|
||||
<bridgehead renderas="sect4">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
Download (HTTP): <ulink url="&setuptools-download-http;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download (FTP): <ulink url="&setuptools-download-ftp;"/>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download MD5 sum: &setuptools-md5sum;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Download size: &setuptools-size;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Estimated disk space required: &setuptools-buildsize;
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Estimated build time: &setuptools-time;
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect4">Setuptools Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect5">Required</bridgehead>
|
||||
<para role="required">
|
||||
<xref linkend="python2"/> or <xref linkend="python3"/>
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">
|
||||
User Notes: <ulink url="&blfs-wiki;/setuptools"/>
|
||||
</para>
|
||||
</sect3>
|
||||
|
||||
<sect3 role="installation">
|
||||
<title>Installation of Setuptools</title>
|
||||
|
||||
<note>
|
||||
<para>
|
||||
Both <application>Python 2</application> and
|
||||
<application>Python 3</application> modules can
|
||||
be built and installed without any conflicts.
|
||||
</para>
|
||||
</note>
|
||||
|
||||
<para>
|
||||
To install <application>Setuptools</application> for <application>Python
|
||||
2</application>, run the following command as the <systemitem
|
||||
class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen>
|
||||
|
||||
<para>
|
||||
To install <application>Setuptools</application> for <application>Python
|
||||
3</application>, run the following command as the <systemitem
|
||||
class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>sed -i "s:easy_install:&3:" &&
|
||||
python3 setup.py install --optimize=1</userinput></screen>
|
||||
|
||||
<para>
|
||||
Run the tests by issuing <command>python setup.py test</command>
|
||||
and/or <command>python3 setup.py test</command>.
|
||||
</para>
|
||||
|
||||
|
||||
</sect3>
|
||||
|
||||
<sect3 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para>
|
||||
<command>sed -i "s:easy_install:&3:g" setup.py</command>: This sed
|
||||
prevents <command>setup.py</command> from overwriting an already
|
||||
installed script by the <application>Python 2</application> module.
|
||||
Remove it if you are building this module only for
|
||||
<application>Python 3</application>.
|
||||
</para>
|
||||
|
||||
</sect3>
|
||||
|
||||
<sect3 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Library</segtitle>
|
||||
<segtitle>Installed Directory</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>
|
||||
easy_install, easy_install-&python2-majorver;, and/or
|
||||
easy_install3, easy_install-&python3-majorver;
|
||||
</seg>
|
||||
<seg>
|
||||
setuptools-&setuptools-version;-py&python2-majorver;.egg and/or
|
||||
setuptools-&setuptools-version;-py&python3-majorver;.egg
|
||||
</seg>
|
||||
<seg>
|
||||
None
|
||||
</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
</sect3>
|
||||
</sect2>
|
||||
<!-- End Setuptools -->
|
@ -46,6 +46,10 @@
|
||||
<listitem>
|
||||
<para>March 15th, 2015</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[pierre] - Add Setuptools-14.1.1 and Mako-1.0.1
|
||||
Python modules, as they are needed by Mesa-10.5.1.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[igor] - Update to firefox-36.0.1. Fixes
|
||||
<ulink url="&blfs-ticket-root;6228">#6228</ulink>.</para>
|
||||
|
@ -332,6 +332,8 @@
|
||||
<!ENTITY pygobject3-version "3.14.0">
|
||||
<!ENTITY pygtk-version "2.24.0">
|
||||
<!ENTITY pyxdg-version "0.25">
|
||||
<!ENTITY setuptools-version "14.1.1">
|
||||
<!ENTITY mako-version "1.0.1">
|
||||
|
||||
<!-- Part IV -->
|
||||
<!-- Chapter 14 -->
|
||||
|
Loading…
Reference in New Issue
Block a user