From nobody Wed May 08 07:05:11 2024 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VZ5kc1hpkz5KTfy for ; Wed, 08 May 2024 07:05:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VZ5kc125Mz4lBF; Wed, 8 May 2024 07:05:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715151912; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mAgFN4u4tETmM8DcFq8rKioMGaDQoz5XEDigPw0raXE=; b=Bo3w+SU9W8kK+67Qme5p0QyUTJhn8+sAg3hO6OmKXBd3vQzQd+MznTuKowW6/qpcLMby2r 8aYO2KviblYEggZ7Zb5ZzilgkrjUaALNZxHuMbcrsS4Xm7k2wjPbAVYtSLpdXBRb/xmG6n Jzlh1zXTwvLBiA/BBYLhM68uOn0ppWotQe3Kfo+woqBk5L/sTizKKhuRC1tQDchkb7hNit K3yM/fQAtWz1pQG/00l7tSGtXhHAJbrgHesVcNIu6KP0RW/T+D8qCRqfJTN4UJjXtJSpfg BYU7OyEd9cJhrz4N8aV2cTiqADKBHjGvRiQ0W0X887aeZsPxW1xcKfSso2LFAA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715151912; a=rsa-sha256; cv=none; b=xFk8gLlqYKlJ0BnKQZn1uEq8t6W2PgrfAcUvp3En986M65rnghtRiG5Stcz7/WuXQkliPP PoRUbp/QKqOB/EaKb8GEmpCT+/JLDuapG9cHmxNjsKE2QIP52DlstTBmMCl0rp2iu8J7WR cryjK4qC52fK9SdNRRrGsxttX4LLS2VeogxKdVu3fadoAQ/0XuLYSoLLjwNsEnvZP2p32u KbtN/rQFUU2vckmczYD7UUY/PFscfQ9hT1PorimyrRG92Ta+45PPAn7y4YQzVtMVmk1FsA EndIe8kgwtJ58UlbVE5uZg8yxcg8MP7YDaV4Fg3ss6hfUKFRyUnVhlqfCH++9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715151912; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mAgFN4u4tETmM8DcFq8rKioMGaDQoz5XEDigPw0raXE=; b=tWyHBJKl0D4oq3WuwEVSGkV5rv42j5soflPOpEjJAyB8befmLgNM31pdN8+S41ZiLsp+vU mCE/ft1PDnG2TPm3UuRrT/IAG4Jp6m2/u+1OSnuVIDEcS6yuOFMLBkkXqiyHmWFxa6zpdi kA8uXFbWk5tthbbtdH4h7D31fNmUhjDW9ej0SrxqG+MkapABHpWB0MOQLMTTGQHXWhlUl+ kiUpEG6DePCyTgop2pT1pFpoLtBSaEAT4iHjsOatT49Y/616Q9znHQiaHSamrvVZ1vIPHJ /L6nUcl1N70UjK96F01UUTzW290+9I0MNTOXkFh5/UvRAABZ1swCvBaBknPyZQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VZ5kc0SvFzFgq; Wed, 8 May 2024 07:05:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44875BQA071371; Wed, 8 May 2024 07:05:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44875BJY071368; Wed, 8 May 2024 07:05:11 GMT (envelope-from git) Date: Wed, 8 May 2024 07:05:11 GMT Message-Id: <202405080705.44875BJY071368@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Mathieu Arnold Subject: git: 005838951d - main - phb: modernize some python bits List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mat X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 005838951d2789aa028db39aa97619e193ebace6 Auto-Submitted: auto-generated The branch main has been updated by mat: URL: https://cgit.FreeBSD.org/doc/commit/?id=005838951d2789aa028db39aa97619e193ebace6 commit 005838951d2789aa028db39aa97619e193ebace6 Author: Daniel Engberg AuthorDate: 2024-05-08 06:56:25 +0000 Commit: Mathieu Arnold CommitDate: 2024-05-08 06:56:56 +0000 phb: modernize some python bits PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276796 --- documentation/content/en/books/porters-handbook/uses/_index.adoc | 4 ++-- documentation/content/en/books/porters-handbook/uses/_index.po | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc index c571a7d15a..ce23b68af7 100644 --- a/documentation/content/en/books/porters-handbook/uses/_index.adoc +++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc @@ -1692,7 +1692,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 <>, and the goal is only to fix the shebangs but not add a dependency on Python. [[uses-qmail]] @@ -1929,7 +1929,7 @@ Correct paths for supported interpreters are available in `_interp__CMD`. [TIP] ==== -When used with <>, 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 <>, 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 <>, 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 <>, 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