aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-04-08 20:13:31 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-04-08 20:16:49 +0000
commite3df0868951132767b9bc2e8a2b8def86fc2f253 (patch)
treece31c82eaf563195f423e1dd1c23e4ef64297d28
parentd9cd2c030e031514144c04b277c65dda8f96ffd5 (diff)
downloadports-e3df0868951132767b9bc2e8a2b8def86fc2f253.tar.gz
ports-e3df0868951132767b9bc2e8a2b8def86fc2f253.zip
devel/py-filemagic: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
-rw-r--r--devel/py-filemagic/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/py-filemagic/Makefile b/devel/py-filemagic/Makefile
index 05dd5f71ac7d..639862b36952 100644
--- a/devel/py-filemagic/Makefile
+++ b/devel/py-filemagic/Makefile
@@ -1,5 +1,6 @@
PORTNAME= filemagic
PORTVERSION= 1.6
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +12,12 @@ WWW= https://filemagic.readthedocs.io/en/latest/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes