diff --git a/security/py-krb5/Makefile b/security/py-krb5/Makefile index 2878a0e79c2e..504fc24d4529 100644 --- a/security/py-krb5/Makefile +++ b/security/py-krb5/Makefile @@ -1,34 +1,33 @@ PORTNAME= krb5 -PORTVERSION= 0.7.0 -PORTREVISION= 1 +PORTVERSION= 0.7.1 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Kerberos API bindings for Python WWW= https://github.com/jborean93/pykrb5 LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42.0.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} USES= python ssl USE_PYTHON= autoplist concurrent cython pep517 MAKE_ENV= KRB5_KRB5CONFIG=${KRB5CONFIG} OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT OPTIONS_DEFAULT=GSSAPI_BASE GSSAPI_BASE_USES= gssapi GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_MIT_USES= gssapi:mit post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/security/py-krb5/distinfo b/security/py-krb5/distinfo index 2105366de641..0ae3e79988f0 100644 --- a/security/py-krb5/distinfo +++ b/security/py-krb5/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1728632468 -SHA256 (krb5-0.7.0.tar.gz) = 6a308f2e17d151c395b24e6aec7bdff6a56fe3627a32042fc86d412398a92ddd -SIZE (krb5-0.7.0.tar.gz) = 235693 +TIMESTAMP = 1742070460 +SHA256 (krb5-0.7.1.tar.gz) = ed5f13d5031489b10d8655c0ada28a81c2391b3ecb8a08c6d739e1e5835bc450 +SIZE (krb5-0.7.1.tar.gz) = 235732 diff --git a/security/py-krb5/files/patch-cython b/security/py-krb5/files/patch-cython deleted file mode 100644 index 6bfdddadba97..000000000000 --- a/security/py-krb5/files/patch-cython +++ /dev/null @@ -1,51 +0,0 @@ -Obtained from: https://github.com/jborean93/pykrb5/commit/3caba43693520001ba6847ecbc1b378ea344a68f - ---- src/krb5/_set_password.pyi.orig 2024-10-03 06:17:02 UTC -+++ src/krb5/_set_password.pyi -@@ -1,3 +1,8 @@ -+# Copyright: (c) 2024 Jordan Borean (@jborean93) -+# MIT License (see LICENSE or https://opensource.org/licenses/MIT) -+ -+from __future__ import annotations -+ - import enum - import typing - -@@ -57,7 +62,7 @@ def set_password( - context: Context, - creds: Creds, - newpw: bytes, -- change_password_for: typing.Optional[Principal] = None, -+ change_password_for: Principal | None = None, - ) -> SetPasswordResult: - """Set a password for a principal using specified credentials. - -@@ -87,7 +92,7 @@ def set_password_using_ccache( - context: Context, - ccache: CCache, - newpw: bytes, -- change_password_for: typing.Optional[Principal] = None, -+ change_password_for: Principal | None = None, - ) -> SetPasswordResult: - """Set a password for a principal using cached credentials. - ---- src/krb5/_set_password.pyx.orig 2024-10-03 06:17:02 UTC -+++ src/krb5/_set_password.pyx -@@ -74,7 +74,7 @@ def set_password( - Context context not None, - Creds creds not None, - const unsigned char[:] newpw not None, -- change_password_for: typing.Optional[Principal] = None, -+ Principal change_password_for = None, - ) -> SetPasswordResult: - cdef krb5_error_code err = 0 - cdef int result_code -@@ -134,7 +134,7 @@ def set_password_using_ccache( - Context context not None, - CCache ccache not None, - const unsigned char[:] newpw not None, -- change_password_for: typing.Optional[Principal] = None, -+ Principal change_password_for = None, - ) -> SetPasswordResult: - cdef krb5_error_code err = 0 - cdef int result_code