Changeset 9209f7c


Ignore:
Timestamp:
01/23/2023 03:40:45 AM (15 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
51bec49
Parents:
7e24b60
git-author:
Xi Ruoyao <xry111@…> (01/23/2023 03:30:02 AM)
git-committer:
Xi Ruoyao <xry111@…> (01/23/2023 03:40:45 AM)
Message:

dbus-python: switch to pip build (#17547)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • general/prog/python-modules/dbus-python.xml

    r7e24b60 r9209f7c  
    99  <!ENTITY dbus-python-md5sum        "33be8a4a766e1c7c9a377b8f934ce21a">
    1010  <!ENTITY dbus-python-size          "592 KB">
    11   <!ENTITY dbus-python-buildsize     "4.7 MB (with tests)" >
    12   <!ENTITY dbus-python-time          "less than 0.1 SBU (with tests)">
     11  <!ENTITY dbus-python-buildsize     "4.0 MB" >
     12  <!ENTITY dbus-python-time          "less than 0.1 SBU">
    1313  <!ENTITY dbus-python-egg-info      "&python3-site;/dbus_python-&dbus-python-version;.egg-info">
    1414]>
     
    7171      <bridgehead renderas="sect5">Required</bridgehead>
    7272      <para role="required">
    73         <xref linkend="dbus"/> and
    74         <xref linkend="glib2"/>
     73        <xref linkend="dbus"/>,
     74        <xref linkend="glib2"/>,
     75        <xref linkend="meson_python"/>, and
     76        <xref linkend="patchelf"/>
    7577      </para>
    76 
     78<!--  no tests available yet
    7779      <bridgehead renderas="sect5">Optional</bridgehead>
    7880      <para role="optional">
     
    8183        (required for some tests)
    8284      </para>
    83 
     85-->
     86<!--  how to build the doc?
    8487      <bridgehead renderas="sect5">
    8588       Optional (Required to build the API and HTML Documentation)</bridgehead>
     
    8790        <xref linkend="sphinx_rtd_theme"/>
    8891      </para>
    89 
     92-->
    9093      <para condition="html" role="usernotes">User Notes:
    9194        <ulink url="&blfs-wiki;/dbus-python"/>
     
    97100
    98101      <para>
    99         Build the D-Bus Python module by running the following  commands:
     102        Build the D-Bus Python module by running the following command:
    100103      </para>
    101104
    102 <screen><userinput>mkdir build &amp;&amp;
    103 cd    build &amp;&amp;
    104 
    105 meson --prefix=/usr --buildtype=release .. &amp;&amp;
    106 ninja</userinput></screen>
     105<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
    107106
    108107      <para>
    109         To test the results, issue: <command>ninja test</command>.
     108        This package does not come with a test suite.
    110109      </para>
    111110
     
    114113      </para>
    115114
    116 <screen role="root"><userinput>ninja install &amp;&amp;
    117 cp -rv ../dbus_python.egg-info \
    118    -T  &dbus-python-egg-info;</userinput></screen>
     115<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user dbus-python</userinput></screen>
    119116
    120117    </sect3>
    121118
    122     <sect3 role="commands">
    123 
    124       <title>Command Explanations</title>
    125 
    126       <para>
    127         <command>cp -rv ... -T ...</command>: Install the metadata of this
    128         Python module so <command>pip3</command> will be able to find this
    129         module and use it as a dependency building and installing other
    130         modules.  <parameter>-T</parameter> is used to make this command
    131         behave properly in case that this module is reinstalled.
    132       </para>
    133 
    134     </sect3>
     119    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     120      href="../../../xincludes/pip3-cmd-explain.xml"/>
    135121
    136122    <sect3 role="content">
  • introduction/welcome/changelog.xml

    r7e24b60 r9209f7c  
    4343      <itemizedlist>
    4444        <listitem>
     45          <para>[xry111] - Use pip to install dbus-python.  Fixes
     46          <ulink url="&blfs-ticket-root;17547">#17547</ulink>.</para>
     47        </listitem>
     48        <listitem>
    4549          <para>[xry111] - Add meson_python-0.12.0
    4650          (Python dependencies). Part of
Note: See TracChangeset for help on using the changeset viewer.