I hate git, let's add missing files.

This commit is contained in:
Zeckmathederg 2024-08-16 02:17:25 -06:00
parent 78c4f82738
commit 38333a3c3a
3 changed files with 364 additions and 0 deletions

View File

@ -0,0 +1,134 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 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 cython-download-http "https://github.com/cython/cython/releases/download/&cython-version;-1/cython-&cython-version;.tar.gz">
<!ENTITY cython-download-ftp " ">
]>
<sect1 id="cython" xreflabel="Cython-&cython-version;">
<?dbhtml filename="cython.html"?>
<title>Cython-&mako-version;</title>
<indexterm zone="cython">
<primary sortas="a-cython">cython</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Cython</title>
<para>
The <application>Cython</application> package provides a compiler for
writing C extensions for the <application>Python</application> language.
</para>
&lfs121_checked;
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&cython-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&cython-download-ftp;"/>
</para>
</listitem>
</itemizedlist>
</sect2>
<sect2 role="installation">
<title>Installation of Cython</title>
<para>
Build the module:
</para>
<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $PWD</userinput></screen>
<para>
Install the module 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 Cython</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
cydbg, cython, and cythonize
</seg>
<seg>
None
</seg>
<seg>
/usr/lib/python&python3-majorver;/site-packages/Cython,
/usr/lib/python&python3-majorver;/site-packages/Cython-&cython-version;.dist-info,
and /usr/lib/python&python3-majorver;/site-packages/pyximport
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="cydbg">
<term><command>cydbg</command></term>
<listitem>
<para>
is the <application>Cython</application> debugger
</para>
<indexterm zone="cython cydbg">
<primary sortas="c-cydbg">cydbg</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="cython-bin">
<term><command>cython</command></term>
<listitem>
<para>
is a compiler for code written in the <application>Cython
</application> language. It outputs a C/C++ program which can be
compiled with a C/C++ compiler
</para>
<indexterm zone="cython cython-bin">
<primary sortas="c-cython-bin">cython-bin</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="cythonize">
<term><command>cythonize</command></term>
<listitem>
<para>
is a compiler for code written in the <application>Cython
</application> language. It outputs an extension module which is
directly importable from <application>Python</application>
</para>
<indexterm zone="cython cythonize">
<primary sortas="c-cythonize">cythonize</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

View File

@ -0,0 +1,137 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 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 yaml-download-http "https://github.com/yaml/libyaml/releases/download/&yaml-version;/yaml-&yaml-version;.tar.gz">
<!ENTITY yaml-download-ftp " ">
]>
<sect1 id="libyaml" xreflabel="libyaml-&yaml-version;">
<?dbhtml filename="libyaml.html"?>
<title>libyaml-&yaml-version;</title>
<indexterm zone="libyaml">
<primary sortas="a-libyaml">libyaml</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libyaml</title>
<para>
The <application>yaml</application> package contains a C
library for parsing and emitting YAML (YAML Ain't Markup
Language) code.
</para>
&lfs121_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&yaml-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&yaml-download-ftp;"/>
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">libyaml Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<ulink url="&blfs-svn;/general/doxygen.html">Doxygen</ulink>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of libyaml</title>
<para>
Install <application>libyaml</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
make</userinput></screen>
<!--
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
cmake -D CMAKE_INSTALL_PREFIX=/usr \
-D BUILD_SHARED_LIBS=true \
-D CMAKE_BUILD_TYPE=RELEASE .. &amp;&amp;
make</userinput></screen> -->
<para>
To test the results, issue: <command>make check</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
libyaml.so
</seg>
<seg>
None
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libyaml-lib">
<term><filename class="libraryfile">libyaml.so</filename></term>
<listitem>
<para>
contains API functions for parsing and emitting YAML code
</para>
<indexterm zone="libyaml libyaml-lib">
<primary sortas="c-libyaml">libyaml.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

View File

@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 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 pyyaml-download-http "https://files.pythonhosted.org/packages/source/P/PyYAML/pyyaml-&pyyaml-version;.tar.gz">
<!ENTITY pyyaml-download-ftp " ">
]>
<sect1 id="pyyaml" xreflabel="PyYAML-&pyyaml-version;">
<?dbhtml filename="pyyaml.html"?>
<title>PyYAML-&pyyaml-version;</title>
<indexterm zone="pyyaml">
<primary sortas="a-pyyaml">pyyaml</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to PyYAML</title>
<para>
<application>PyYAML</application> is a Python module that implements the
next generation YAML parser and emitter.
</para>
&lfs121_checked;
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&pyyaml-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&pyyaml-download-ftp;"/>
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">PyYAML Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="cython"/> and <xref linkend="libyaml"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of PyYAML</title>
<para>
Build the module:
</para>
<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $PWD</userinput></screen>
<para>
Install the module 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 PyYAML</userinput></screen>
</sect2>
<sect2 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/PyYAML-&pyyaml-version;.dist-info
</seg>
</seglistitem>
</segmentedlist>
</sect2>
</sect1>