mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
dbus-python: switch to pip build (#17547)
This commit is contained in:
parent
7e24b60bf0
commit
9209f7c10a
@ -8,8 +8,8 @@
|
|||||||
<!ENTITY dbus-python-download-ftp " ">
|
<!ENTITY dbus-python-download-ftp " ">
|
||||||
<!ENTITY dbus-python-md5sum "33be8a4a766e1c7c9a377b8f934ce21a">
|
<!ENTITY dbus-python-md5sum "33be8a4a766e1c7c9a377b8f934ce21a">
|
||||||
<!ENTITY dbus-python-size "592 KB">
|
<!ENTITY dbus-python-size "592 KB">
|
||||||
<!ENTITY dbus-python-buildsize "4.7 MB (with tests)" >
|
<!ENTITY dbus-python-buildsize "4.0 MB" >
|
||||||
<!ENTITY dbus-python-time "less than 0.1 SBU (with tests)">
|
<!ENTITY dbus-python-time "less than 0.1 SBU">
|
||||||
<!ENTITY dbus-python-egg-info "&python3-site;/dbus_python-&dbus-python-version;.egg-info">
|
<!ENTITY dbus-python-egg-info "&python3-site;/dbus_python-&dbus-python-version;.egg-info">
|
||||||
]>
|
]>
|
||||||
|
|
||||||
@ -70,23 +70,26 @@
|
|||||||
|
|
||||||
<bridgehead renderas="sect5">Required</bridgehead>
|
<bridgehead renderas="sect5">Required</bridgehead>
|
||||||
<para role="required">
|
<para role="required">
|
||||||
<xref linkend="dbus"/> and
|
<xref linkend="dbus"/>,
|
||||||
<xref linkend="glib2"/>
|
<xref linkend="glib2"/>,
|
||||||
|
<xref linkend="meson_python"/>, and
|
||||||
|
<xref linkend="patchelf"/>
|
||||||
</para>
|
</para>
|
||||||
|
<!-- no tests available yet
|
||||||
<bridgehead renderas="sect5">Optional</bridgehead>
|
<bridgehead renderas="sect5">Optional</bridgehead>
|
||||||
<para role="optional">
|
<para role="optional">
|
||||||
<xref linkend="pygobject3"/> and
|
<xref linkend="pygobject3"/> and
|
||||||
<ulink url="https://pypi.python.org/pypi/tap.py/">tap.py</ulink>
|
<ulink url="https://pypi.python.org/pypi/tap.py/">tap.py</ulink>
|
||||||
(required for some tests)
|
(required for some tests)
|
||||||
</para>
|
</para>
|
||||||
|
-->
|
||||||
|
<!-- how to build the doc?
|
||||||
<bridgehead renderas="sect5">
|
<bridgehead renderas="sect5">
|
||||||
Optional (Required to build the API and HTML Documentation)</bridgehead>
|
Optional (Required to build the API and HTML Documentation)</bridgehead>
|
||||||
<para role="optional">
|
<para role="optional">
|
||||||
<xref linkend="sphinx_rtd_theme"/>
|
<xref linkend="sphinx_rtd_theme"/>
|
||||||
</para>
|
</para>
|
||||||
|
-->
|
||||||
<para condition="html" role="usernotes">User Notes:
|
<para condition="html" role="usernotes">User Notes:
|
||||||
<ulink url="&blfs-wiki;/dbus-python"/>
|
<ulink url="&blfs-wiki;/dbus-python"/>
|
||||||
</para>
|
</para>
|
||||||
@ -96,42 +99,25 @@
|
|||||||
<title>Installation of D-Bus Python</title>
|
<title>Installation of D-Bus Python</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Build the D-Bus Python module by running the following commands:
|
Build the D-Bus Python module by running the following command:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen><userinput>mkdir build &&
|
<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
|
||||||
cd build &&
|
|
||||||
|
|
||||||
meson --prefix=/usr --buildtype=release .. &&
|
|
||||||
ninja</userinput></screen>
|
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
To test the results, issue: <command>ninja test</command>.
|
This package does not come with a test suite.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Now install the module as the &root; user:
|
Now install the module as the &root; user:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen role="root"><userinput>ninja install &&
|
<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user dbus-python</userinput></screen>
|
||||||
cp -rv ../dbus_python.egg-info \
|
|
||||||
-T &dbus-python-egg-info;</userinput></screen>
|
|
||||||
|
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
<sect3 role="commands">
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||||
|
href="../../../xincludes/pip3-cmd-explain.xml"/>
|
||||||
<title>Command Explanations</title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
<command>cp -rv ... -T ...</command>: Install the metadata of this
|
|
||||||
Python module so <command>pip3</command> will be able to find this
|
|
||||||
module and use it as a dependency building and installing other
|
|
||||||
modules. <parameter>-T</parameter> is used to make this command
|
|
||||||
behave properly in case that this module is reinstalled.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
</sect3>
|
|
||||||
|
|
||||||
<sect3 role="content">
|
<sect3 role="content">
|
||||||
<title>Contents</title>
|
<title>Contents</title>
|
||||||
|
@ -41,6 +41,10 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>January 22nd, 2023</para>
|
<para>January 22nd, 2023</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[xry111] - Use pip to install dbus-python. Fixes
|
||||||
|
<ulink url="&blfs-ticket-root;17547">#17547</ulink>.</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>[xry111] - Add meson_python-0.12.0
|
<para>[xry111] - Add meson_python-0.12.0
|
||||||
(Python dependencies). Part of
|
(Python dependencies). Part of
|
||||||
|
Loading…
Reference in New Issue
Block a user