Changeset fcd909d
- Timestamp:
- 04/18/2022 03:15:36 PM (2 years ago)
- Branches:
- xry111/clfs-ng
- Children:
- b1df1d7
- Parents:
- b826273 (diff), 4b51d83b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Files:
-
- 1 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
appendices/dependencies.xml
rb826273 rfcd909d 3079 3079 </segmentedlist> 3080 3080 3081 <!-- Begin Wheel dependency info --> 3082 <bridgehead renderas="sect2" id="wheel-dep">wheel</bridgehead> 3083 3084 <segmentedlist id="wheel-depends"> 3085 <segtitle>&dependencies;</segtitle> 3086 <seglistitem> 3087 <seg>Python</seg> 3088 </seglistitem> 3089 </segmentedlist> 3090 3091 <segmentedlist id="wheel-rundeps"> 3092 <segtitle>&runtime;</segtitle> 3093 <seglistitem> 3094 <seg>Python</seg> 3095 </seglistitem> 3096 </segmentedlist> 3097 3098 <segmentedlist id="wheel-testdeps"> 3099 <segtitle>&testsuites;</segtitle> 3100 <seglistitem> 3101 <seg>No test suite available</seg> 3102 </seglistitem> 3103 </segmentedlist> 3104 3105 <segmentedlist id="wheel-before"> 3106 <segtitle>&before;</segtitle> 3107 <seglistitem> 3108 <seg>Jinja2</seg> 3109 </seglistitem> 3110 </segmentedlist> 3111 3112 <segmentedlist id="wheel-optdeps"> 3113 <segtitle>&external;</segtitle> 3114 <seglistitem> 3115 <seg>None</seg> 3116 </seglistitem> 3117 </segmentedlist> 3118 3081 3119 <!-- Begin XML::Parser dependency info --> 3082 3120 <bridgehead renderas="sect2" id="xml-parser-dep">XML::Parser</bridgehead> -
chapter01/changelog.xml
rb826273 rfcd909d 45 45 <itemizedlist> 46 46 <listitem> 47 <para>[bdubbs] - Add wheel-0.37.1 (Python module).</para> 48 </listitem> 49 </itemizedlist> 50 </listitem> 51 52 <listitem> 53 <para>2022-04-15</para> 54 <itemizedlist> 55 <listitem> 47 56 <para>[ken] - Patch Xz for a security fix. Fixes 48 57 <ulink url="&lfs-ticket-root;5047">#5047</ulink>.</para> -
chapter01/whatsnew.xml
rb826273 rfcd909d 282 282 <listitem><para></para></listitem> <!-- satisfy build --> 283 283 <listitem> 284 <para>Wheel-&wheel-version;</para> 285 </listitem> 286 <listitem> 284 287 <para>&xz-upstream-fix-patch;</para> 285 288 </listitem> -
chapter03/packages.xml
rb826273 rfcd909d 786 786 787 787 <varlistentry> 788 <term>Wheel (&wheel-version;) - <token>&wheel-size;</token>:</term> 789 <listitem> 790 <para>Home page: <ulink url="&wheel-home;"/></para> 791 <para>Download: <ulink url="&wheel-url;"/></para> 792 <para>MD5 sum: <literal>&wheel-md5;</literal></para> 793 </listitem> 794 </varlistentry> 795 796 <varlistentry> 788 797 <term>XML::Parser (&xml-parser-version;) - <token>&xml-parser-size;</token>:</term> 789 798 <listitem> -
chapter08/chapter08.xml
rb826273 rfcd909d 64 64 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libffi.xml"/> 65 65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="python.xml"/> 66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wheel.xml"/> 66 67 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ninja.xml"/> 67 68 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="meson.xml"/> -
chapter08/jinja2.xml
rb826273 rfcd909d 41 41 <title>Installation of Jinja2</title> 42 42 43 <para>Build the package:</para> 44 45 <screen><userinput remap="install">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> 46 43 47 <para>Install the package:</para> 44 48 45 <screen><userinput remap="install">p ython3 setup.py install --optimize=1</userinput></screen>49 <screen><userinput remap="install">pip3 install --no-index --find-links dist Jinja2</userinput></screen> 46 50 47 51 </sect2> … … 51 55 52 56 <segmentedlist> 53 <segtitle>Installed director ies</segtitle>57 <segtitle>Installed directory</segtitle> 54 58 55 59 <seglistitem> 56 <seg>/usr/lib/python&python-minor;/site-packages/Jinja2-&jinja2-version;-py&python-minor;.egg</seg> 60 <seg> 61 /usr/lib/python&python-minor;/site-packages/Jinja2-&jinja2-version;.dist-info 62 </seg> 57 63 </seglistitem> 58 64 </segmentedlist> -
chapter08/markupsafe.xml
rb826273 rfcd909d 43 43 <para>Compile MarkupSafe with the following command:</para> 44 44 45 <screen><userinput remap="make">p ython3 setup.py build</userinput></screen>45 <screen><userinput remap="make">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> 46 46 47 47 <para>This package does not come with a test suite.</para> … … 49 49 <para>Install the package:</para> 50 50 51 <screen><userinput remap="install">p ython3 setup.py install --optimize=1</userinput></screen>51 <screen><userinput remap="install">pip3 install --no-index --find-links dist Markupsafe</userinput></screen> 52 52 53 53 </sect2> … … 60 60 61 61 <seglistitem> 62 <!-- Suffix "-linux-<arch>" is different from meson and jinja: 63 This package contains binary code (compiled from C), but meson 64 and jinja only contain Python code. --> 65 <seg>/usr/lib/python&python-minor;/site-packages/MarkupSafe-&markupsafe-version;-py&python-minor;-linux-<replaceable><arch></replaceable>.egg</seg> 62 <seg> 63 /usr/lib/python&python-minor;/site-packages/MarkupSafe-&markupsafe-version;.dist-info 64 </seg> 66 65 </seglistitem> 67 66 </segmentedlist> -
chapter08/meson.xml
rb826273 rfcd909d 55 55 <para>Compile Meson with the following command:</para> 56 56 57 <screen><userinput remap="make">p ython3 setup.py build</userinput></screen>57 <screen><userinput remap="make">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> 58 58 59 59 <para>The test suite requires some packages out of the scope of LFS.</para> … … 61 61 <para>Install the package:</para> 62 62 63 <screen><userinput remap="install">python3 setup.py install --root=dest 64 cp -rv dest/* / 63 <screen><userinput remap="install">pip3 install --no-index --find-links dist meson 65 64 install -vDm644 data/shell-completions/bash/meson /usr/share/bash-completion/completions/meson 66 65 install -vDm644 data/shell-completions/zsh/_meson /usr/share/zsh/site-functions/_meson</userinput></screen> … … 70 69 71 70 <varlistentry> 72 <term><parameter>- -root=dest</parameter></term>71 <term><parameter>-w dist</parameter></term> 73 72 <listitem> 74 <para>By default <command>python3 setup.py install</command> 75 installs various files (such as man pages) into Python Eggs. 76 With a specified root location, <command>setup.py</command> installs 77 these files into a standard hierarchy. Then the hierarchy 78 can just be copied to the standard location. 79 </para> 73 <para>Put the created wheels into the 74 <filename class='directory'>dist</filename> directory.</para> 75 </listitem> 76 </varlistentry> 77 78 <varlistentry> 79 <term><parameter>--find-links dist</parameter></term> 80 <listitem> 81 <para>Install wheels from the 82 <filename class='directory'>dist</filename> directory.</para> 80 83 </listitem> 81 84 </varlistentry> … … 93 96 <seglistitem> 94 97 <seg>meson</seg> 95 < !-- We are using DESTDIR installation here, so the directory layout96 is different than other Python modules in LFS97 (Jinja2 & MarkupSafe). -->98 < seg>/usr/lib/python&python-minor;/site-packages/meson-&meson-version;-py&python-minor;.egg-info and /usr/lib/python&python-minor;/site-packages/mesonbuild</seg>98 <seg> 99 /usr/lib/python&python-minor;/site-packages/meson-&meson-version;.dist-info and 100 /usr/lib/python&python-minor;/site-packages/mesonbuild 101 </seg> 99 102 </seglistitem> 100 103 </segmentedlist> -
chapter08/python.xml
rb826273 rfcd909d 92 92 93 93 <screen><userinput remap="install">make install</userinput></screen> 94 95 <para>In serveral places we use the <command>pip3</command> command to 96 install Python 3 programs and modules for all users as 97 <systemitem class='username'>root</systemitem>. This conflicts 98 with the Python developers recommendation to install packages into a 99 virtual environment or the home directory of a regular user (by running 100 <command>pip3</command> as this user). To this end, a multi-line warning 101 is written when using <command>pip3</command> as the 102 <systemitem class='username'>root</systemitem> user. The main reason 103 of this recommendation is for avoiding a conflict with the system 104 package manager (<command>dpkg</command> for example), but LFS does not 105 have a system-wide package manager so this is not a problem. If desired, 106 suppress this warning by running the following command:</para> 107 108 <screen><userinput remap="install">sed -e '/def warn_if_run_as_root/a\ return' \ 109 -i /usr/lib/python3.10/site-packages/pip/_internal/cli/req_command.py 110 </userinput></screen> 111 94 112 95 113 <para>If desired, install the preformatted documentation:</para> -
packages.ent
rb826273 rfcd909d 740 740 <!ENTITY vim-fin-sbu "2.4 SBU"> 741 741 742 <!-- From https://files.pythonhosted.org/packages/c0/6c/9f840c2e55b67b90745af06a540964b73589256cb10cc10057c87ac78fc2/wheel-0.37.1.tar.gz --> 743 <!ENTITY wheel-version "0.37.1"> 744 <!ENTITY wheel-size "65 KB"> 745 <!ENTITY wheel-url "&anduin-sources;/wheel-&wheel-version;.tar.gz"> 746 <!ENTITY wheel-md5 "f490f1399e5903706cb1d4fbed9ecb28"> 747 <!ENTITY wheel-home "https://pypi.org/project/wheel/"> 748 <!ENTITY wheel-fin-du "268 KB"> 749 <!ENTITY wheel-fin-sbu "less than 0.1 SBU"> 750 742 751 <!ENTITY xml-parser-version "2.46"> 743 752 <!ENTITY xml-parser-size "249 KB"> -
prologue/why.xml
rb826273 rfcd909d 594 594 595 595 <listitem> 596 <para>Wheel</para> 597 598 <para>This package contains a Python module that is the 599 reference implementation of the Python wheel packaging standard. 600 </para> 601 </listitem> 602 603 <listitem> 596 604 <para>Vim</para> 597 605
Note:
See TracChangeset
for help on using the changeset viewer.