Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/mako.xml

    r87ed9b1 rcd9f166a  
    77  <!ENTITY Mako-download-http "&pymodules-dl;/M/Mako/Mako-&mako-version;.tar.gz">
    88  <!ENTITY Mako-download-ftp  " ">
    9   <!ENTITY Mako-md5sum        "651f365616611fcd4f2702a9002e2195">
    10   <!ENTITY Mako-size          "485 KB">
    11   <!ENTITY Mako-buildsize     "3.9 MB (add 1.2 MB for tests)">
    12   <!ENTITY Mako-time          "less than 0.1 SBU (with tests)">
     9  <!ENTITY Mako-md5sum        "6d7ccbc372ec6d87113f34d9e8fc65d1">
     10  <!ENTITY Mako-size          "484 KB">
     11  <!ENTITY Mako-buildsize     "3.2 MB">
     12  <!ENTITY Mako-time          "less than 0.1 SBU">
    1313]>
    1414
     
    3131      </para>
    3232
    33       &lfs112_checked;
     33      &lfs110a_checked;
    3434
    3535      <bridgehead renderas="sect4">Package Information</bridgehead>
     
    6969      <bridgehead renderas="sect4">Mako Dependencies</bridgehead>
    7070
    71       <bridgehead renderas="sect5" revision="sysv">Required</bridgehead>
    72       <para role="required" revision="sysv">
     71      <bridgehead renderas="sect5">Required</bridgehead>
     72      <para role="required">
     73<!--        <xref linkend="Beaker"/> and -->
    7374        <xref linkend="MarkupSafe"/>
    74       </para>
    75 
    76       <bridgehead renderas="sect5">Optional (for Testing)</bridgehead>
    77       <para role="optional">
    78         <ulink url="https://pypi.org/project/pytest/">pytest</ulink>
    7975      </para>
    8076
     
    8682    <sect3 role="installation">
    8783      <title>Installation of Mako</title>
     84<!--
     85      <note>
     86        <para>
     87          Both <application>Python 2</application> and
     88          <application>Python 3</application> modules can
     89          be built and installed without any conflicts.
     90        </para>
     91      </note>
     92-->
     93<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
     94<!--
     95      <para>
     96        To install the <application>Python 2</application> module,
     97        run the following command as the
     98        <systemitem class="username">root</systemitem> user:
     99      </para>
     100
     101<screen role="root"><userinput>python2 setup.py install - -optimize=1</userinput></screen>
     102-->
     103      <para>
     104        To install the <application>Python 3</application> module,
     105        run the following command as the
     106        <systemitem class="username">root</systemitem> user:
     107      </para>
     108
     109<!--sed -i "s:mako-render:&amp;3:g" setup.py &amp;&amp;-->
     110<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
     111    </sect3>
     112<!--
     113    <sect3 role="commands">
     114      <title>Command Explanations</title>
    88115
    89116      <para>
    90         Build the module:
     117        <command>sed -i "s:mako-render:&amp;3:g" setup.py</command>: This sed
     118        prevents <command>setup.py</command> from overwriting an already
     119        installed script by the <application>Python 2</application> module.
     120        Remove it if you are building this module only for
     121        <application>Python 3</application>.
    91122      </para>
    92123
    93 <screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
    94 
    95       <para>
    96         Install the module as the &root; user:
    97       </para>
    98 
    99 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user Mako</userinput></screen>
    100 
    101     <para>
    102       To test the installation, issue <command>pytest</command>.
    103     </para>
    104 
    105124    </sect3>
    106 
    107     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    108       href="../../xincludes/pip3-cmd-explain.xml"/>
    109 
     125-->
    110126    <sect3 role="content">
    111127      <title>Contents</title>
     
    124140          </seg>
    125141          <seg>
    126             /usr/lib/python&python3-majorver;/site-packages/mako and
    127             /usr/lib/python&python3-majorver;/site-packages/Mako-&mako-version;.dist-info
     142<!--            /usr/lib/python&python2-majorver;/site-packages/mako,
     143            /usr/lib/python&python2-majorver;/site-packages/Mako-&mako-version;-py&python2-majorver;.egg-info and/or-->
     144            /usr/lib/python&python3-majorver;/site-packages/Mako-&mako-version;-py&python3-majorver;.egg
     145<!-- This is different when doing a -\-root install and a direct install.
     146     In the latter case, there is only a .egg directory, and no mako
     147     directory. -->
    128148          </seg>
    129149        </seglistitem>
Note: See TracChangeset for help on using the changeset viewer.