Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/pyyaml.xml

    r8558044 r1fe05eb  
    55  %general-entities;
    66
    7   <!ENTITY PyYAML-download-http "https://pyyaml.org/download/pyyaml/PyYAML-&PyYAML-version;.tar.gz">
     7  <!ENTITY PyYAML-download-http "https://files.pythonhosted.org/packages/source/P/PyYAML/PyYAML-&PyYAML-version;.tar.gz">
    88  <!ENTITY PyYAML-download-ftp  " ">
    9   <!ENTITY PyYAML-md5sum        "d3590b85917362e837298e733321962b">
    10   <!ENTITY PyYAML-size          "264 KB">
    11   <!ENTITY PyYAML-buildsize     "15 MB">
    12   <!ENTITY PyYAML-time          "0.1 SBU">
     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">
    1313]>
    1414
     
    3030      </para>
    3131
    32       &lfs110a_checked;
     32      &lfs112_checked;
    3333
    3434      <bridgehead renderas="sect4">Package Information</bridgehead>
     
    7070      <bridgehead renderas="sect5">Required</bridgehead>
    7171      <para role="required">
     72        <xref linkend="cython"/> and
    7273        <xref linkend="libyaml"/>
    73       </para>
    74 
    75       <bridgehead renderas="sect5">Optional</bridgehead>
    76       <para role="optional">
    77         <xref linkend="python2"/>
    7874      </para>
    7975
     
    8581    <sect3 role="installation">
    8682      <title>Installation of PyYAML</title>
    87 <!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
    8883
    8984      <para>
    90         Install PyYAML with the following commands:
     85        Build PyYAML with the following command:
    9186      </para>
    9287
    93 <screen><userinput>python3 setup.py build</userinput></screen>
     88<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
    9489
    9590      <para>
    96         Now, as the <systemitem class="username">root</systemitem> user:
     91        Now, install the module as the &root; user:
    9792      </para>
    9893
    99 <screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
     94<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user PyYAML</userinput></screen>
    10095
    10196    </sect3>
     97
     98    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     99      href="../../xincludes/pip3-cmd-explain.xml"/>
    102100
    103101    <sect3 role="content">
     
    114112          </seg>
    115113          <seg>
    116             _yaml.so
     114            None
    117115          </seg>
    118116          <seg>
    119             /usr/lib/python&python2-majorver;/site-packages/yaml and/or
    120             /usr/lib/python&python3-majorver;/site-packages/yaml
     117            /usr/lib/python&python2-majorver;/site-packages/yaml and
     118            /usr/lib/python&python3-majorver;/site-packages/PyYAML-&yaml-version;.dist-info
    121119          </seg>
    122120        </seglistitem>
Note: See TracChangeset for help on using the changeset viewer.