Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/pyyaml.xml

    r1fe05eb r8558044  
    55  %general-entities;
    66
    7   <!ENTITY PyYAML-download-http "https://files.pythonhosted.org/packages/source/P/PyYAML/PyYAML-&PyYAML-version;.tar.gz">
     7  <!ENTITY PyYAML-download-http "https://pyyaml.org/download/pyyaml/PyYAML-&PyYAML-version;.tar.gz">
    88  <!ENTITY PyYAML-download-ftp  " ">
    9   <!ENTITY PyYAML-md5sum        "1d19c798f25e58e3e582f0f8c977dbb8">
    10   <!ENTITY PyYAML-size          "124 KB">
    11   <!ENTITY PyYAML-buildsize     "3.3 MB">
    12   <!ENTITY PyYAML-time          "less than 0.1 SBU">
     9  <!ENTITY PyYAML-md5sum        "d3590b85917362e837298e733321962b">
     10  <!ENTITY PyYAML-size          "264 KB">
     11  <!ENTITY PyYAML-buildsize     "15 MB">
     12  <!ENTITY PyYAML-time          "0.1 SBU">
    1313]>
    1414
     
    3030      </para>
    3131
    32       &lfs112_checked;
     32      &lfs110a_checked;
    3333
    3434      <bridgehead renderas="sect4">Package Information</bridgehead>
     
    7070      <bridgehead renderas="sect5">Required</bridgehead>
    7171      <para role="required">
    72         <xref linkend="cython"/> and
    7372        <xref linkend="libyaml"/>
     73      </para>
     74
     75      <bridgehead renderas="sect5">Optional</bridgehead>
     76      <para role="optional">
     77        <xref linkend="python2"/>
    7478      </para>
    7579
     
    8185    <sect3 role="installation">
    8286      <title>Installation of PyYAML</title>
     87<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
    8388
    8489      <para>
    85         Build PyYAML with the following command:
     90        Install PyYAML with the following commands:
    8691      </para>
    8792
    88 <screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
     93<screen><userinput>python3 setup.py build</userinput></screen>
    8994
    9095      <para>
    91         Now, install the module as the &root; user:
     96        Now, as the <systemitem class="username">root</systemitem> user:
    9297      </para>
    9398
    94 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user PyYAML</userinput></screen>
     99<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
    95100
    96101    </sect3>
    97 
    98     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    99       href="../../xincludes/pip3-cmd-explain.xml"/>
    100102
    101103    <sect3 role="content">
     
    112114          </seg>
    113115          <seg>
    114             None
     116            _yaml.so
    115117          </seg>
    116118          <seg>
    117             /usr/lib/python&python2-majorver;/site-packages/yaml and
    118             /usr/lib/python&python3-majorver;/site-packages/PyYAML-&yaml-version;.dist-info
     119            /usr/lib/python&python2-majorver;/site-packages/yaml and/or
     120            /usr/lib/python&python3-majorver;/site-packages/yaml
    119121          </seg>
    120122        </seglistitem>
Note: See TracChangeset for help on using the changeset viewer.