aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 14:21:32 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 14:49:24 +0000
commit5921d834ff9d7a21466a3893e6ffbae1a28d415d (patch)
tree02078235d08dba4eefb37bce0e4d7887a42c5d7c
parent6294dcb1e0e7c47e6fa3a494725db117a92e8cc4 (diff)
downloadports-5921d834ff9d7a21466a3893e6ffbae1a28d415d.tar.gz
ports-5921d834ff9d7a21466a3893e6ffbae1a28d415d.zip
devel/py-python-distutils-extra: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
-rw-r--r--devel/py-python-distutils-extra/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/devel/py-python-distutils-extra/Makefile b/devel/py-python-distutils-extra/Makefile
index 456d460b6957..33d10508ea6f 100644
--- a/devel/py-python-distutils-extra/Makefile
+++ b/devel/py-python-distutils-extra/Makefile
@@ -1,9 +1,10 @@
PORTNAME= python-distutils-extra
PORTVERSION= 3.0
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= DEBIAN
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= ${PORTNAME}_${PORTVERSION}
+DISTNAME= python-distutils-extra_${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Add support for i18n, documentation, and icons to distutils
@@ -12,10 +13,13 @@ WWW= https://salsa.debian.org/python-team/packages/python-distutils-extra
LICENSE= GPLv2
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 tar:xz
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}
+WRKSRC= ${WRKDIR}/python-distutils-extra
.include <bsd.port.mk>