Ignore:
Timestamp:
09/30/2022 02:25:05 PM (19 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
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/xf86-video-removal
Children:
2dfb0a58
Parents:
4492186
Message:

Begin work on python dependencies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/python-dependencies/snowballstemmer.xml

    r4492186 r432ea40  
    55  %general-entities;
    66
    7   <!ENTITY asciidoc-download-http "https://files.pythonhosted.org/packages/source/a/asciidoc/asciidoc-&asciidoc-version;.tar.gz">
    8   <!ENTITY asciidoc-download-ftp  " ">
    9   <!ENTITY asciidoc-md5sum        "ecac3af818f7a65596efc6e243b520a0">
    10   <!ENTITY asciidoc-size          "212 KB">
    11   <!ENTITY asciidoc-buildsize     "2.6 MB">
    12   <!ENTITY asciidoc-time          "less than 0.1 SBU">
     7  <!ENTITY snowballstemmer-download-http "https://files.pythonhosted.org/packages/source/a/snowballstemmer/snowballstemmer-&snowballstemmer-version;.tar.gz">
     8  <!ENTITY snowballstemmer-download-ftp  " ">
     9  <!ENTITY snowballstemmer-md5sum        "ecac3af818f7a65596efc6e243b520a0">
     10  <!ENTITY snowballstemmer-size          "212 KB">
     11  <!ENTITY snowballstemmer-buildsize     "2.6 MB">
     12  <!ENTITY snowballstemmer-time          "less than 0.1 SBU">
    1313]>
    1414
    15 <!-- Begin Py3c -->
    16   <sect2 id="snowballstemmer" xreflabel="snowballstemmer-&asciidoc-version;">
     15  <sect2 id="snowballstemmer" xreflabel="snowballstemmer-&snowballstemmer-version;">
    1716
    18     <title>Asciidoc-&asciidoc-version;</title>
     17    <title>Snowballstemmer-&snowballstemmer-version;</title>
    1918
    20     <indexterm zone="asciidoc">
    21       <primary sortas="a-asciidoc">asciidoc</primary>
     19    <indexterm zone="snowballstemmer">
     20      <primary sortas="a-snowballstemmer">snowballstemmer</primary>
    2221    </indexterm>
    2322
    2423    <sect3 role="package">
    25       <title>Introduction to Asciidoc Module</title>
     24      <title>Introduction to Snowballstemmer Module</title>
    2625
    2726      <para>
    28         The <application>Asciidoc</application> package is a text document
    29         format for writing notes, documentation, articles, books, ebooks,
    30         slideshows, web pages, man pages and blogs. AsciiDoc files can be
    31         translated to many formats including HTML, PDF, EPUB, and man page.
     27        The <application>Snowballstemmer</application> package is a small
     28        string processing language for creating stemming algorithms for use
     29        in Information Retrieval, plus a collection of stemming algorithms
     30        implemented using it. Stemming maps different forms of the same word
     31        to a common <quote>stem</quote> &emdash; for example, the English
     32        stemmer maps <emphasis>connection</emphasis>,
     33        <emphasis>connections</emphasis>, <emphasis>connective</emphasis>,
     34        <emphasis>connected</emphasis>, and <emphasis>connecting</emphasis>
     35        to <emphasis>connect</emphasis>. So a searching for
     36        <emphasis>connected</emphasis> would also find documents which only
     37        have the other forms.
    3238      </para>
    3339
     
    3844        <listitem>
    3945          <para>
    40             Download (HTTP): <ulink url="&asciidoc-download-http;"/>
     46            Download (HTTP): <ulink url="&snowballstemmer-download-http;"/>
    4147          </para>
    4248        </listitem>
    4349        <listitem>
    4450          <para>
    45             Download (FTP): <ulink url="&asciidoc-download-ftp;"/>
     51            Download (FTP): <ulink url="&snowballstemmer-download-ftp;"/>
    4652          </para>
    4753        </listitem>
    4854        <listitem>
    4955          <para>
    50             Download MD5 sum: &asciidoc-md5sum;
     56            Download MD5 sum: &snowballstemmer-md5sum;
    5157          </para>
    5258        </listitem>
    5359        <listitem>
    5460          <para>
    55             Download size: &asciidoc-size;
     61            Download size: &snowballstemmer-size;
    5662          </para>
    5763        </listitem>
    5864        <listitem>
    5965          <para>
    60             Estimated disk space required: &asciidoc-buildsize;
     66            Estimated disk space required: &snowballstemmer-buildsize;
    6167          </para>
    6268        </listitem>
    6369        <listitem>
    6470          <para>
    65             Estimated build time: &asciidoc-time;
     71            Estimated build time: &snowballstemmer-time;
    6672          </para>
    6773        </listitem>
    6874      </itemizedlist>
    6975
    70       <bridgehead renderas="sect4">Asciidoc Dependencies</bridgehead>
    71 
    72       <bridgehead renderas="sect5">Optional (runtime)</bridgehead>
    73       <para role="optional">
    74         <xref linkend="docbook-xsl"/>,
    75         <xref linkend="fop"/>,
    76         <xref linkend="libxslt"/>,
    77         <xref linkend="lynx"/>,
    78         <ulink url="https://sourceforge.net/projects/dblatex/">dblatex</ulink>, and
    79         <ulink url="&w3m-url;">W3m</ulink>
    80       </para>
    81 
    8276    </sect3>
    8377
    8478    <sect3 role="installation">
    85       <title>Installation of Asciidoc</title>
    86 <!-- version 9.x is from blfs 11.0. We are now at 11.1
    87       <para>
    88         If you are upgrading from version 9.x, remove the previously installed
    89         executables, as the <systemitem class="username">root</systemitem>
    90         user:
    91       </para>
     79      <title>Installation of Snowballstemmer</title>
    9280
    93 <screen role="root"><userinput>rm -rf /usr/bin/{asciidoc*,a2x*}</userinput></screen>
    94 -->
    9581    <para> Build the module: </para>
    9682
    97 <screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
     83<screen><userinput>make dist_libstemmer_python</userinput></screen>
    9884
    9985    <para>
     
    10591    </para>
    10692
    107 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user asciidoc</userinput></screen>
     93<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user snowballstemmer</userinput></screen>
    10894
    10995    </sect3>
     
    121107
    122108        <seglistitem>
    123           <seg>
    124             a2x and
    125             asciidoc
    126           </seg>
     109          <seg>None</seg>
    127110          <seg>None</seg>
    128111          <seg>
    129             /usr/lib/python&python3-majorver;/site-packages/asciidoc and
    130             /usr/lib/python&python3-majorver;/site-packages/asciidoc-&asciidoc-version;.dist-info
     112            /usr/lib/python&python3-majorver;/site-packages/snowballstemmer and
     113            /usr/lib/python&python3-majorver;/site-packages/snowballstemmer-&snowballstemmer-version;.dist-info
    131114          </seg>
    132115        </seglistitem>
     
    143126            <para>
    144127              is a toolchain manager for AsciiDoc
    145               (converts Asciidoc text files to other file formats)
     128              (converts Snowballstemmer text files to other file formats)
    146129            </para>
    147             <indexterm zone="asciidoc a2x">
     130            <indexterm zone="snowballstemmer a2x">
    148131              <primary sortas="b-a2x">a2x</primary>
    149132            </indexterm>
     
    151134        </varlistentry>
    152135
    153         <varlistentry id="asciidoc-prog">
    154           <term><command>asciidoc</command></term>
     136        <varlistentry id="snowballstemmer-prog">
     137          <term><command>snowballstemmer</command></term>
    155138          <listitem>
    156139            <para>
    157140              converts an AsciiDoc text file to HTML or DocBook
    158141            </para>
    159             <indexterm zone="asciidoc asciidoc-prog">
    160               <primary sortas="b-asciidoc-prog">asciidoc</primary>
     142            <indexterm zone="snowballstemmer snowballstemmer-prog">
     143              <primary sortas="b-snowballstemmer-prog">snowballstemmer</primary>
    161144            </indexterm>
    162145          </listitem>
Note: See TracChangeset for help on using the changeset viewer.