git: b558b94535ff - main - security/py-tuf: Fix build with setuptools 61.0.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 03 Jun 2022 14:00:44 UTC
The branch main has been updated by sunpoet:

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

commit b558b94535ffeee1318c061e2a0d2c151345631c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-03 13:58:21 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-03 13:59:17 +0000

    security/py-tuf: Fix build with setuptools 61.0.0+
    
    With hat:       python
---
 security/py-tuf/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/security/py-tuf/Makefile b/security/py-tuf/Makefile
index 513edd695d58..0b12568ae617 100644
--- a/security/py-tuf/Makefile
+++ b/security/py-tuf/Makefile
@@ -24,4 +24,7 @@ NO_ARCH=	yes
 
 PYTEST_BROKEN_TESTS=	test_cleanup TestRepoExamples # uses files missing from pypi distribution
 
+post-patch:
+	@${RM} ${WRKSRC}/pyproject.toml
+
 .include <bsd.port.mk>