View | Details | Raw Unified | Return to bug 276796
Collapse All | Expand All

(-)b/documentation/content/en/books/porters-handbook/uses/_index.adoc (-2 / +2 lines)
Lines 1690-1696 If Python is only needed at build time, run time or for the tests, it can be set Link Here
1690
If Python is also needed during the patch phase, use `patch`.
1690
If Python is also needed during the patch phase, use `patch`.
1691
See crossref:special[using-python, Using Python] for more information.
1691
See crossref:special[using-python, Using Python] for more information.
1692
1692
1693
`PYTHON_NO_DEPENDS=yes` can be used when the variables exported by the framework are needed but a dependency on Python is not.
1693
`USES=python:env` can be used when the variables exported by the framework are needed but a dependency on Python is not.
1694
It can happen when using with <<uses-shebangfix,`USES=shebangfix`>>, and the goal is only to fix the shebangs but not add a dependency on Python.
1694
It can happen when using with <<uses-shebangfix,`USES=shebangfix`>>, and the goal is only to fix the shebangs but not add a dependency on Python.
1695
1695
1696
[[uses-qmail]]
1696
[[uses-qmail]]
Lines 1927-1933 Correct paths for supported interpreters are available in `_interp__CMD`. Link Here
1927
1927
1928
[TIP]
1928
[TIP]
1929
====
1929
====
1930
When used with <<uses-python,`USES=python`>>, and the aim is only to fix the shebangs but a dependency on Python itself is not wanted, use `PYTHON_NO_DEPENDS=yes`.
1930
When used with <<uses-python,`USES=python`>>, and the aim is only to fix the shebangs but a dependency on Python itself is not wanted, use `USES=python:env` instead.
1931
====
1931
====
1932
1932
1933
[[uses-shebangfix-ex-lua]]
1933
[[uses-shebangfix-ex-lua]]
(-)b/documentation/content/en/books/porters-handbook/uses/_index.po (-2 / +2 lines)
Lines 4715-4721 msgstr "" Link Here
4715
#. type: Plain text
4715
#. type: Plain text
4716
#: documentation/content/en/books/porters-handbook/uses/_index.adoc:1695
4716
#: documentation/content/en/books/porters-handbook/uses/_index.adoc:1695
4717
msgid ""
4717
msgid ""
4718
"`PYTHON_NO_DEPENDS=yes` can be used when the variables exported by the "
4718
"`USES=python:env` can be used when the variables exported by the "
4719
"framework are needed but a dependency on Python is not.  It can happen when "
4719
"framework are needed but a dependency on Python is not.  It can happen when "
4720
"using with <<uses-shebangfix,`USES=shebangfix`>>, and the goal is only to "
4720
"using with <<uses-shebangfix,`USES=shebangfix`>>, and the goal is only to "
4721
"fix the shebangs but not add a dependency on Python."
4721
"fix the shebangs but not add a dependency on Python."
Lines 5242-5248 msgstr "" Link Here
5242
msgid ""
5242
msgid ""
5243
"When used with <<uses-python,`USES=python`>>, and the aim is only to fix the "
5243
"When used with <<uses-python,`USES=python`>>, and the aim is only to fix the "
5244
"shebangs but a dependency on Python itself is not wanted, use "
5244
"shebangs but a dependency on Python itself is not wanted, use "
5245
"`PYTHON_NO_DEPENDS=yes`."
5245
"`USES=python:env` instead."
5246
msgstr ""
5246
msgstr ""
5247
5247
5248
#. type: Block title
5248
#. type: Block title

Return to bug 276796