Add a couple of tips about PYTHON_NO_DEPENDS.
Sponsored by: Absolight
This commit is contained in:
parent
d8bbe8549d
commit
5f14237994
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=50928
1 changed files with 16 additions and 0 deletions
|
@ -2483,6 +2483,14 @@ USE_PYQT= core doc_build designer_run</programlisting>
|
|||
run or test dependency with <literal>build</literal>,
|
||||
<literal>run</literal>, or <literal>test</literal>. See
|
||||
<xref linkend="using-python"/> for more information.</para>
|
||||
|
||||
<para><literal>PYTHON_NO_DEPENDS=yes</literal> can be used when
|
||||
the variables exported by the framework are needed but a
|
||||
dependency on <application>Python</application> is not. It can
|
||||
happen when using with <link
|
||||
linkend="uses-shebangfix"><literal>USES=shebangfix</literal></link>,
|
||||
and the goal is only to fix the shebangs but not add a
|
||||
dependency on <application>Python</application>.</para>
|
||||
</sect1>
|
||||
|
||||
<sect1 xml:id="uses-qmail">
|
||||
|
@ -2718,6 +2726,14 @@ USE_PYQT= core doc_build designer_run</programlisting>
|
|||
<literal><replaceable>interp</replaceable>_CMD</literal>.</para>
|
||||
</important>
|
||||
|
||||
<tip>
|
||||
<para>When used with <link
|
||||
linkend="uses-python"><literal>USES=python</literal></link>,
|
||||
and the aim is only to fix the shebangs but a dependency on
|
||||
<application>Python</application> itself is not wanted, use
|
||||
<literal>PYTHON_NO_DEPENDS=yes</literal>.</para>
|
||||
</tip>
|
||||
|
||||
<example xml:id="uses-shebangfix-ex-lua">
|
||||
<title>Adding Another Interpreter to
|
||||
<literal>USES=shebangfix</literal></title>
|
||||
|
|
Loading…
Reference in a new issue