git: 3cdab4737f51 - main - devel/py-userpath: Fix build with setuptools 61.0.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 16 Apr 2022 04:22:50 UTC
The branch main has been updated by sunpoet:

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

commit 3cdab4737f5168a1abcffb635738bfc85ad80895
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-04-16 03:57:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-04-16 04:19:25 +0000

    devel/py-userpath: Fix build with setuptools 61.0.0+
---
 devel/py-userpath/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/devel/py-userpath/Makefile b/devel/py-userpath/Makefile
index a1fae0a48edb..e45f3e99c3d9 100644
--- a/devel/py-userpath/Makefile
+++ b/devel/py-userpath/Makefile
@@ -21,6 +21,7 @@ USE_PYTHON=	autoplist concurrent distutils
 NO_ARCH=	yes
 
 post-patch:
+	@${RM} ${WRKSRC}/pyproject.toml
 	@${CP} ${FILESDIR}/setup.py ${WRKSRC}/
 
 .include <bsd.port.mk>