git: 0410966da030 - main - devel/py-editdistance: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Jun 2023 07:19:31 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0410966da030cc7c3f907c7193d92f9f4ffee5b3
commit 0410966da030cc7c3f907c7193d92f9f4ffee5b3
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-30 07:03:28 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-30 07:03:28 +0000
devel/py-editdistance: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
---
devel/py-editdistance/Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/devel/py-editdistance/Makefile b/devel/py-editdistance/Makefile
index ca0c27721c27..35041398f347 100644
--- a/devel/py-editdistance/Makefile
+++ b/devel/py-editdistance/Makefile
@@ -1,5 +1,6 @@
PORTNAME= editdistance
PORTVERSION= 0.6.2
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,11 @@ WWW= https://github.com/roy-ht/editdistance
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
USES= python
-USE_PYTHON= autoplist concurrent cython distutils
+USE_PYTHON= autoplist concurrent cython pep517
post-patch:
# https://github.com/roy-ht/editdistance/blob/master/editdistance/bycython.pyx