From 76293baf0f273fd4e517d3c6063af3798d9ce83a Mon Sep 17 00:00:00 2001
From: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
Date: Wed, 3 May 2023 00:20:21 +0800
Subject: [PATCH] security/py-pyspnego: Update to 0.9.0

- Convert to USE_PYTHON=pep517

Changes:	https://github.com/jborean93/pyspnego/releases
---
 security/py-pyspnego/Makefile | 8 +++++---
 security/py-pyspnego/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/security/py-pyspnego/Makefile b/security/py-pyspnego/Makefile
index fb4c44f3eeb8..6bafe00d2fcc 100644
--- a/security/py-pyspnego/Makefile
+++ b/security/py-pyspnego/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pyspnego
-PORTVERSION=	0.8.0
+PORTVERSION=	0.9.0
 CATEGORIES=	security python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +11,12 @@ WWW=		https://github.com/jborean93/pyspnego
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography>=0,1:security/py-cryptography@${PY_FLAVOR}
 
 USES=		python:3.7+
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/security/py-pyspnego/distinfo b/security/py-pyspnego/distinfo
index bb105694c005..5098518c785a 100644
--- a/security/py-pyspnego/distinfo
+++ b/security/py-pyspnego/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1677771357
-SHA256 (pyspnego-0.8.0.tar.gz) = e0499cc066c56762f8a315bb053243d34240cb85e384afc6b87b4fa0142543df
-SIZE (pyspnego-0.8.0.tar.gz) = 222900
+TIMESTAMP = 1682903110
+SHA256 (pyspnego-0.9.0.tar.gz) = 3f10ca7a2f0d5170c2032bb5d55183384208314032aa44c1684d6920d50e97de
+SIZE (pyspnego-0.9.0.tar.gz) = 233612
-- 
GitLab