Automatic merge of trunk into multilib

This commit is contained in:
Thomas Trepl (Moody) 2022-04-18 05:45:10 +02:00
commit 1937fe0c15
9 changed files with 184 additions and 0 deletions

View File

@ -3078,6 +3078,44 @@
</seglistitem>
</segmentedlist>
<!-- Begin Wheel dependency info -->
<bridgehead renderas="sect2" id="wheel-dep">wheel</bridgehead>
<segmentedlist id="wheel-depends">
<segtitle>&dependencies;</segtitle>
<seglistitem>
<seg>Python</seg>
</seglistitem>
</segmentedlist>
<segmentedlist id="wheel-rundeps">
<segtitle>&runtime;</segtitle>
<seglistitem>
<seg>Python</seg>
</seglistitem>
</segmentedlist>
<segmentedlist id="wheel-testdeps">
<segtitle>&testsuites;</segtitle>
<seglistitem>
<seg>No test suite available</seg>
</seglistitem>
</segmentedlist>
<segmentedlist id="wheel-before">
<segtitle>&before;</segtitle>
<seglistitem>
<seg>Jinja2</seg>
</seglistitem>
</segmentedlist>
<segmentedlist id="wheel-optdeps">
<segtitle>&external;</segtitle>
<seglistitem>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<!-- Begin XML::Parser dependency info -->
<bridgehead renderas="sect2" id="xml-parser-dep">XML::Parser</bridgehead>

View File

@ -40,6 +40,15 @@
appropriate for the entry or if needed the entire day's listitem.
-->
<listitem>
<para>2022-04-15</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Add wheel-0.37.1 (Python module).</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>2022-04-15</para>
<itemizedlist>

View File

@ -280,6 +280,9 @@
<itemizedlist>
<title>Added:</title>
<listitem><para></para></listitem> <!-- satisfy build -->
<listitem>
<para>Wheel-&wheel-version;</para>
</listitem>
<listitem>
<para>&xz-upstream-fix-patch;</para>
</listitem>

View File

@ -793,6 +793,15 @@
</listitem>
</varlistentry>
<varlistentry>
<term>Wheel (&wheel-version;) - <token>&wheel-size;</token>:</term>
<listitem>
<para>Home page: <ulink url="&wheel-home;"/></para>
<para>Download: <ulink url="&wheel-url;"/></para>
<para>MD5 sum: <literal>&wheel-md5;</literal></para>
</listitem>
</varlistentry>
<varlistentry>
<term>XML::Parser (&xml-parser-version;) - <token>&xml-parser-size;</token>:</term>
<listitem>

View File

@ -64,6 +64,7 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libelf.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libffi.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="python.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wheel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ninja.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="meson.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="coreutils.xml"/>

View File

@ -92,6 +92,18 @@
<screen><userinput remap="install">make install</userinput></screen>
<para>In serveral places we use the <command>pip3</command> command to
install Python 3 programs and modules for all users as root. This conflicts
with the Python developers recommendation to build packages in a virtual
environment as a regular user. To this end, a multi-line warning is
written when using <command>pip3</command> as the root user. If desired,
supress this warning by running the following command:</para>
<screen><userinput remap="install">sed -e '/def warn_if_run_as_root/a\ return' \
-i /usr/lib/python3.10/site-packages/pip/_internal/cli/req_command.py
</userinput></screen>
<para>If desired, install the preformatted documentation:</para>
<screen><userinput remap="install">install -v -dm755 /usr/share/doc/python-&python-version;/html

95
chapter08/wheel.xml Normal file
View File

@ -0,0 +1,95 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!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;
]>
<sect1 id="ch-system-wheel" role="wrap">
<?dbhtml filename="wheel.html"?>
<sect1info condition="script">
<productname>wheel</productname>
<productnumber>&wheel-version;</productnumber>
<address>&wheel-url;</address>
</sect1info>
<title>wheel-&wheel-version;</title>
<indexterm zone="ch-system-wheel">
<primary sortas="a-wheel">wheel</primary>
</indexterm>
<sect2 role="package">
<title/>
<para>Wheel is a Python library that implements the reference
implementation of the Python wheel packaging standard.</para>
<segmentedlist>
<segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle>
<seglistitem>
<seg>&wheel-fin-sbu;</seg>
<seg>&wheel-fin-du;</seg>
</seglistitem>
</segmentedlist>
</sect2>
<sect2 role="installation">
<title>Installation of Wheel</title>
<para>Install wheel with the following command:</para>
<screen><userinput remap="install">pip3 install --no-index $PWD</userinput></screen>
<variablelist>
<title>The meaning of the pip3 options:</title>
<varlistentry>
<term><command>install</command></term>
<listitem>
<para>Install the package</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>--no-index</parameter></term>
<listitem>
<para>Prevent pip from fetching files from the online package
repository (PyPI). If packages are installed in the correct order,
then it won't need to fetch any files in the first place, but this
option adds some safety in case of user error.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>$PWD</parameter></term>
<listitem>
<para>Look for files to install in the current working directory.</para>
</listitem>
</varlistentry>
</variablelist>
</sect2>
<sect2 id="contents-wheel" role="content">
<title>Contents of Wheel</title>
<segmentedlist>
<segtitle>Installed module</segtitle>
<segtitle>Installed directory</segtitle>
<seglistitem>
<seg>wheel.py</seg>
<seg>/usr/lib/python&python-minor;/site-packages/wheel</seg>
</seglistitem>
</segmentedlist>
</sect2>
</sect1>

View File

@ -740,6 +740,15 @@
<!ENTITY vim-fin-du "206 MB">
<!ENTITY vim-fin-sbu "2.4 SBU">
<!-- From https://files.pythonhosted.org/packages/c0/6c/9f840c2e55b67b90745af06a540964b73589256cb10cc10057c87ac78fc2/wheel-0.37.1.tar.gz -->
<!ENTITY wheel-version "0.37.1">
<!ENTITY wheel-size "65 KB">
<!ENTITY wheel-url "&anduin-sources;/wheel-&wheel-version;.tar.gz">
<!ENTITY wheel-md5 "f490f1399e5903706cb1d4fbed9ecb28">
<!ENTITY wheel-home "https://pypi.org/project/wheel/">
<!ENTITY wheel-fin-du "268 KB">
<!ENTITY wheel-fin-sbu "less than 0.1 SBU">
<!ENTITY xml-parser-version "2.46">
<!ENTITY xml-parser-size "249 KB">
<!ENTITY xml-parser-url "https://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-&xml-parser-version;.tar.gz">

View File

@ -592,6 +592,14 @@
partitions, and messages.</para>
</listitem>
<listitem>
<para>Wheel</para>
<para>This package contains a Python module that is the
reference implementation of the Python wheel packaging standard.
</para>
</listitem>
<listitem>
<para>Vim</para>