git: c936b0e90eaa - main - security/py-python-gnupg: Update version 0.4.7=>0.5.1

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 07 Dec 2023 05:13:03 UTC
The branch main has been updated by bofh:

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

commit c936b0e90eaa81a31616057f4335977fb5d51fd0
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-12-06 19:04:52 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-07 05:12:48 +0000

    security/py-python-gnupg: Update version 0.4.7=>0.5.1
    
    Changelog: https://github.com/vsajip/python-gnupg/releases/tag/0.5.1
    
    PR:             275574
    Approved by:    christer.edwards@gmail.com (maintainer)
---
 security/py-python-gnupg/Makefile | 6 ++++--
 security/py-python-gnupg/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/security/py-python-gnupg/Makefile b/security/py-python-gnupg/Makefile
index 1cfd71386dee..873d56821f0a 100644
--- a/security/py-python-gnupg/Makefile
+++ b/security/py-python-gnupg/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	python-gnupg
-DISTVERSION=	0.4.7
+DISTVERSION=	0.5.1
 CATEGORIES=	security python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +11,12 @@ WWW=		https://docs.red-dove.com/python-gnupg/
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>=0.15.2:devel/py-coverage@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes
 
diff --git a/security/py-python-gnupg/distinfo b/security/py-python-gnupg/distinfo
index 22184610e248..25facfaa1bad 100644
--- a/security/py-python-gnupg/distinfo
+++ b/security/py-python-gnupg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1621617359
-SHA256 (python-gnupg-0.4.7.tar.gz) = 2061f56b1942c29b92727bf9aecbd3cea3893acc9cccbdc7eb4604285efe4ac7
-SIZE (python-gnupg-0.4.7.tar.gz) = 53091
+TIMESTAMP = 1701883445
+SHA256 (python-gnupg-0.5.1.tar.gz) = 5674bad4e93876c0b0d3197e314d7f942d39018bf31e2b833f6788a6813c3fb8
+SIZE (python-gnupg-0.5.1.tar.gz) = 64377