glfs/general/prog/python-dependencies/pyparsing.xml

128 lines
3.9 KiB
XML
Raw Normal View History

2022-10-03 04:50:11 +08:00
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../../general.ent">
%general-entities;
<!ENTITY pyparsing-download-http "https://github.com/pyparsing/pyparsing/releases/download/pyparsing_&pyparsing-version;/pyparsing-&pyparsing-version;.tar.gz">
2022-10-03 04:50:11 +08:00
<!ENTITY pyparsing-download-ftp " ">
<!ENTITY pyparsing-md5sum "fadc2f3bf5872bf6310576a86c3566e0">
<!ENTITY pyparsing-size "1.9 MB">
2022-10-03 04:50:11 +08:00
<!ENTITY pyparsing-buildsize "2.6 MB">
<!ENTITY pyparsing-time "less than 0.1 SBU">
]>
<sect2 id="pyparsing" xreflabel="pyparsing-&pyparsing-version;">
<title>pyparsing-&pyparsing-version;</title>
2022-10-03 04:50:11 +08:00
<indexterm zone="pyparsing">
<primary sortas="a-pyparsing">pyparsing</primary>
</indexterm>
<sect3 role="package">
<title>Introduction to pyparsing Module</title>
2022-10-03 04:50:11 +08:00
<para>
The <application>pyparsing</application> module is an alternative
approach to creating and executing simple grammars, vs. the
traditional lex/yacc approach, or the use of regular expressions.
It provides a library of classes that client code uses to construct
the grammar directly in Python code.
2022-10-03 04:50:11 +08:00
</para>
&lfs112_checked;
<bridgehead renderas="sect4">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&pyparsing-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&pyparsing-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &pyparsing-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &pyparsing-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &pyparsing-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &pyparsing-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect4">pyparsing Dependencies</bridgehead>
2022-10-03 04:50:11 +08:00
<bridgehead renderas="sect5">Required</bridgehead>
<para role="required">
2022-10-10 04:03:26 +08:00
<xref linkend="flit"/>
</para>
<bridgehead renderas="sect5">Optional</bridgehead>
2022-10-03 04:50:11 +08:00
<para role="optional">
<xref linkend="Jinja2"/> and
<ulink url="https://pypi.org/project/railroad-diagrams/">railroad-diagrams</ulink>
2022-10-03 04:50:11 +08:00
</para>
</sect3>
<sect3 role="installation">
<title>Installation of pyparsing</title>
2022-10-03 04:50:11 +08:00
<para> Build the module: </para>
<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user pyparsing</userinput></screen>
</sect3>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../../xincludes/pip3-cmd-explain.xml"/>
<sect3 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>None</seg>
<seg>None</seg>
<seg>
/usr/lib/python&python3-majorver;/site-packages/pyparsing and
/usr/lib/python&python3-majorver;/site-packages/pyparsing-&pyparsing-version;.dist-info
</seg>
</seglistitem>
</segmentedlist>
</sect3>
</sect2>