git: b4cb90cbafdf - main - security/py-krb5: Update to 0.8.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 30 Sep 2025 10:58:40 UTC
The branch main has been updated by sunpoet:

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

commit b4cb90cbafdf451eb5c349639dcf9c96941493e2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-09-30 10:44:21 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-09-30 10:51:03 +0000

    security/py-krb5: Update to 0.8.0
    
    Changes:        https://github.com/jborean93/pykrb5/releases
---
 security/py-krb5/Makefile                            |  4 ++--
 security/py-krb5/distinfo                            |  6 +++---
 security/py-krb5/files/patch-pyproject.toml          | 10 ++++++++++
 security/py-krb5/files/patch-src-krb5-_principal.pyi | 10 +++++-----
 4 files changed, 20 insertions(+), 10 deletions(-)

diff --git a/security/py-krb5/Makefile b/security/py-krb5/Makefile
index 504fc24d4529..4e3347a350d3 100644
--- a/security/py-krb5/Makefile
+++ b/security/py-krb5/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	krb5
-PORTVERSION=	0.7.1
+PORTVERSION=	0.8.0
 CATEGORIES=	security python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +15,7 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=42.0.0:devel/py-setuptools@${P
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 
 USES=		python ssl
-USE_PYTHON=	autoplist concurrent cython pep517
+USE_PYTHON=	autoplist concurrent cython3 pep517
 
 MAKE_ENV=	KRB5_KRB5CONFIG=${KRB5CONFIG}
 
diff --git a/security/py-krb5/distinfo b/security/py-krb5/distinfo
index 0ae3e79988f0..a24b53c1c653 100644
--- a/security/py-krb5/distinfo
+++ b/security/py-krb5/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1742070460
-SHA256 (krb5-0.7.1.tar.gz) = ed5f13d5031489b10d8655c0ada28a81c2391b3ecb8a08c6d739e1e5835bc450
-SIZE (krb5-0.7.1.tar.gz) = 235732
+TIMESTAMP = 1757436543
+SHA256 (krb5-0.8.0.tar.gz) = daaf580cf563a2435cc889d4a0692e02c5788e1eb91f0246d56114cf4f08ba1c
+SIZE (krb5-0.8.0.tar.gz) = 235540
diff --git a/security/py-krb5/files/patch-pyproject.toml b/security/py-krb5/files/patch-pyproject.toml
new file mode 100644
index 000000000000..b3fe07055245
--- /dev/null
+++ b/security/py-krb5/files/patch-pyproject.toml
@@ -0,0 +1,10 @@
+--- pyproject.toml.orig	2025-09-01 04:40:28 UTC
++++ pyproject.toml
+@@ -1,6 +1,6 @@ requires = [
+ [build-system]
+ requires = [
+-    "Cython == 3.1.3",
++    "Cython >= 3.1.3",
+     "setuptools >= 42.0.0",  # Supports license_files
+ ]
+ build-backend = "setuptools.build_meta"
diff --git a/security/py-krb5/files/patch-src-krb5-_principal.pyi b/security/py-krb5/files/patch-src-krb5-_principal.pyi
index 2efafadd135c..9a101d37eb8b 100644
--- a/security/py-krb5/files/patch-src-krb5-_principal.pyi
+++ b/security/py-krb5/files/patch-src-krb5-_principal.pyi
@@ -1,10 +1,10 @@
---- src/krb5/_principal.pyi.orig	2022-08-08 21:14:44 UTC
+--- src/krb5/_principal.pyi.orig	2025-09-01 04:40:28 UTC
 +++ src/krb5/_principal.pyi
 @@ -13,7 +13,6 @@ class PrincipalParseFlags(enum.IntEnum):
-     no_realm: PrincipalParseFlags = ...  #: Error if realm is present
-     require_realm: PrincipalParseFlags = ...  #: Error if realm is not present
-     enterprise: PrincipalParseFlags = ...  #: Create single-component enterprise principal
--    ignore_realm: PrincipalParseFlags = ...  #: Ignore realm if present
+     no_realm = ...  #: Error if realm is present
+     require_realm = ...  #: Error if realm is not present
+     enterprise = ...  #: Create single-component enterprise principal
+-    ignore_realm = ...  #: Ignore realm if present
  
  class PrincipalUnparseFlags(enum.IntEnum):
      """Flags used to control :meth:`unparse_name_flags`."""