FreeBSD Bugzilla – Attachment 248155 Details for
Bug 276796
Replace PYTHON_NO_DEPENDS=yes with USES=python:env in Porters Handbook
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for Porters Handbook
uses-python-env.patch (text/plain), 2.49 KB, created by
Daniel Engberg
on 2024-02-03 10:39:10 UTC
(
hide
)
Description:
Patch for Porters Handbook
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2024-02-03 10:39:10 UTC
Size:
2.49 KB
patch
obsolete
>diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc >index cd6aa1943c..e8ed407952 100644 >--- a/documentation/content/en/books/porters-handbook/uses/_index.adoc >+++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc >@@ -1690,7 +1690,7 @@ If Python is only needed at build time, run time or for the tests, it can be set > If Python is also needed during the patch phase, use `patch`. > See crossref:special[using-python, Using Python] for more information. > >-`PYTHON_NO_DEPENDS=yes` can be used when the variables exported by the framework are needed but a dependency on Python is not. >+`USES=python:env` can be used when the variables exported by the framework are needed but a dependency on Python is not. > 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. > > [[uses-qmail]] >@@ -1927,7 +1927,7 @@ Correct paths for supported interpreters are available in `_interp__CMD`. > > [TIP] > ==== >-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`. >+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. > ==== > > [[uses-shebangfix-ex-lua]] >diff --git a/documentation/content/en/books/porters-handbook/uses/_index.po b/documentation/content/en/books/porters-handbook/uses/_index.po >index c7618a006d..59f08e0103 100644 >--- a/documentation/content/en/books/porters-handbook/uses/_index.po >+++ b/documentation/content/en/books/porters-handbook/uses/_index.po >@@ -4715,7 +4715,7 @@ msgstr "" > #. type: Plain text > #: documentation/content/en/books/porters-handbook/uses/_index.adoc:1695 > msgid "" >-"`PYTHON_NO_DEPENDS=yes` can be used when the variables exported by the " >+"`USES=python:env` can be used when the variables exported by the " > "framework are needed but a dependency on Python is not. 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." >@@ -5242,7 +5242,7 @@ msgstr "" > msgid "" > "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`." >+"`USES=python:env` instead." > msgstr "" > > #. type: Block title
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 276796
: 248155