git: 17bcf0ebe952 - main - mail/py-notmuch2: Fix value of PKGNAMESUFFIX

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Wed, 02 Sep 2026 16:41:46 UTC
The branch main has been updated by jrm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=17bcf0ebe952d831f19518bbf83065b3fc72d184

commit 17bcf0ebe952d831f19518bbf83065b3fc72d184
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2026-09-02 16:02:16 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2026-09-02 16:41:09 +0000

    mail/py-notmuch2: Fix value of PKGNAMESUFFIX
    
    In commit db96db170fc4, the value of PKGNAMESUFFIX was accidentally
    changed from 2 to 0.  Fix this by setting it back to the correct value,
    2, which renames the package back to py*-notmuch2.
    
    Bump PORTREVISION, so the renamed package is reinstalled with a
    corrected plist.
    
    PR:             298122
    Reported by:    John Hein <jcfyecrayz@liamekaens.com>
    Fixes:          db96db170fc4 (mail/notmuch*: Update to 0.34.2)
    Sponsored by:   The FreeBSD Foundation
---
 UPDATING                  | 17 +++++++++++++++++
 mail/py-notmuch2/Makefile |  4 ++--
 2 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/UPDATING b/UPDATING
index 209afe717cb2..1787210c68b2 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,23 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20260902:
+  AFFECTS: users of mail/py-notmuch2
+  AUTHOR: jrm@FreeBSD.org
+
+  The package built from mail/py-notmuch2 has been renamed from
+  py312-notmuch0 to py312-notmuch2 to match the upstream name of the
+  CFFI-based Python bindings.  The 0 suffix was an editing error
+  introduced in 2021.  The port origin is unchanged, but installed
+  packages will not be upgraded automatically across the rename.  If
+  py312-notmuch0 is installed, run
+
+	pkg set -n py312-notmuch0:py312-notmuch2
+
+  before your next upgrade, or deinstall the old package and install
+  mail/py-notmuch2 again.  Substitute the py312 prefix if you use a
+  different Python version.
+
 20260830:
   AFFECTS: users of www/nginx-module-lua
   AUTHOR: joneum@FreeBSD.org
diff --git a/mail/py-notmuch2/Makefile b/mail/py-notmuch2/Makefile
index 7d115ee744b5..5ef1adf384ea 100644
--- a/mail/py-notmuch2/Makefile
+++ b/mail/py-notmuch2/Makefile
@@ -1,7 +1,7 @@
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-PKGNAMESUFFIX=	0
+PKGNAMESUFFIX=	2
 
 COMMENT=	Pythonic bindings for the notmuch mail database using CFFI