Changeset 939f4ae


Ignore:
Timestamp:
04/20/2022 12:16:01 AM (2 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/soup3, xry111/xf86-video-removal
Children:
6e0f8b4c
Parents:
d0c81354
Message:

Update asciidoc python module instructions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/asciidoc.xml

    rd0c81354 r939f4ae  
    99  <!ENTITY asciidoc-md5sum        "3039fb28a56529d2f4a411f1db645cca">
    1010  <!ENTITY asciidoc-size          "212 KB">
    11   <!ENTITY asciidoc-buildsize     "4.1 MB">
     11  <!ENTITY asciidoc-buildsize     "2.6 MB">
    1212  <!ENTITY asciidoc-time          "less than 0.1 SBU">
    1313]>
     
    2323
    2424    <sect3 role="package">
    25       <title>Introduction to Asciidoc</title>
     25      <title>Introduction to Asciidoc Module</title>
    2626
    2727      <para>
     
    7070      <bridgehead renderas="sect4">Asciidoc Dependencies</bridgehead>
    7171
    72       <bridgehead renderas="sect5">Optional (tests and runtime)</bridgehead>
     72      <bridgehead renderas="sect5">Optional (runtime)</bridgehead>
    7373      <para role="optional">
    7474        <xref linkend="docbook-xsl"/>,
     
    9393<screen role="root"><userinput>rm -rf /usr/bin/{asciidoc*,a2x*}</userinput></screen>
    9494
    95 <!--
    96       <para>
    97         First, fix a build problem if the optional dependencies are not installed:
    98     </para>
     95    <para> Build the module: </para>
    9996
    100 <screen><userinput remap='pre'>sed -i 's:doc/testasciidoc.1::' Makefile.in &amp;&amp;
    101 rm doc/testasciidoc.1.txt</userinput></screen>
    102 
    103     <para>
    104       Install <application>Asciidoc</application> by running
    105       the following commands:
    106     </para>
    107 
    108 <screen><userinput>./configure - -prefix=/usr     \
    109             - -sysconfdir=/etc \
    110             - -docdir=/usr/share/doc/asciidoc-&asciidoc-version; &amp;&amp;
    111 make</userinput></screen>
     97<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
    11298
    11399    <para>
     
    119105    </para>
    120106
    121 <screen role="root"><userinput>make install &amp;&amp;
    122 make docs</userinput></screen>
    123 -->
    124       <para>
    125         Build and install the <application>Python 3</application> module
    126         by running the following commands as the <systemitem
    127         class="username">root</systemitem> user:
    128       </para>
    129 
    130 <screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
     107<screen role="root"><userinput>pip3 install --no-index --find-links dist asciidoc</userinput></screen>
    131108
    132109    </sect3>
     110
     111    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     112      href="../../xincludes/pip3-cmd-explain.xml"/>
    133113
    134114    <sect3 role="content">
     
    147127          <seg>None</seg>
    148128          <seg>
    149             /usr/lib/python&python3-majorver;/site-packages/asciidoc-&asciidoc-version;-py&python3-majorver;.egg
     129            /usr/lib/python&python3-majorver;/site-packages/asciidoc and
     130            /usr/lib/python&python3-majorver;/site-packages/asciidoc-&asciidoc-version;.dis-info
    150131          </seg>
    151132        </seglistitem>
Note: See TracChangeset for help on using the changeset viewer.