git: 98d543f46221 - main - devel/py-pep517: Fix 7a9b907dc7ebe19d040714bb6a5e7f910d1b9ba8
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 Aug 2022 10:50:19 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=98d543f462211d4fc4cee5010205329f0a8273d4
commit 98d543f462211d4fc4cee5010205329f0a8273d4
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-08-27 10:48:56 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-08-27 10:50:04 +0000
devel/py-pep517: Fix 7a9b907dc7ebe19d040714bb6a5e7f910d1b9ba8
---
devel/py-pep517/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/devel/py-pep517/Makefile b/devel/py-pep517/Makefile
index 814a6db978af..2203ded09ee1 100644
--- a/devel/py-pep517/Makefile
+++ b/devel/py-pep517/Makefile
@@ -26,4 +26,7 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-me
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:textproc/py-tomli@${PY_FLAVOR}
.endif
+post-patch:
+ @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
+
.include <bsd.port.post.mk>