Adjust and continue using entities fo rpip3 commands

This commit is contained in:
Bruce Dubbs 2023-09-10 15:01:56 -05:00
parent 9ec8e6a50d
commit 4395529877
5 changed files with 11 additions and 10 deletions

View File

@ -203,6 +203,9 @@ export -f as_root</userinput></screen>
<!ENTITY qt5-deps
"(<xref linkend='qt5'/> or <xref role='nodep' linkend='qt5-alternate'/>)">
<!ENTITY build-wheel '<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir .</userinput></screen>'>
<!ENTITY build-wheel-cmd "pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir">
<!ENTITY build-wheel "<screen><userinput>&build-wheel-cmd; $PWD</userinput></screen>">
<!ENTITY install-wheel "pip3 install --no-index --find-links=dist --no-cache-dir --no-user">
<!ENTITY install-wheel 'pip3 install --no-index --find-links=dist --no-cache-dir --no-user'>

View File

@ -119,14 +119,14 @@ make</userinput></screen>
</para>
<screen><userinput>cd .. &amp;&amp;
pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
&build-wheel-cmd; $PWD</userinput></screen>
<para>
Install the <application>Python3</application>
bindings as the &root; user:
</para>
<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user Brotli</userinput></screen>
<screen role="root"><userinput>&install-wheel; Brotli</userinput></screen>
</sect2>

View File

@ -361,8 +361,8 @@ ln -sfv /usr/lib/systemd $KF5_PREFIX/lib</userinput></screen>
# kapidox is a python module
case $name in
kapidox)
pip3 wheel -w dist --no-build-isolation --no-deps $PWD
as_root pip3 install --no-index --find-links dist --no-cache-dir --no-user kapidox
&build-wheel-cmd; $PWD
as_root &install-wheel; kapidox
popd
rm -rf $packagedir
continue

View File

@ -130,8 +130,7 @@ make PYTHONS=</userinput></screen>
<screen><userinput>if swig -version > /dev/null; then
srcdir=$PWD/../lang/python \
top_builddir=$PWD \
pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir \
$PWD/lang/python
&build-wheel-cmd; $PWD/lang/python
fi</userinput></screen>
<para>

View File

@ -100,8 +100,7 @@
--with-securedir=/usr/lib/security \
--disable-python-bindings &amp;&amp;
make &amp;&amp;
pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir \
$PWD/python</userinput></screen>
&build-wheel-cmd; $PWD/python</userinput></screen>
<para>
This package does not come with a test suite.