git: 0bdf3184b8ed - main - UPDATING: simplify py311->py312 rename with pkg set -p

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Thu, 25 Jun 2026 13:02:05 UTC
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0bdf3184b8ed7f0430dcbc7f84534c2dc12d0982

commit 0bdf3184b8ed7f0430dcbc7f84534c2dc12d0982
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2026-06-25 06:37:57 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2026-06-25 12:45:58 +0000

    UPDATING: simplify py311->py312 rename with pkg set -p
    
    Replace the shell loop with a single pkg set -p -n command.
---
 UPDATING | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/UPDATING b/UPDATING
index bbbfa1df98c0..cdc12f3b27ed 100644
--- a/UPDATING
+++ b/UPDATING
@@ -15,8 +15,7 @@ you update your ports collection, before attempting any port upgrades.
   add DEFAULT_VERSIONS+= python=3.11 to make.conf
 
   With packages, the following may ease the process:
-  # sh
-  # for i in $(pkg query -g %n 'py311-*'); do pkg set -yn ${i}:py312-${i#py311-}; done
+  # pkg set -p -n py311-:py312-
   # pkg upgrade
 
   If no longer required, Python 3.11 can be removed via